Redundant links are only highlighted when the mouse is over the topmost one
What Operating System(s) are you seeing this problem on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
xfce
WezTerm version
20240203-110809-5046fc22 (debian forky on arm64), 20251123-154500-ac08cdf6 (nightly on x86-64)
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
[Note: this issue is similar to #7409 but not quite the same. This one is about multiple copies of the same URL.]
When multiple copies of the same URL are on screen, moving the mouse over the top link highlights all of them. Moving the moues over the others doesn't highlight anything.
To Reproduce
- Start wezterm
- Split vertically
- Split each half horizontally
- Open a file containing redundant URLs with
lessin the bottom left pane - Move mouse over the links in the bottom left pane
- Witness the devastation
(Again, no idea why everything is pink. Please don't hate me.)
Configuration
I don't know if layout/appearance settings matter, I'll include them just in case.
config.keys = {
{
key = '\\',
mods = 'CTRL',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
{
key = '-',
mods = 'CTRL',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
},
{
key = 'LeftArrow',
mods = 'ALT',
action = wezterm.action.ActivatePaneDirection "Left",
},
{
key = 'RightArrow',
mods = 'ALT',
action = wezterm.action.ActivatePaneDirection "Right",
},
{
key = 'UpArrow',
mods = 'ALT',
action = wezterm.action.ActivatePaneDirection "Up",
},
{
key = 'DownArrow',
mods = 'ALT',
action = wezterm.action.ActivatePaneDirection "Down",
},
}
config.hide_tab_bar_if_only_one_tab = true
config.tab_bar_at_bottom = false
config.use_fancy_tab_bar = false
config.window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
}
config.inactive_pane_hsb = {
brightness = 0.4,
}
config.font = wezterm.font 'Noto Sans Mono'
Expected Behavior
Either of the following:
- highlight all matching links when the mouse is over ANY of them (not just the first)
- highlight the link directly under the mouse pointer, regardless of what else is on screen
Logs
[link highlighting does not seem to generate any debug logs.]
Debug Overlay wezterm version: 20240203-110809-5046fc22 aarch64-unknown-linux-gnu Window Environment: X11 Xfwm4 Lua Version: Lua 5.4 OpenGL: Adreno X1-85 4.6 (Compatibility Profile) Mesa 25.2.6-1 Enter lua statements or expressions and hit Enter. Press ESC or CTRL-D to exit
Anything else?
No response
Hmm, what's did you do differently compared to your other issue #7409 where your screencast shows that individual link highlight did work correctly (differently than the screencast here)
I don't know if layout/appearance settings matter, I'll include them just in case.
Please try to remove all settings, see if it still happens without them, then if it doesn't, try to add settings one after the other & testing every time to try to identify if a specific setting causes this issue.
Hmm, what's did you do differently compared to your other issue #7409 where your screencast shows that individual link highlight did work correctly (differently than the screencast here)
The difference is that the links here are all identical. The links in the other issue have unique suffixes, like "/1", "/2", "/3".
Here is the test file I used for the above animation.
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
https://github.com/wezterm/wezterm/issues
Again, the issue is that moving the mouse over the top one highlights all of them; moving the mouse over the others does not highlight anything.