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

Bug 321581

Summary: [hovering] Hint/status field in Javadoc hover does not update color when changed in the OS
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P5    
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Dani Megert CLA 2010-08-03 08:07:25 EDT
I20100802-1800.

The hint/status field of the Javadoc hover does not update color when changed in the OS.

0. open Java editor
1. make the Javadoc hover appear
2. change ToolTip color in the OS
3. go back to Java editor
4. make the Javadoc hover appear
==> status field has old color but Javadoc itself has the new color.
Comment 1 Dani Megert CLA 2010-08-03 08:14:28 EDT
The ruler hovers do not update color when changed in the OS.

0. open Java editor
1. make a ruler hover appear
2. change ToolTip color in the OS
3. go back to Java editor
4. make a ruler hover appear
==> still old colors

Closing and reopening the editor fixes the issue.
Comment 2 Dani Megert CLA 2010-08-03 08:15:30 EDT
Forget the previous comment (wrong bug).

Closing and reopening the editor fixes the issue.
Hovering over a problem also fixes the issue.
Comment 3 Dani Megert CLA 2010-08-03 09:59:17 EDT
Fixed in HEAD.
Comment 4 Dani Megert CLA 2010-08-03 10:02:17 EDT
Created attachment 175780 [details]
Fix
Comment 5 Dani Megert CLA 2010-08-04 08:39:44 EDT
I've reverted the fix since it can destroy the colors set by subclasses (e.g. multi-hyperlink control).

After discussion with Markus we agreed that it's not worth to write more complicated code to handle that rare scenario.