Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Unintended window and workspace mismatch (multi monitor)

Open fxzzi opened this issue 9 months ago • 0 comments

Hyprland Version

System/Version info
Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)


System Information:
System name: Linux
Node name: Kappa
Release: 6.9.1-zen1-1.1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 17 May 2024 23:13:32 +0000


GPU information: 
07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070] [10de:2484] (rev a1) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:
  XWayland Primary Display by Zakk ver 1.0

Bug or Regression?

Bug

Description

On multi monitor setups, there are times when the focussed window and the focussed workspace can become mismatched. For example, there are chances where you can have a window on monitor 2 focussed whilst having the workspace on monitor 1 focussed (new windows will spawn on monitor 1, which seems unintentional, I would expect workspace and window focus to always be matched.

How to reproduce

  • no_cursor_warps = true
  • Use Mod Shift Arrow keys to move window between monitors. Ensure each monitor has at least one window. I have no idea why but moving a window between monitors which are empty (other than the window we are moving around) works fine. This bug is only triggered when there is at least one window open other than the window we are moving around.
  • Observe that while moving the window between the monitors, workspace focus and window focus become mismatched. You will be able to tell from waybar indicating your focussed workspace and also you will be able to tell once the window will be stuck in limbo and unable to be moved back to the other monitor
  • Sorry for the wack explanation. If you're having trouble repro pls let me know I will be happy to elaborate. It's just really weird to explain

Crash reports, logs, images, videos

No response

fxzzi avatar May 18 '24 20:05 fxzzi