GNOME Bugzilla – Bug 722873
Selection's start coordinate is off by widget padding
Last modified: 2014-04-06 18:27:01 UTC
~/.config/gtk-3.0/gtk.css: VteTerminal { -VteTerminal-inner-border: 100; } Select by mouse. Notice the start position is off by 100 pixels. (The end position is correct.)
Also, the start coordinate is not confined to be inside the visible area (as it is done in from vte_terminal_extend_selection() for the end point). It's important for the rewrap code that it's confined. (See bug 722635.)
Created attachment 267090 [details] [review] Fix part 1 Fix for the offset. Actually the padding was substracted twice. I'm yet to confine the coordinates.
Marking as fixed in vte-0-36 (keeping open for vte-next). The issue mentioned in comment 1 really belongs to the other bug.