Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359869 - cannot see mouse selection in highlighted text in StyledText
Summary: cannot see mouse selection in highlighted text in StyledText
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.8   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: 3.8 M3   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 12:31 EDT by Grant Gayed CLA
Modified: 2011-10-24 12:01 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 Grant Gayed CLA 2011-10-04 12:31:49 EDT
- happens in HEAD, worked fine in 3.7.x
- is apparently caused by the recent Cairo graphics work

- get eclipse to highlight a range of text in a java editor (eg.- do a search, highlight references to something, etc.)
- use the mouse to select some text from within the highlighted range and note that you cannot see the selected range at all (though doing a copy+paste shows that the selection is logically there)
Comment 1 Felipe Heidrich CLA 2011-10-05 09:36:30 EDT
Bog & Silenio, have you changed anything on this area ?
Comment 2 Silenio Quarti CLA 2011-10-05 09:51:38 EDT
The problem is that cairo is ON all the time now if the GTK verion is 2.18 and greater.  This bug is not new. It just would not show up before because StyledText never called setAdvanced(true).