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.

Bug 11232 - Navigator toolbar broken
Summary: Navigator toolbar broken
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 blocker (vote)
Assignee: jrojcek
URL:
Keywords:
: 12817 15166 16942 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-04-09 19:12 UTC by Randy DeFauw
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Word document with screen shot (106.50 KB, application/octet-stream)
2001-07-20 20:42 UTC, Randy DeFauw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy DeFauw 2001-04-09 19:12:02 UTC
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
Comment 1 Svata Dedic 2001-04-09 20:21:18 UTC
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 ?
Comment 2 Randy DeFauw 2001-04-09 20:52:59 UTC
Created attachment 1054 [details]
Word document with screen shot
Comment 3 Randy DeFauw 2001-04-09 20:54:34 UTC
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)
Comment 4 Svata Dedic 2001-04-10 06:46:26 UTC
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.
Comment 5 Svata Dedic 2001-04-10 08:20:46 UTC
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.
Comment 6 Svata Dedic 2001-04-12 16:13:55 UTC
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
Comment 7 Svata Dedic 2001-04-18 14:46:23 UTC
found duplicate
Comment 8 Svata Dedic 2001-04-18 14:50:30 UTC

*** This issue has been marked as a duplicate of 11457 ***
Comment 9 Svata Dedic 2001-04-18 16:02:50 UTC
Already merged to 3.2
Comment 10 Randy DeFauw 2001-04-18 17:11:42 UTC
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.
Comment 11 Svata Dedic 2001-04-18 18:58:11 UTC
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.
Comment 12 Jan Chalupa 2001-05-05 23:20:15 UTC
Target milestone -> 3.3
Comment 13 Svata Dedic 2001-09-06 15:41:57 UTC
*** Issue 15166 has been marked as a duplicate of this issue. ***
Comment 14 Svata Dedic 2001-09-10 18:26:44 UTC
*** Issue 12817 has been marked as a duplicate of this issue. ***
Comment 15 Svata Dedic 2001-10-08 14:05:30 UTC
Jano, please help -- if you know about a suitable Layout Manager (or 
other solution).
Comment 16 jrojcek 2001-10-08 15:51:06 UTC
Fixed in dev 20011008.
Comment 17 Svata Dedic 2001-10-25 12:57:18 UTC
*** Issue 16942 has been marked as a duplicate of this issue. ***
Comment 18 Jan Becicka 2002-06-27 11:01:45 UTC
VERIFIED
Comment 19 Quality Engineering 2003-07-01 13:15:57 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.