hyprland-plugins icon indicating copy to clipboard operation
hyprland-plugins copied to clipboard

Hyprscrolling: Previously displayed window shows/flickers on empty desktop in multi-monitor setup

Open noctuid opened this issue 3 months ago • 6 comments

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 2
    • hyprctl 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.

noctuid avatar Sep 22 '25 22:09 noctuid

I know what you are talking about and can see the same, will need to check if i can reliably reproduce

clotodex avatar Sep 23 '25 05:09 clotodex

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. 🤔 :-)

stephenh avatar Sep 24 '25 04:09 stephenh

I cannot reproduce it anymore.

clotodex avatar Oct 15 '25 11:10 clotodex

@clotodex Did you use the steps I listed and focusworkspaceoncurrentmonitor? I can add a minimal full config if maybe other settings are relevant.

noctuid avatar Oct 15 '25 12:10 noctuid

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

clotodex avatar Oct 15 '25 12:10 clotodex

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)

Perodactyl avatar Oct 20 '25 21:10 Perodactyl