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

Bug 322665

Summary: Tooltip for run and debug buttons is incorrect
Product: [Tools] CDT Reporter: Chris Long <chrislong>
Component: cdt-debugAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: minor    
Priority: P3 CC: pawel.1.piech
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris Long CLA 2010-08-13 11:20:57 EDT
Build Identifier: 20100617-1415

The toolbar run and debug buttons do not always show the name of the executable that will run when you click the button. If the run or debug button is pushed without selecting the attached menu, it always runs/debugs the last thing that was run/debugged, regardless of the current selection.

However, the tool tip for the run and debug buttons changes based on the current selection. If I run executable A and then select exectuable B in the C/C++ Projects view, the tooltip for the run button says "Run B". But when I click the button, A is run.

I think ideally, the behavior of the run button would change to match what the tooltip says. But I think it would be acceptable to change the tooltip, instead. The real problem is just that they don't agree, so the tooltip is wrong and the user gets surprised and/or confused.


Reproducible: Always

Steps to Reproduce:
1.Select and run an executable ("A") from a C/C++ project.
2.Select a different executable ("B") in the C/C++ Project View.
3.Mouse over the Run button in the tool bar.
4.See the "Run B" tooltip appear.
5.Click the Run button. It will run A, not B.