Red Hat Bugzilla – Bug 181486
Weird pipe-like characters in SWT text selection
Last modified: 2007-11-30 17:11:24 EST
Description of problem:
When selecting text on rawhide, I get odd vertical bars in the selection (see
attached screenshot: gtkpipes.png).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start Eclipse
2. Create a new Java Project and inside it create a new Class allowing for the
pre-stubbed main method
3. Highlight the main method
Clean selection highlight
I'm assuming this is an upstream bug but I wanted to get it documented here as
well. I will now try to find a reference bug upstream.
Created attachment 124622 [details]
screenshot showing problem
Adding upstream reference.
Since I have not seen such drawing errors with any other GtkTextView-using apps
in rawhide, I have to assume that eclipse is doing something odd here. Are you
inserting any strange (ie control) characters at word boundaries ?
See this bug for some characters used by Eclipse:
However, that's not a GtkTextView, so bugs in the selection drawing may
be bugs in Eclipse (exposed by certain pango versions). Probably should
be first investigated upstream.
Changing references upstream bugs.
This problem got tracked down to floating point environment differences.
Possible fix is planned for pango 1.12.2
This appears to be fixed in pango 1.13.0 according to the changelog.
can you confirm that this is fixed with pango 1.13 ?
I just tested with rawhide and it's fixed with pango 1.13.