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

Bug 403235

Summary: CommandContributionItem have to restore contributed tooltip when handler changes
Product: [Eclipse Project] Platform Reporter: Stephan Wahlbrink <sw>
Component: UIAssignee: Paul Webster <pwebster>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: akafakir, pwebster
Version: 4.3Keywords: helpwanted
Target Milestone: 4.3 M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Stephan Wahlbrink CLA 2013-03-13 12:54:10 EDT
An IElementUpdater can set the tooltip of a CommandContributionItem. At moment the tooltip is not restored when the handler changes. It should be reset to the contributed tooltip like the label or icons.
Comment 1 Paul Webster CLA 2013-03-15 13:04:35 EDT
http://wiki.eclipse.org/Platform_UI/How_to_Contribute

PW
Comment 2 Leonid Ripeynih CLA 2013-03-17 12:37:32 EDT
Here is proposed fix
https://git.eclipse.org/r/11252
Comment 3 Stephan Wahlbrink CLA 2013-03-17 12:50:17 EDT
I just created a patch too:

https://git.eclipse.org/r/#/c/11254/
Comment 4 Paul Webster CLA 2013-03-18 13:23:11 EDT
Thanks Leonid and Stephan both for the fix.  I've merged it in as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=649adf35b5190b6c3dd8e2bde1b4b0ce0dc88853

PW
Comment 5 Paul Webster CLA 2013-05-17 10:44:52 EDT
in 4.3.0.I20130516-2200

PW