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

Bug 112858

Summary: Selection renders badly on Suse 10/KDE
Product: [Eclipse Project] Platform Reporter: Morten Moeller <morten-eclipse>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: billy.biggs
Version: 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
Selection issue on Suse 10 none

Description Morten Moeller CLA 2005-10-17 16:20:56 EDT
When doing a selection in a text editor, I get vertical white lines more or 
less randomly throughout the selection. It seems it is rendering the cursor 
ontop of the selection. If I select more than one line it is normally fine 
unless I drag the mouse over the text (causing the cursor to render again ?). 
 
Not sure if this is related to the coloring issues in Bug 112811, but it 
manifests differently and I doubt this is a Theme engine issue.
Comment 1 Morten Moeller CLA 2005-10-17 16:21:27 EDT
Created attachment 28360 [details]
Selection issue on Suse 10
Comment 2 Billy Biggs CLA 2005-10-18 07:24:44 EDT
Felipe, any ideas?

Morten, what video card and which X driver?  Could you try adding Option
"NoAccel" "true" in the "Device" section of your X config file and see if this
makes the problem go away?
Comment 3 Felipe Heidrich CLA 2005-10-18 10:28:35 EDT
what font are you using ?
could you try to change the font and see if it fixes it ?
Comment 4 Morten Moeller CLA 2005-10-18 11:25:47 EDT
Felipes suggestions helped.   
   
I was using "Courier New 9" (MS TTF Font). I tried a bunch of other fixed fonts   
(including SuSe/KDE default "Monospace") and it still fails.   
   
Change the size to 8 or 10 though, it works fine. Same with most other fonts,   
they just don't work in the size '9' .... There are some exceptions that fails 
on 8, and "Sans" (default non-fixed font on SuSe) works on size 9, but for the 
most part this works except the font I used to use (I kept my preferences from 
my old Suse 9.1 install). 
   
Using NVidia's X driver (Suse automatically downloads it).  
Comment 5 Luca Masini CLA 2005-10-19 07:08:43 EDT
Solved the problem this way:
 >xdpyinfo | grep dimension
  dimensions:    1024x768 pixels (306x229 millimeters)
If this are not correct then correct them into your /etc/X11/xorg.conf until
 > xdpyinfo | grep resolution
  resolution:    85x85 dots per inch
give your a squared resolution. Restart X and then enter your Eclipse.
Here select Preferences->General->Appearance->Colors and Fonts and check if
"Text Fonts" is "Courier New","Regular","11". Then reset the configuration for
"Java Editor" and "Properties Editor".
This worked great for me.
Comment 6 Stefan Kanev CLA 2006-03-23 12:16:22 EST
Bah. I'm having this problem too with Gentoo and gnome. Only I have problems with using Monospace 10, while it works great on Monospace 11. A colleague of mine has it with Fedora and XFCE, so it thought GTK is responsible for it, because it surfaced when I updated my Gnome to the latest version. I have noticed, that the white vertical lines appear before/after a color change in the text, i.e., maybe the color changing codes (if such exist, of course) are rendering for some reason as white lines in the text.

P.S.: I squared it to 95x95, no change whatsoever.
Comment 7 Felipe Heidrich CLA 2009-08-19 13:55:45 EDT

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