Bug 9860 - Labeling of Toggle Actions throughout UI is wrong
Summary: Labeling of Toggle Actions throughout UI is wrong
Status: RESOLVED DUPLICATE of bug 7638
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-14 15:51 EST by Randy Hudson CLA
Modified: 2002-05-01 16:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA 2002-02-14 15:51:31 EST
Through Eclipse, actions such as "Hide Methods" or "Show Packages" toggle their 
tooltip messages.  For example, they become "show methods" or "hide packages".  

The job of a toggle UI is to display the *current* state, not what would happen 
if you click on it.  The tooltip should be constant, just as the text in the 
menu would be.  Would it make sense in a menubar to have the "Status Bar" 
menuitem change to a "Hide Status Bar" with a check next to it?  If not, why 
should tooltips be any different?

Imagine if in Microsoft Word when you hovered over the BOLD Toolbar Item it 
read "Normal" because you were currently inside bold text.

Or if the rocker-arm on a light switch read "off" when it was in the up 
position instead of "on".

Toggles should be like the "A/C" button in a Japanese car.  It is always 
labeled "A/C", and the button's position visually tells you if the A/C is on or 
not.
Comment 1 Nick Edgar CLA 2002-05-01 16:59:00 EDT
The tooltip should show what state the button controls.
It should not change to show what the current state is, or what the future 
state will be.
These are JDT buttons, but there's an existing PR for this problem.

*** This bug has been marked as a duplicate of 7638 ***