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 769695 - Selecting output while new lines are printed causes the selection sometimes to flicker
Selecting output while new lines are printed causes the selection sometimes t...
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-10 07:26 UTC by Egmont Koblinger
Modified: 2021-06-10 15:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Egmont Koblinger 2016-08-10 07:26:23 UTC
I myself have also noticed this many times, but never cared enough to take a look or even file a bugreport.

Found at https://sourceforge.net/p/lxde/bugs/812/ :

[...] normally if I'm selecting output while new lines are printed the printing is delayed until the left mouse button is released. But this doesn't always work as sometimes new lines are still printed which results that the selection gets always reset causing a flickering effect.
Comment 1 Christian Persch 2016-08-10 20:51:34 UTC
I also have noticed this many times, and just always forgot to file/track down. I can reliably repro this when the terminal contents continually change, e.g. when some programme is outputting a progressbar etc.

While selecting, reading from the pty should be frozen, but somehow/sometimes this doesn't happen, or the unfreeze happens to early?
Comment 2 Egmont Koblinger 2018-09-14 10:00:40 UTC
Yup sounds like a race condition-ish thing. Seems to go wrong if input is arriving "exactly" when selecting is started.

while sleep 1; do date; done     ->  rarely happens
while sleep 0.1; do date; done   ->  often happens
while sleep 0.01; do date; done  ->  almost always happens
Comment 3 GNOME Infrastructure Team 2021-06-10 15:15:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/2328.