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 742320 - Rectangular selection vs. rewrap is weird
Rectangular selection vs. rewrap is weird
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.39.x
Other Linux
: Normal trivial
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-01-04 14:01 UTC by Egmont Koblinger
Modified: 2015-01-08 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (528 bytes, patch)
2015-01-05 20:28 UTC, Egmont Koblinger
committed Details | Review

Description Egmont Koblinger 2015-01-04 14:01:57 UTC
Create a rectangular selection (Ctrl+click), then resize the terminal so that lines rewrap.

The highlighted selection appears/disappears according to the start and end point's relative positions, and new contents become part of the visual selection (gets wrapped in between existing highlighted stuff) or get removed from there... It's a weird experience, and the actually highlighted part no longer matches the contents of primary/clipboard. (Seems primary/clipboard contains the contents as of when the selection was made.)

I hope you can't crash vte with this :)

Not sure what we could do anything to fix this... maybe completely remove the rectangular selection feature? Does anyone use it?
Comment 1 Egmont Koblinger 2015-01-04 14:03:52 UTC
... or just invalidate the rectangular selection on rewrap, it's less destructive than removing the feature altogether :)
Comment 2 Behdad Esfahbod 2015-01-04 18:51:43 UTC
I like to say the feature is useful, but never personally actually used it in real cases.  So I don't mind...  Just removing selection on rewrap works find too.  After all, we remove selection when selected content is modified.
Comment 3 Egmont Koblinger 2015-01-05 20:28:52 UTC
Created attachment 293874 [details] [review]
Fix
Comment 4 Egmont Koblinger 2015-01-08 13:26:10 UTC
Fixed