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 598090 - LMB Mouse up event not registered when opining context popup menu
LMB Mouse up event not registered when opining context popup menu
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 15:59 UTC by Quintin Beukes
Modified: 2009-10-26 22:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Quintin Beukes 2009-10-11 15:59:13 UTC
Steps to reproduce (strictly follow the steps, don't release mouse unless specified as a CLICK or implicit RELEASE BUTTON)
1. Go into terminal
2. Press LMB down
3. Drag to select some text
4. Click (DOWN + UP) RMB
5. Move over to Copy item
6. Now release LMB
7. Now move the mouse

As you can see the selection mode is still enabled.

These steps might seem unreal and scarce, though they are just a simple definite way of reproducing the problem.

This can also happen if you select text and open the popup very quickly, either pressing down RMB before your LMB finger got a chance to properly leave the mouse, or before the gnome-terminal could register the LMB release.

This happens to me a lot, and it's very frustrating. I don't always notice it and then move to another tab or desktop or window using the keyboard, only to find nothing want to paste and going back to see the selection is stuck again.
Comment 1 Christian Persch 2009-10-11 17:20:08 UTC
-> vte
Comment 2 Behdad Esfahbod 2009-10-24 00:10:03 UTC
ChPe, I looked around but have no idea how to fix this.  The popup events are caught by g-t and never reach vte.
Comment 3 Christian Persch 2009-10-24 14:51:29 UTC
Vte should get a focus-out event when the popup menu opens, I think. So there would be the place to make vte stop extending the selection.
Comment 4 Behdad Esfahbod 2009-10-26 22:13:32 UTC
I see.  Working on it.
Comment 5 Behdad Esfahbod 2009-10-26 22:56:21 UTC
Ok, fixed it.  Should be good enough for now.