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

Bug 46315

Summary: Scrapbook actions wrongly disabled after inspect or execute
Product: [Eclipse Project] JDT Reporter: Marko Schulz <ms>
Component: DebugAssignee: Kevin Barnes <cocoakevin>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chanskw, chris, darin.eclipse, jerome_lanneluc, matt
Version: 3.0   
Target Milestone: 3.2 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Marko Schulz CLA 2003-11-08 03:25:16 EST
The bug is in Version 3.0M4


To reproduce:
* Open a fresh scrapbookpage
* Type "38+4" and select it
* Hit "Inspect" (either button in the toolbar or context menu, it doesn't matter)
* Wait for the evaluation to finish
* As expected a line "int "38+4"= 42" appears in the expressions view.
  What is not expected:
  * Even though the editor with the scrapbook is still activated, the "38+4" is 
    still selected and one can also see the cursor blinking in the editor, the 
    actions "Inspect", "Display" and "Execute" are disabled. 
    (again: toolbar and contex menu the same)
  If one activates a view (or another editor) and then the scrapbook page again,
  the actions are enabled again, just as expected.

The same bug happens, when one uses "Execute". It doesn't happen with "Display",
probably because then new text is written onto the page by eclipse.

This bug looks a bit similar to bug 32494, but the event that triggers it seems
different. And contrary to 32494 this one is not fixed. :-)
Comment 1 Darin Wright CLA 2004-02-12 16:25:10 EST
*** Bug 51805 has been marked as a duplicate of this bug. ***
Comment 2 Darin Wright CLA 2004-02-12 16:30:11 EST
*** Bug 49046 has been marked as a duplicate of this bug. ***
Comment 3 Darin Wright CLA 2004-05-07 09:55:54 EDT
*** Bug 61333 has been marked as a duplicate of this bug. ***
Comment 4 Darin Wright CLA 2004-05-26 18:20:43 EDT
Deferred. Tricky to fix since enablement is controlled by action enablement 
attribute (plugin.xml), which is updated on a selection change (and no 
selection change occurrs for inspect/execute). 
Comment 5 Darin Wright CLA 2006-01-12 09:40:37 EST
*** Bug 123588 has been marked as a duplicate of this bug. ***
Comment 6 Darin Wright CLA 2006-03-28 11:40:05 EST
*** Bug 133576 has been marked as a duplicate of this bug. ***
Comment 7 Darin Wright CLA 2006-04-07 16:10:21 EDT
Fixed in 3.2.
Comment 8 Darin Wright CLA 2006-04-07 16:10:46 EDT
Fixed while fixing bug 123588.
Comment 9 Darin Wright CLA 2006-04-07 16:14:19 EDT
Please verify, Kevin.
Comment 10 Kevin Barnes CLA 2006-04-10 10:49:01 EDT
verified