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 732185 - Faulty dingu underlining at startup
Faulty dingu underlining at startup
Status: RESOLVED DUPLICATE of bug 789536
Product: vte
Classification: Core
Component: general
0.37.x
Other Linux
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-24 20:20 UTC by Egmont Koblinger
Modified: 2018-02-27 11:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Egmont Koblinger 2014-06-24 20:20:29 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.
Comment 1 Christian Persch 2014-08-19 19:19:11 UTC
Probably due to pvt->mouse_last_[xy] being 0 initially.
Comment 2 Egmont Koblinger 2017-08-31 19:40:47 UTC
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.
Comment 3 Egmont Koblinger 2018-02-27 11:47:34 UTC
(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 ***