Community
Participate
Working Groups
20021217 text selection is visibly slower on gtk than on motif (i'm running on windows over Hummingbird so the difference is really visible)
I've done some direct comparisons between the GTK and Motif versions of Eclipse on my RedHat9 box, and gui based operations (switching perspectives, scrolling in text editors and marking text etc.) are generally faster using the Motif version. Maybe some acceleration features are not enabled when using GTK? It kinda hints this when just scrolling in the texteditors, Motif scrolls perfectly smooth, GTK jerks along slowly (with visible tearing effects in the editor). I'm running this on a 2GHz box with a relatively new (X acceleration enabled) graphics card.
I think that the problem is probably in GTK itself. I have a system with gtk+-2.4.1, fast video card and CPU. I saw the annoying bug with text selection and tried to find out what is happening in other applications. I found that the same problem exists in gedit. Probably there is no simplier application than that. On the other hand, Evolution works fine, but probably they use another kind of widget for displaying email text. Unfortunately, the www.gtk.org site is down now, I can not find out if GTK developers know about the problem with text selection.
Implementation has changed since 2.1. In SWT 3.0, StyledText is using the new TextLayout. Please open bug report if problem is still applicable and TextLayout is slow for you.