This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
On some source files, the navigator toolbar drop-down displays odd behavior. When activated, the drop-down will display a list above the editor toolbar, instead of below it. When the list appears above the toolbar, you can only see a few entries and can not scroll through it. I haven't been able to determine a pattern as to which source files it works on. Its roughly half of the source files I work on, and it doesn't seem to matter if the file has been recently built or not. WinNT 4.0, 3.2 beta 24
Please try to experiment with it - neither I or my colleagues have seen this behaviour. Is the editor tall enough for holding the whole drop-down box (there may be problem with lightweight/heavyweight components). Does it matter whether the editor toolbar is at the top of screen, near the bottom (or any other placement style) ? Do you use SDI or MDI user interface ? Did you observe similar behaviour at some other places in the IDE ? Where ? What JDK (vendor, version) do you use ?
Created attachment 1054 [details] Word document with screen shot
I believe I have found a common pattern where the navigator drop-down misbehaves: -- In the cases where the drop-down behaves badly, I do not see the 'arrow' icon that denotes the right edge of the drop-down. This leads me to believe that the contents of the drop-down are too wide for the editor. I set my "Java Elements" descriptors to be quite long. For each method, I print out the complete list of argument names, exceptions, etc. (I use {m} {n}({a,,,","}) {e,throws , ,","} {r,:, } for methods.) For the source files where the drop- down misbehaves, I believe that one or more of the method signatures is becoming wider than the editor window. For some reason this causes the drop- down to misbehave. In answer to your other questions... The editor is big enough to hold the drop-down. (See attached screen shot.) I'm not sure about toolbar placement. Right now its at the top of the editor window, and I don't know how to move it elsewhere. I use MDI interface. I have not seen this behavior in other places. Here is the output of "java -version": java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Thank you for the screenshot. But to actually view it, I need to steal my colleague's windows box for a while. Please do *not* use nonportable formats in Issuezilla. For screenshots, .jpg or .png is recommended for its size; of course, any other standardized graphic format (this disqualifies *.wmf) is OK as well.
Verified -- the bug seems to happen whenever a combo box whose right portion is off-screen is trying to open its drop-down list. Swing libraries try to display as much as possible, but do not help too much here. I can somewhat help by restricting the extent of the toolbar to the editor's width (apparently not done here), but there may be other places in the IDE that could suffer from the same behaviour. Definitely not a P-2 bug, however.
Although I was not able to reproduce it reliably, I've disabled possible duplicate attempts to synchronize editor with the toolbar. It should be fixed in the main trunk. Pending merge to 3.2
found duplicate
*** This issue has been marked as a duplicate of 11457 ***
Already merged to 3.2
This is definitely not a duplicate of 11457. 11457 deals with the navigator causing the cursor to always jump around. 11232 deals with the navigator drop-down not displaying correctly sometimes, if there is a method signature in the drop-down that is too long. If you need more information, please let me know, but these two bugs are completely different issues.
Oops, sorry. I'll try to handle it properly - after I figure out how to limit the combo size so it is not too small. Sorry.
Target milestone -> 3.3
*** Issue 15166 has been marked as a duplicate of this issue. ***
*** Issue 12817 has been marked as a duplicate of this issue. ***
Jano, please help -- if you know about a suitable Layout Manager (or other solution).
Fixed in dev 20011008.
*** Issue 16942 has been marked as a duplicate of this issue. ***
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.