Bug 28605 - text selection slow on gtk
Summary: text selection slow on gtk
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Christophe Cornu CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2002-12-18 06:17 EST by Adam Kiezun CLA
Modified: 2004-09-02 12:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-12-18 06:17:34 EST
20021217
text selection is visibly slower on gtk than on motif
(i'm running on windows over Hummingbird so the difference is really visible)
Comment 1 Erik Reuter CLA 2003-04-09 12:19:25 EDT
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.
Comment 2 Denis Rtveliashvili CLA 2004-05-28 04:55:06 EDT
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.
Comment 3 Christophe Cornu CLA 2004-09-02 12:55:57 EDT
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.