GNOME Bugzilla – Bug 769695
Selecting output while new lines are printed causes the selection sometimes to flicker
Last modified: 2021-06-10 15:15:19 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.
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?
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
-- 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.