Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322665 - Tooltip for run and debug buttons is incorrect
Summary: Tooltip for run and debug buttons is incorrect
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 11:20 EDT by Chris Long CLA
Modified: 2020-09-04 15:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.