Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 379022 - Breakpoints view detail pane toggles background color in 4.2
Summary: Breakpoints view detail pane toggles background color in 4.2
Status: CLOSED DUPLICATE of bug 320901
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 13:06 EDT by Markus Keller CLA
Modified: 2012-05-10 09:14 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2012-05-09 13:06:45 EDT
From bug 320901 comment 12 and 13:

In 4.2 with the default theme, the Breakpoints view detail pane has an interesting background color behavior:

Each single click on a Java line breakpoint toggles the background color of the details pane between gray and white (when it is white, a separator is added).

Same color toggling when I click the 'Conditional' checkbox.

Worst is the combination of the two methods: Click the 'Conditional' checkbox and then click the breakpoint => redraw garbage in the breakpoints list (the details pane is drawn into the list).
Comment 1 Markus Keller CLA 2012-05-09 13:11:03 EDT
Same problem with the Classic theme.

The patch in bug 301118 comment 23 added the code that compares background colors, which could be the culprit here.
Comment 2 Dani Megert CLA 2012-05-10 09:14:16 EDT
We could add a workaround this but the main reason is that the (default) widget background gets changed without adjusting the constants like SWT.COLOR_WIDGET_BACKGROUND.

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