Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 26656 - Selection vs. Focus issue - confusing menu item enabling
Selection vs. Focus issue - confusing menu item enabling
Product: platform
Classification: Unclassified
Component: Window System
All All
: P3 (vote)
: 3.x
Assigned To: Peter Zavadsky
Depends on:
  Show dependency treegraph
Reported: 2002-08-20 19:55 UTC by Sreenivasa viswanadha
Modified: 2008-12-23 09:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Sreenivasa viswanadha 2002-08-20 19:55:23 UTC
When the IDE restarts, it remembers the selection
in the explorer. Evidently, since the focus is not
on the selection in the explorer node, menu items
that would be appropriate for the selection don't
get enabled.

For example, select a class with the main method.
Then under the 'Debug' menu, all itmes like start,
step into etc. get enabled. Now, you exit the IDE
and restart it. It will come back with the same
class selected, however, you don't see the 'Debug'
menu items enabled. This is confusing.

Suggestion: May be do not persist the selction, so
the user will not get confused about why some menu
items are not enabled.
Comment 1 Marian Mirilovic 2002-11-13 15:31:34 UTC
changed owner Dafe -> Peter Z.
Comment 2 Peter Zavadsky 2002-12-04 10:10:36 UTC
It seems it is necessary to remember also activated top component, to
get the same activated nodes after restart.
Comment 3 Peter Zavadsky 2003-02-24 09:56:56 UTC
I tried it now (build on fresh sources), and it seems it is working.
Could have been fixed by some patch before. Closing as worksforme.
Comment 4 Marian Mirilovic 2003-07-29 10:39:28 UTC
It works fine in [nb_dev](20030728) - verifying.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo