De-underline hyperlink on hover-out #2 #12548

Open
opened 2026-01-31 03:18:30 +00:00 by claunia · 0 comments
Owner

Originally created by @PhMajerus on GitHub (Feb 12, 2021).

Originally assigned to: @Don-Vito on GitHub.

Testing Windows Terminal Preview 1.6.10412.0

De-underlining now works when the mouse moves away from the link while the window doesn't have the focus (#8925).
But we have a second de-underlining scenario that doesn't work properly...

Regardless of whether the window has the focus or not, hyperlinks are properly de-underlined only if the mouse moves over another character cell within the client area.
If the link is on the top row and the mouse moves higher than the link to the tabs/titlebar area, and/or if the link starts on the leftmost column and the mouse moves left to the margin and out of the window non-client area, or if the link reaches the rightmost column and the mouse moves right over the margin, scrollbar, etc..., the hyperlink stays hot.

Basically, it seems its hover-out handler is called only when the pointer moves over a cell not part of the hyperlink, but doesn't get called when the pointer moves directly to something else than the client area.

Originally created by @PhMajerus on GitHub (Feb 12, 2021). Originally assigned to: @Don-Vito on GitHub. Testing Windows Terminal Preview 1.6.10412.0 De-underlining now works when the mouse moves away from the link while the window doesn't have the focus (#8925). But we have a second de-underlining scenario that doesn't work properly... Regardless of whether the window has the focus or not, hyperlinks are properly de-underlined only if the mouse moves over another character cell within the client area. If the link is on the top row and the mouse moves higher than the link to the tabs/titlebar area, and/or if the link starts on the leftmost column and the mouse moves left to the margin and out of the window non-client area, or if the link reaches the rightmost column and the mouse moves right over the margin, scrollbar, etc..., the hyperlink stays hot. Basically, it seems its hover-out handler is called only when the pointer moves over a cell not part of the hyperlink, but doesn't get called when the pointer moves directly to something else than the client area.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12548