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 100993 - Fix Window menu naming and ordering
Summary: Fix Window menu naming and ordering
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Mark Dey
URL:
Keywords:
: 101944 (view as bug list)
Depends on:
Blocks: 99509 104411
  Show dependency tree
 
Reported: 2007-04-13 16:08 UTC by jrojcek
Modified: 2007-05-21 14:09 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Window menu from latest nightly build (070425). (10.08 KB, image/png)
2007-04-25 14:08 UTC, jrojcek
Details
Window menu snapshot (232.46 KB, image/jpeg)
2007-04-26 17:30 UTC, Ch Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jrojcek 2007-04-13 16:08:02 UTC
This is a cross-team issue that need to be fixed for 6.0 M9. Please reassign to appropriate engineer(s).

The Window menu doesn't fit horizontally on the screen on 1024x768 screen resolution. On Windows 
XP, maximum of 32 menu items can fit in. This is not only the space issue, it's also about the number 
of items the user needs to scan and cmprehend in order to find the window the user wants to use.

Longterm we should be merging windows together (Properties, Mobility Properties; Navigator, 
Inspector, Mobility Inspector). For 6.0 we schould cluster items into submenus.

I assume that "Run-time Watches" and "Ruby Development" are utility windows for use by NB 
developers. Those windows should be removed from the build.

Recommendation:

| Window |
----------
Projects
Files
Runtime
Services
Favorites
Classes
Palette
Properties
To Do
Dynamic Help
Output                  > Output, Search Results, Find Usages Results, 
                          JUnit Test Results, Refactoring Preview
Navigating              > Navigator, Inspector, Mobility Inspector
Debugging               > + HTTP Monitor
Profiling               >
Versioning              >
Other                   > Declaration, Javadoc, Application Actions, 
                          Mobility Properties, BPEL Mapper, 
                          UML Documentation, UML Design Center, Ruby Shell
Editor
Processes
-------------------------
Close Window
Maximize Window
Undock Window
-------------------------
Clone Document
Close All Documents
Close Other Documents
Documents...
-------------------------
Reset Windows
Comment 1 Antonin Nebuzelsky 2007-04-16 16:57:37 UTC
Reassigning to Dafe.
Comment 2 David Simonek 2007-04-19 10:41:03 UTC
Work in progress, struggling with layers and TopologicalSort exceptions...
Comment 3 David Simonek 2007-04-19 14:42:41 UTC
I did what I could, btw it took me 2+ working days.

Checking in core/palette/src/org/netbeans/modules/palette/resources/layer.xml;
/cvs/core/palette/src/org/netbeans/modules/palette/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.13; previous revision: 1.12
done
Checking in debuggercore/src/org/netbeans/modules/debugger/resources/mf-layer.xml;
/cvs/debuggercore/src/org/netbeans/modules/debugger/resources/mf-layer.xml,v 
<--  mf-layer.xml
new revision: 1.79; previous revision: 1.78
done
Checking in openide/awt/src/org/openide/awt/Actions.java;
/cvs/openide/awt/src/org/openide/awt/Actions.java,v  <--  Actions.java
new revision: 1.19; previous revision: 1.18
done
Checking in core/favorites/src/org/netbeans/modules/favorites/resources/layer.xml;
/cvs/core/favorites/src/org/netbeans/modules/favorites/resources/layer.xml,v 
<--  layer.xml
new revision: 1.20; previous revision: 1.19
done
Checking in form/src/org/netbeans/modules/form/resources/layer.xml;
/cvs/form/src/org/netbeans/modules/form/resources/layer.xml,v  <--  layer.xml
new revision: 1.101; previous revision: 1.100
done
Checking in vcscore/src/org/netbeans/modules/vcscore/resources/mf-layer.xml;
/cvs/vcscore/src/org/netbeans/modules/vcscore/resources/mf-layer.xml,v  <-- 
mf-layer.xml
new revision: 1.50; previous revision: 1.49
done
Checking in core/windows/src/org/netbeans/core/windows/resources/layer.xml;
/cvs/core/windows/src/org/netbeans/core/windows/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.49; previous revision: 1.48
done
Checking in core/output2/src/org/netbeans/core/output2/layer.xml;
/cvs/core/output2/src/org/netbeans/core/output2/layer.xml,v  <--  layer.xml
new revision: 1.17; previous revision: 1.16
done
Checking in
java/navigation/src/org/netbeans/modules/java/navigation/resources/layer.xml;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/resources/layer.xml,v
 <--  layer.xml
