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 17439 - Bad positioning of ToolBar
Summary: Bad positioning of ToolBar
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC All
: P4 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on: 42146
Blocks: 25396
  Show dependency tree
 
Reported: 2001-11-08 19:31 UTC by Petr Hrebejk
Modified: 2008-12-22 17:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hrebejk 2001-11-08 19:31:33 UTC
ToolBars should preserve ordering given in the toolbar definition .XML file.
It works as long as the toolbars are defined to be visible. But when the attribute
visible is set to false in the .XML file and the toolbar is then enabled in the 
popupmenu it is put on the beginning of the row. (i.e. it does not preserve it's
ordering). 
The bug is easily reproducible by enabling the "Memory" toolbar. It is listed as
last in the row, but when enabled it appears as first.
Comment 1 _ ttran 2001-11-22 22:06:53 UTC
Petr, want to take this one?
Comment 2 Jan Chalupa 2001-11-27 11:51:25 UTC
Target milestone -> 3.3.1.
Comment 3 Jan Chalupa 2001-11-27 11:54:48 UTC
Target milestone -> 3.3.1.
Comment 4 Peter Zavadsky 2001-12-13 10:19:16 UTC
Eval:

There is not kept indexing from the config files. It handled another
way  almost accidentally. It seems it would need a little redesign of
the internal data representation of the config file.
Comment 5 Jan Chalupa 2002-01-11 14:06:11 UTC
Target milestone -> 3.4
Comment 6 Jan Chalupa 2002-01-11 14:09:19 UTC
Target milestone -> 3.4
Comment 7 Jan Chalupa 2002-01-11 14:10:07 UTC
Target milestone -> 3.4
Comment 8 Jan Chalupa 2002-01-11 14:12:26 UTC
Target milestone -> 3.4
Comment 9 Petr Hrebejk 2002-02-18 16:50:31 UTC
Hmm, this can probably be solved after the toolbars are a "little
bit" rewritten.
According to Dafe Petr Zvadsky should be the responsible person for
this issue.
Comment 10 Peter Zavadsky 2002-07-04 14:44:44 UTC
Passing to Dafe, there is probably some task planning to redesign the
toolbars (this could be a duplicate of it).
Comment 11 David Simonek 2002-07-09 09:25:15 UTC
milestone -> 4.0, together with 25396
Comment 12 Marek Grummich 2002-07-22 08:59:16 UTC
Target milestone was changed from '3.4' to TBD.
Comment 13 Marek Grummich 2002-07-22 09:04:06 UTC
Target milestone was changed from '3.4' to TBD.
Comment 14 Marek Grummich 2002-07-22 09:06:34 UTC
Target milestone was changed from '3.4' to TBD.
Comment 15 Marek Grummich 2002-07-22 09:08:04 UTC
Set terget milestone to TBD
Comment 16 Marek Grummich 2002-07-22 09:11:32 UTC
Target milestone was changed from '3.4' to TBD.
Comment 17 Marek Grummich 2002-07-22 09:14:57 UTC
Set terget milestone to TBD
Comment 18 Marian Mirilovic 2002-11-13 15:31:07 UTC
changed owner Dafe -> Peter Z.
Comment 19 Peter Zavadsky 2002-12-02 14:01:55 UTC
Neverending story, this should be solved just by toolbars redesign.
Comment 20 Marian Mirilovic 2002-12-06 18:19:28 UTC
reassign to Tim, new owner of AWT/Swing
Comment 21 _ tboudreau 2002-12-11 01:25:31 UTC
Passing toolbar XML issues back to Marek per Dafe's request.
Comment 22 mslama 2004-04-19 14:53:38 UTC
Assigning to Tim
Comment 23 _ tboudreau 2004-04-26 12:32:07 UTC
<strong opinion>
Every toolbar added to an application reduces the value of all the other toolbars.  If there 
are more than 2-3, the app would probably be more usable with none, because you just 
end up with a big wad of cryptic toolbars.

Joel Spolsky has an interesting discussion of this in UI Design for Programmers, which I 
agree with completely; Apple's UI design guidelines make a similar point.

If we have to start thinking about toolbar ordering, the problem is we have way too many 
toolbars.  I should close this as WONTFIX, but will settle for making it a P5 enhancement.  
The work involved in no way justifies the resulting value, which primarily is to make it 
easier to, indeed to encode the assumption that it's normal to, have way too many 
toolbars.
</strong opinion>
Comment 24 Jan Chalupa 2004-11-01 16:50:30 UTC
Re-assigning Tim's issues to Dafe.
Comment 25 Stanislav Aubrecht 2005-04-27 07:23:24 UTC
all toolbars in netbeans version 4.1 remember their positions correctly when
being hidden/shown again - closing the issue.