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 24170 - Java Editor toolbar jumps during opening and during changes in the Java code
Summary: Java Editor toolbar jumps during opening and during changes in the Java code
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2002-05-29 09:45 UTC by iformanek
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2002-05-29 09:45:07 UTC
During opening of the Java file the Java source combo goes 
from: "<no sele..." to "<no selection>" which changes the 
width of the Java combo and position of the toolbar 
actions behind it.

The same happens with changes in the Java source which 
change the methods/classes hierarchy.

Suggest to use fixed width of the combo box.
Comment 1 Miloslav Metelka 2002-06-06 09:28:54 UTC
UI team suggested fixed width of 220 pixels.
Fixed in java module:

Checking in NavigateAction.java;
/cvs/java/src/org/netbeans/modules/java/ui/actions/NavigateAction.java,v
 <--  NavigateAction.java
new revision: 1.10; previous revision: 1.9
done
Comment 2 mfatafnm 2003-01-13 15:38:45 UTC
I would like to suggest an alternate solution to a fixed 
width of 220 pixels (about 25-30 characters).  
Specifically, why not move the drop-down to the top-right 
of the editor?  That way the extant toolbar buttons do not 
move during editor operation.  In addition, it allows 
users with large screens (e.g. 1280x1024) to take 
advantage of that by being able to see long identifier 
names in the drop-down.  This would solve both of the 
supposedly conflicting issues.
Comment 3 Vitezslav Stejskal 2003-06-12 10:13:43 UTC
Fixed width is bad, i.e. causing problems when larger fonts are used.
IMO better solution would be to move combobox on separate toolbar
strip and allow user to change its position and width according to her
needs. Of course the reasonable values for default position and width
would be precomputed.
Comment 4 Gabriel Tichy 2003-11-28 10:38:54 UTC
If the larger font is the issue, let use fixed characters width then: 
25x width of big 'M' depending on set font size.
Comment 5 Martin Roskanin 2003-11-28 12:31:40 UTC
NavigateAction is part of java module, reassigning.
Comment 6 psuk 2004-02-27 20:19:57 UTC
The symptom is fixed by fixed size, so the summary doesn't reflect the
bug.
New symptom is better described in  Issue 33949, so I'm closing this one.
Comment 7 Quality Engineering 2007-09-20 12:07:30 UTC
Reorganization of java component