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 42417 - Project-sensitive actions sometimes disabled
Summary: Project-sensitive actions sometimes disabled
Status: CLOSED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: RANDOM, REGRESSION
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-04-23 21:46 UTC by Jesse Glick
Modified: 2006-03-24 09:45 UTC (History)
0 users

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 Jesse Glick 2004-04-23 21:46:35 UTC
I just have a test class (FileOwnerQueryTest.java)
open in the editor and noticed that the entries
like Run Test and Run Test in Debugger in the Run
Other menu were disabled! The keyboard shortcuts
work fine.

Not sure how to reproduce but something is clearly
broken.
Comment 1 Petr Hrebejk 2004-05-03 14:23:43 UTC
I can't reproduce it.
Comment 2 Jesse Glick 2004-05-03 17:27:10 UTC
Happens to me all the time. Quite at random I just went to my running
dev build, selected Core - Windows root node in Projects tab, and went
to the Build menu. I see "Generate Javadoc for Project "My App"" and
"Compile File "Main.java"". These items remain after closing and
reposting the menu, selecting different nodes in the Projects tab, etc.

Note that the main window title is updated reliably, so it not just a
matter of the global selection not getting changed. I think the
problems are really in the actions.

BTW I have no toolbars visible, maybe this is related? But even after
enabling the Build toolbar and changing selection some more, it still
doesn't update the menus.

I have had the IDE running for a while, maybe it is GC-related - i.e.
missing strong ref with WeakListeners. After restarting the IDE it
seems to be working fine for now.
Comment 3 Jesse Glick 2004-06-15 13:15:06 UTC
Haven't seen such problems for a while. But still need unit tests.
Comment 4 Marian Mirilovic 2005-07-12 10:14:42 UTC
closed