new revision: 1.5; previous revision: 1.4
done
Checking in core/execution/src/org/netbeans/core/execution/resources/layer.xml;
/cvs/core/execution/src/org/netbeans/core/execution/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.30; previous revision: 1.29
done
Checking in junit/src/org/netbeans/modules/junit/resources/layer.xml;
/cvs/junit/src/org/netbeans/modules/junit/resources/layer.xml,v  <--  layer.xml
new revision: 1.51; previous revision: 1.50
done
Checking in core/tasklist/ui/src/org/netbeans/modules/tasklist/ui/layer.xml;
/cvs/core/tasklist/ui/src/org/netbeans/modules/tasklist/ui/layer.xml,v  <-- 
layer.xml
new revision: 1.2; previous revision: 1.1
done
Checking in monitor/src/org/netbeans/modules/web/monitor/resources/layer.xml;
/cvs/monitor/src/org/netbeans/modules/web/monitor/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.20; previous revision: 1.19
done
Checking in form/swingapp/src/org/netbeans/modules/swingapp/resources/layer.xml;
/cvs/form/swingapp/src/org/netbeans/modules/swingapp/resources/layer.xml,v  <--
 layer.xml
new revision: 1.4; previous revision: 1.3
done
Checking in
refactoring/api/src/org/netbeans/modules/refactoring/api/resources/layer.xml;
/cvs/refactoring/api/src/org/netbeans/modules/refactoring/api/resources/layer.xml,v
 <--  layer.xml
new revision: 1.12; previous revision: 1.11
done
Checking in core/navigator/src/org/netbeans/modules/navigator/resources/layer.xml;
/cvs/core/navigator/src/org/netbeans/modules/navigator/resources/layer.xml,v 
<--  layer.xml
new revision: 1.7; previous revision: 1.6
done
Checking in utilities/src/org/netbeans/modules/utilities/Layer.xml;
/cvs/utilities/src/org/netbeans/modules/utilities/Layer.xml,v  <--  Layer.xml
new revision: 1.89; previous revision: 1.88
done
Checking in core/progress/src/org/netbeans/progress/module/resources/layer.xml;
/cvs/core/progress/src/org/netbeans/progress/module/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.7; previous revision: 1.6
done
Comment 4 David Simonek 2007-04-19 15:07:41 UTC
added localization of new submenus:

Checking in core/output2/src/org/netbeans/core/output2/Bundle.properties;
/cvs/core/output2/src/org/netbeans/core/output2/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.15; previous revision: 1.14
done
Checking in core/output2/src/org/netbeans/core/output2/layer.xml;
/cvs/core/output2/src/org/netbeans/core/output2/layer.xml,v  <--  layer.xml
new revision: 1.18; previous revision: 1.17
done
Checking in core/navigator/src/org/netbeans/modules/navigator/Bundle.properties;
/cvs/core/navigator/src/org/netbeans/modules/navigator/Bundle.properties,v  <--
 Bundle.properties
new revision: 1.6; previous revision: 1.5
done
Checking in core/navigator/src/org/netbeans/modules/navigator/resources/layer.xml;
/cvs/core/navigator/src/org/netbeans/modules/navigator/resources/layer.xml,v 
<--  layer.xml
new revision: 1.8; previous revision: 1.7
done
Checking in
java/navigation/src/org/netbeans/modules/java/navigation/Bundle.properties;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.12; previous revision: 1.11
done
Checking in
java/navigation/src/org/netbeans/modules/java/navigation/resources/layer.xml;
/cvs/java/navigation/src/org/netbeans/modules/java/navigation/resources/layer.xml,v
 <--  layer.xml
new revision: 1.6; previous revision: 1.5
done
Comment 5 David Simonek 2007-04-19 15:17:15 UTC
what is not done and shoudl be fixed by other teams:

Services,
Classes,
Dynamic Help,
Profiling ->,
mobility actions,
BPEL actions,
UML actions.
Ruby actions.

Passing to mobility first, please reassign further after fixing, thanks.

Comment 6 jrojcek 2007-04-19 15:47:23 UTC
Thanks a lot Dafe! I can imagine how hard it was to do it. I think we should somehow simplify the way 
ordering is done in the implementation.

I'm also curious whether the current system works also if the user installs just some of the features.

Rising priority to P1. Please continue fixing Window menu for M9.
Comment 7 Torbjorn Norbye 2007-04-19 18:02:27 UTC
I have made the Ruby Shell change.  NOTE - can we have the IDE cluster somewhere define the "Other" 
menu?  Right now I needed to replicate the localization and positioning of the Other menu - and I 
assume the other modules in there will have to do that too. 

IDE:-------------------------------------------------
IDE: [4/19/07 9:59 AM] Committing started
Checking in nbproject/project.properties;
/cvs/scripting/ruby/projects/nbproject/project.properties,v  <--  project.properties
new revision: 1.52; previous revision: 1.51
done
Checking in src/org/netbeans/modules/ruby/rubyproject/ui/resources/Bundle.properties;
/cvs/scripting/ruby/projects/src/org/netbeans/modules/ruby/rubyproject/ui/resources/
Bundle.properties,v  <--  Bundle.properties
new revision: 1.2; previous revision: 1.1
done
Checking in src/org/netbeans/modules/ruby/rubyproject/ui/resources/layer.xml;
/cvs/scripting/ruby/projects/src/org/netbeans/modules/ruby/rubyproject/ui/resources/layer.xml,v  
<--  layer.xml
new revision: 1.11; previous revision: 1.10
done
Checking in src/org/netbeans/modules/ruby/rubyproject/Bundle.properties;
/cvs/scripting/ruby/projects/src/org/netbeans/modules/ruby/rubyproject/Bundle.properties,v  <--  
Bundle.properties
new revision: 1.7; previous revision: 1.6
done
IDE: [4/19/07 10:00 AM] Committing finished
Comment 8 Pavel Buzek 2007-04-20 08:42:08 UTC
Services tab is gone.

Ruby Development is added by scripting\gsf\tools and should be removed (I guess
the whole module can be removed, Tor?)

Run-time Watches is added by "Timers API" module. I think the node should be
removed from Window menu.
Comment 9 luky 2007-04-20 08:57:48 UTC
Mobility inspector is moved to navigating submenu,
I am not sure what you mean by mobility properties though
Comment 10 David Simonek 2007-04-20 09:03:32 UTC
I don't know either, jrojcek wrote "Mobility Properties" in its design, see
above... 
Comment 11 Petr Nejedly 2007-04-20 09:25:41 UTC
> I assume that "Run-time Watches" and "Ruby Development" are utility windows for
> use by NB developers. Those windows should be removed from the build.

From FCS build you mean, right? Yes, Run-time watches should be left in
development builds as long as possible, but shouldn't be in FCS (and probably
not even in betas).

We can move the action from Window menu to memory toolbar, though.
Comment 12 luky 2007-04-20 09:32:09 UTC
Ok, so "mobility properties" is gone, we don't need to worry about anymore
Comment 13 jrojcek 2007-04-20 16:03:24 UTC
If mobility items are fixed, please pass the issue to other teams. Remaining issues to fix:

- fix Profiling menu position
- fix Dynamic Help position
- fix BPEL Mapper position
- remove Ruby Development menu
- remove Runtime Watches
- move UML modeling items into "Other" menu

