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 598124 - The selection does not only change when the mousebutton is released
The selection does not only change when the mousebutton is released
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.20.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-11 23:11 UTC by Jani Saarenpää
Modified: 2009-10-26 23:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Picture elaborating the issue (57.01 KB, image/png)
2009-10-11 23:11 UTC, Jani Saarenpää
Details

Description Jani Saarenpää 2009-10-11 23:11:38 UTC
Created attachment 145262 [details]
Picture elaborating the issue

Steps to reproduce:
1. Install gnome-terminal (2.26.3.1) and Glipper (0.20.5, also borschty@#gnome:
0.22.2)
2. Select text in gnome-terminal. For example, selecting text snippet: "this is
example"
3. see Glipper history. In our example it would be something like this:
"
this is example
this is examp
this is ex
this is
this
th
t
"

Same problem with any other clipboard manager.

System: Gentoo/AMD64

(borschty@#gnome: debian based system)
Comment 1 Behdad Esfahbod 2009-10-12 08:13:24 UTC
Makes sense.
Comment 2 Behdad Esfahbod 2009-10-23 23:44:22 UTC
Fixed in master.  Please test.
Comment 3 Behdad Esfahbod 2009-10-24 00:09:34 UTC
Humm, I reverted the change.  Need to fix bug 598090 before this can be done.  ChPe, any idea?  If right-button is pressed while left-button is still down, the right-button press is caught by g-t and hence vte has no idea it should copy to PRIMARY.
Comment 4 Behdad Esfahbod 2009-10-26 23:21:17 UTC
commit af5726e0c546f9a4914dd80c03e11e1aadc034f2
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon Oct 26 19:19:16 2009 -0400

    Finish selection rework
    
    Bug 598124 - The selection does not only change when the mousebutton is released
    
    Only update selection when mouse-button is released (or focus lost).
    Also, update PRIMARY when _select_all() is called.