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

Bug 315225

Summary: Run the Script w/Chart button always enabled
Product: [Tools] Linux Tools Reporter: Andrew Overholt <overholt>
Component: SystemtapAssignee: anithra <anithra>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pmuldoon, rgrunber, sgehwolf
Version: unspecifiedFlags: anithra: review?
Target Milestone: 0.6   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Removes extraneous button anithra: review?

Description Andrew Overholt CLA 2010-06-01 10:25:43 EDT
It seems that the "Run the Script w/Chart" button is always enabled yet when I press it it says "The chosen operation is not currently available".  It would be nice to detect when it is available and only enable the button then :)
Comment 1 Andrew Overholt CLA 2010-06-04 17:19:35 EDT
Will this be a similar fix to bug #315224?
Comment 2 Severin Gehwolf CLA 2010-06-04 17:36:38 EDT
No, I believe the icon can be removed. There is a second (identical) one which is disabled/enabled as appropriate and which actually works.
Comment 3 anithra CLA 2010-06-06 12:43:09 EDT
Created attachment 171221 [details]
Removes extraneous button
Comment 4 anithra CLA 2010-06-06 12:44:30 EDT
Thanks Severin , you were right, attached a patch for review
Comment 5 Roland Grunberg CLA 2010-06-07 10:34:54 EDT
Confirmed the bug, and the patch seems to fix this. The button is now correctly disabled.
Comment 6 anithra CLA 2010-06-07 11:34:23 EDT
Thanks Roland, committed the patch.
Comment 7 Andrew Overholt CLA 2010-06-07 14:28:51 EDT
I can confirm that by default the button is disabled in all 3 SystemTap perspectives.