hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
20.02k stars 851 forks source link

[BUG] Monitor window rule fails #6221

Open v4u6h4n opened 4 months ago

v4u6h4n commented 4 months ago

Hyprland Version

System/Version info ```sh 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: desktop-0 Release: 6.9.1-arch1-2 Version: #1 SMP PREEMPT_DYNAMIC Wed, 22 May 2024 13:47:07 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) 13:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c9) (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: ```

Bug or Regression?

Bug

Description

Hey everyone :-)

I've been having some issues with getting monitor window rules working without an workspace window rule assigned as well. I have applied the following rule:

windowrulev2 = monitor DP-2, class:^(org.qbittorrent.qBittorrent)$

I can confirm that the initial window class and the window class are always org.qbittorrent.qBittorrent in incidents where the windowrule doesnt apply successfully, so that isn't the issue. And it seems to only occur once after an initial system boot and when a workspace rule isn't assigned to the same window.

How to reproduce

I'm not quite sure, but I think it may be the result of assigning a monitor rule but not workspace rule.

Crash reports, logs, images, videos

No response

vaxerski commented 4 months ago

can you try on git

v4u6h4n commented 4 months ago

groans guess it's about time I do :-)

okay, just switched to git and I'm seeing the same issue.