Don't underline regexes when mouse pointer is invisible
@egmontkob
Submitted by Egmont Koblinger Link to original bug (#789536)
Description
A recent regression; it was probably me breaking it, probably in commit 776823da:
Move the mouse over a regex match (URL) or a hyperlink, and press a letter. The mouse pointer disappears as expected.
Actual behavior: The URL stays underlined. Even during further changes in the widget, the contents under the invisible mouse pointer keeps getting properly underlined or not underlined (as if the pointer was visible).
Expected behavior: Nothing should be underlined. Ideally CPU time should also be saved by not even running the regex matching code. Underlining should properly reappear when the mouse pointer reappears (e.g. the mouse is slightly moved).
Version: git master
Resolution: RESOLVED FIXED