Thanks!
Comment 14 jrojcek 2007-04-20 16:03:53 UTC
Rising priority to P1.
Comment 15 Torbjorn Norbye 2007-04-20 16:41:07 UTC
I've removed the Ruby development tools module from the build (it's diagnostics for my purposes only) so 
the Ruby Development item will be gone.
Comment 16 jrojcek 2007-04-23 10:07:44 UTC
Passing issue to profiler. Please fix the position of Profiling menu  for M9 and reassign to visual web to fix 
their items.
Comment 17 Jiri Sedlacek 2007-04-23 12:06:13 UTC
Profiling submenu fixed in Profiler trunk, passing to vwp.
Comment 18 Vladimir Yaroslavskiy 2007-04-23 12:21:36 UTC
Moved BPEL Mapper to Window > Other.
Comment 19 _ jyothivasa 2007-04-23 21:53:04 UTC
*** Issue 101944 has been marked as a duplicate of this issue. ***
Comment 20 Thuy.d Nguyen 2007-04-23 23:38:26 UTC
I've alreaduy moved UML Documentation and UML Design Center to Window->Other. 
This change should fix the issue 101944 assigned to UML.
Comment 21 Ch Nguyen 2007-04-24 15:19:23 UTC
For Visual Web,  I believe the only issue left is the Dynamic Help menu item.
Comment 22 Peter Lam 2007-04-25 00:49:38 UTC
verified UML in build 200704241200 that the 2 Window->UML Modeling submenu items
are now in Window->Others.
Comment 23 Ch Nguyen 2007-04-25 03:03:00 UTC
Fixed for visualweb:
/cvs/visualweb/ravehelp/dynamichelp/src/org/netbeans/modules/visualweb/ravehelp/dynamichelp/resources/layer.xml,v
 <--  layer.xml
new revision: 1.4; previous revision: 1.3
done

It looks to me that Profiling is still not in the order that this bug specifies.
 So I'm passing this bug there.
Comment 24 Jiri Sedlacek 2007-04-25 08:57:56 UTC
Fixed in *Profiler* trunk, not *NetBeans* trunk. I cannot do more.
Comment 25 Jiri Sedlacek 2007-04-25 09:34:18 UTC
Reassigning back to jrojcek, please pass to some of remaining components or 
close if already fixed.
Comment 26 David Simonek 2007-04-25 11:14:38 UTC
I think all is fixed, let's close the issue. If problems arise we can always
reopen. Thanks to all.
Comment 27 jrojcek 2007-04-25 13:55:16 UTC
I tried the latest nighly build:
http://bits.nbextras.org/netbeans/6.0/nightly/200704250000/zip/

Dynamic Help and Profiling items are at the bottom of the Window menu. See the attached screenshot. I 
cannot check a newer build  because I don't have it. Please verify the Dynamic Help and Profiling items are 
fixed and close the issue. If they are not fixed, please fix it for M9.

Thanks.
Comment 28 jrojcek 2007-04-25 13:56:36 UTC
Passing to profiler. Please check/fix your item and pass the issue to visual web.
Comment 29 jrojcek 2007-04-25 14:08:30 UTC
Created attachment 41629 [details]
Window menu from latest nightly build (070425).
Comment 30 Tomas Hurka 2007-04-25 14:12:03 UTC
It was fixed in profiler on Mon Apr 23 and the fix will be available in NetBeans daily build 250407.
Comment 31 Ch Nguyen 2007-04-26 17:20:03 UTC
I fixed this on 4/25 in the afternoon US PDT.  You need to pick a build that has
that change to verify, which should've been any build after 4/25.

I'm going to attach a snapshot of the Window menu,taken by our QE, from this
morning NBI installer build for your reference.
Comment 32 Ch Nguyen 2007-04-26 17:30:35 UTC
Created attachment 41755 [details]
Window menu snapshot
Comment 33 Lark Fitzgerald 2007-04-30 22:25:06 UTC
verified last image with nb 0430.