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

Bug 327762

Summary: Fast view tool tip no longer shows description
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Dean Roberts <dean.t.roberts>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: dean.t.roberts, emoffatt, remy.suen
Version: 4.1   
Target Milestone: 4.2 M6   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 371233    
Bug Blocks:    

Description Dani Megert CLA 2010-10-14 08:02:33 EDT
I20101007-1949.

The fast view tool tip no longer shows description. This makes it impossible to see e.g. number of errors and warnings when hovering over the Problems view's fast view icon.
Comment 1 Remy Suen CLA 2010-10-20 14:14:04 EDT
This is very interesting.

The label of a part in a tab folder comes from getPartName(), the tooltip of it in a tab folder comes from getTitleToolTip(), and the tooltip for the icon in a minimized view comes from getTitle(). That's three different strings whereas we only support 'label' and 'tooltip' in our EMF model at the moment.
Comment 2 Eric Moffatt CLA 2010-10-26 14:33:10 EDT
There's only two places to show the info, the tab's label and the Tooltip...but it's still an issue.

The special string for minimized view's icon's tooltips appear to be a nice bit of polish. Perhaps we need code to 'update' the model's ToolTip field when it goes minimized. We could do this by having a 'tag' listener somewhere in the compatibility layer that listens for the 'minimized' tag to be set on a stack and updates all the view's ttips (even the ones whose TBR == false). It would do the opposite when the minimized tag is removed.
Comment 3 Dean Roberts CLA 2012-02-17 14:46:33 EST
Fixed this with commit

http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c542d874054816d457a3bdd6dc5f5b6301533b69

(The fix also fixes the icons for minimized views)
Comment 4 Dani Megert CLA 2012-02-22 06:29:11 EST
(In reply to comment #3)
> Fixed this with commit
> 
> http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c542d874054816d457a3bdd6dc5f5b6301533b69
> 
> (The fix also fixes the icons for minimized views)

Verified in 4.2-I20120221-2200.

Thank you! :-)