GNOME Bugzilla – Bug 732185
Faulty dingu underlining at startup
Last modified: 2018-02-27 11:47:34 UTC
./src/vte-2.91 -c 'sh -c "echo http://gnome.org ; sleep 10"' Make sure that previously the mouse is somewhere else than where the window will appear. Notice that the URL is underlined until the mouse is moved into the terminal area,. I discovered this with roxterm which uses different dingu rules, and underlines the very beginning of my prompt (username@host). The bug only occurs if the matching string is at the top left corner. It occurs even if it's not the first thing output in the terminal (e.g. «echo foo; echo bar; echo http://gnome.org; seq 1 22»). So it's not an incorrect initialization of the regex matcher. For the bug to occur, it's important that the mouse is not inside the terminal area. Looks like vte incorrectly believes that the mouse is over the top-left cell until it is first moved.
Probably due to pvt->mouse_last_[xy] being 0 initially.
This bug became more prominent with the hyperlink feature. I often open a new terminal, just type "ls" (which I have aliased to "ls --hyperlink") and the entry at the top left corner becomes solid underlined. Also, as the mouse leaves the window the active link remains underlined.
(In reply to Christian Persch from comment #1) > Probably due to pvt->mouse_last_[xy] being 0 initially. Yup, and it's 0 because widget_enter() forgets to update it. Let's address it along with tons of other issues at one place. *** This bug has been marked as a duplicate of bug 789536 ***