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 573160 - Ending a drag-selection should update with the mouse position from the ButtonRelease
Ending a drag-selection should update with the mouse position from the Button...
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.15.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: motion-event-tracker
 
 
Reported: 2009-02-25 17:56 UTC by Federico Mena Quintero
Modified: 2018-02-10 03:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Federico Mena Quintero 2009-02-25 17:56:25 UTC
Before actually ending the selection drag, gtk_text_view_button_release_event() doesn't update the selection with respect to the mouse position from the ButtonRelease event.  It should do that to avoid a seemingly out-of-sync selection on slow machines, or on heavily loaded machines.

Also, I think the calls to gdk_event_request_motions() should be done *after* the motion-event handlers finish their expensive work, so that the next motion event will be with respect to the mouse position *after* the expensive work is done.
Comment 1 Matthias Clasen 2018-02-10 03:41:48 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.