Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 63115

Summary: hovering over the context menu item 'Run' takes too much time
Product: [Eclipse Project] Platform Reporter: Raj Mandayam <ramanday>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: hudsonr, jbr, quartz12h
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Raj Mandayam CLA 2004-05-19 16:43:40 EDT
i noticed it in 3.0 m8.
I right click over a java file the usual context menu , I keep dragging my 
mouse until it is over the 'Compare With' option, while I am dragging the mouse
I mouse over menu items that have child menu items and they are displayed, but
as I mouse over the 'Run' option it takes so much more time than 
the other options to show its menu items that UI freezes for 2-3 seconds(in this
 to reveal 'Debug junit test' 'run junit test') and this happens everytime so its
not a one time hit.
Comment 1 Grant Gayed CLA 2004-05-19 17:58:12 EDT
I do not see this delay, but maybe my machine is fast?  Forwarding report to 
Debug UI in case they're doing something expensive whenever this submenu is 
created.
Comment 2 Darin Wright CLA 2004-06-09 10:56:54 EDT
*** Bug 65966 has been marked as a duplicate of this bug. ***
Comment 3 Darin Wright CLA 2004-06-09 10:58:17 EDT
Yes - we are doing something expensive when the menu is created. However, we 
only take the hit when the user wants to expand the menu. This is by design, 
and currently, there is not much we can do to improve it - this is the 
complexity/cost of context sensitive launching.
Comment 4 Raj Mandayam CLA 2004-06-09 12:42:16 EDT
actually as I had said before I wanted to select the option 'Compare with' but
depending on how fast you move the mouse pointer over other options to that
option ,you can cause the Run menu to expand even without clicking on it.
Comment 5 Darin Wright CLA 2004-06-15 10:23:18 EDT
Nothing planned for 3.0
Comment 6 Darin Wright CLA 2004-07-26 11:33:08 EDT
*** Bug 70752 has been marked as a duplicate of this bug. ***
Comment 7 quartz quartz CLA 2004-07-26 12:22:54 EDT
how about a simple read-cache of that info...
It is already in memory anyway... The favorites at least because the toolbar has it.

And if it is about discovering if the class has a main or not, this could be done
much later, when the user actually click the launch.
No need to fetch anything to display a run/debug menu item...
Comment 8 Darin Wright CLA 2005-06-23 15:06:27 EDT
This has been addressed in 3.1
Comment 9 Darin Wright CLA 2005-06-23 15:06:52 EDT
Marking as dup of bug 78503, that addressed the problem.

*** This bug has been marked as a duplicate of 78503 ***
Comment 10 Raj Mandayam CLA 2007-06-06 14:00:59 EDT
closed