Hyprscrolling: Previously displayed window shows/flickers on empty desktop in multi-monitor setup
I can’t reproduce this with master layout, so I believe this is a visual bug related to hyprscrolling.
Reproduction steps:
- Enable hyprscrolling layout
- On monitor 1, focus workspace 1 with a window;
- On monitor 2, focus workspace 2 with no windows/empty
- On monitor 1, switch back and forth between workspace 1 and 2 (may need to call multiple times) so that they swap between the two monitors; I have keybindings for these:
hyprctl dispatch focusworkspaceoncurrentmonitor 2hyprctl dispatch focusworkspaceoncurrentmonitor 1
Very quickly (often the first time) if I do this, I will see the window appear on both monitors. On the monitor that has workspace 2, which should be empty, it may flicker, partially showing the window that used to be displayed and partially showing the background/wallpaper.
My hyprscrolling config:
plugin:hyprscrolling {
# default
follow_focus = true
focus_fit_method = 1
column_width = 1
fullscreen_on_one_column = true
explicit_column_widths = 0.333333, 0.5, 1
}
Tested with laptop as one screen and external monitor as other. The issue happens on both monitors.
@stephenh @clotodex @definitelynotrazu @aphelei Since there are probably not a ton of hyprscrolling users, I'm curious if any of you can reproduce. I think I saw one other issue where someone mentioned visual glitches with hyprscrolling but don't remember where.
I know what you are talking about and can see the same, will need to check if i can reliably reproduce
Hm, I've not seen this, but I don't use focusworkspaceoncurrentmonitor just movecurrentworkspacetomonitor and every seems fine -- I've tried to spam moving things around to/from empty monitors/workpsaces (abliet without focusworkspaceoncurrentmonitor) and it seems to work fine for me / no glitches.
Tangentially, I did not know about focusworkspaceoncurrentmonitor -- "If you want XMonad/Qtile-style workspace switching" -- I used xmonad for several years (without knowing a lick of Haskell 😅 ) but then used i3wm for long enough that I've since forgotten if I liked the xmonad switching better. 🤔 :-)
I cannot reproduce it anymore.
@clotodex Did you use the steps I listed and focusworkspaceoncurrentmonitor? I can add a minimal full config if maybe other settings are relevant.
Almost I did both my reproduction as well as concretely with your steps But i am using the default config. Would need to retry that
Same issue. Seems like this also applies to opening a special workspace on a different monitor (Open on monitor A and put a window in, then go to monitor B and open it again)