After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 50233 - Text widget has chunky scrolling
Text widget has chunky scrolling
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
1.3.x
Other All
: Normal minor
: Medium fix
Assigned To: gtk-bugs
gtk-bugs
scrolling
: 157043 (view as bug list)
Depends on: 103811
Blocks:
 
 
Reported: 2000-12-21 17:29 UTC by Havoc Pennington
Modified: 2014-07-10 03:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
smooth auto scrolling patch (18.81 KB, patch)
2004-09-26 12:30 UTC, Tomislav Jonjic
none Details | Review

Description Havoc Pennington 2000-12-21 17:29:07 UTC
Scrolling in the text widget is not very nice feeling; also, there are two
pieces of scroll code, one while doing drag-and-drop and one while
selecting. Need to clean up/unify the scroll code, and make it work nicely.
Comment 1 Havoc Pennington 2001-01-29 19:40:24 UTC
Put all GTK 1.3.x bugs on 2.0.0 milestone
Comment 2 Havoc Pennington 2001-12-31 16:51:32 UTC
No must-fix bug here. Can fix sometime.
Comment 3 Tomislav Jonjic 2004-09-26 12:30:49 UTC
Created attachment 31950 [details] [review]
smooth auto scrolling patch

The patch adds accelerated smooth auto scrolling support for 
text selection and drag and drop.

I thought this needed to be looked at, so I went ahead and 
put together something usable. I'm no usability expert, though,
so someone who is should review this. Someone (with more
knowledge than me) should also review the technical stuff, as 
it's likely not without quirks... I'll be happy to improve
this as needed.
Comment 4 Matthias Clasen 2004-11-26 07:04:36 UTC
*** Bug 157043 has been marked as a duplicate of this bug. ***
Comment 5 Elijah Newren 2006-06-20 17:49:06 UTC
Wouldn't this be a duplicate of bug 103811 (or vice versa)?
Comment 6 Björn Lindqvist 2008-03-28 13:16:22 UTC
Bug 103811 implements smooth scrolling for all widgets using GtkAdjustments. This patch makes the GtkTextView scroll in a custom way, without using the adjustments. I think the right way is to first implement 103811, then smooth scrolling the textview becomes as simple as gtk_adjustment_step_down (text_view->vadjustment).
Comment 7 Matthias Clasen 2014-07-10 03:03:14 UTC
I think this has been somewhat addressed now, with smooth and animated scrolling