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
21.56k stars 903 forks source link

Closing a floating window between two monitors doesn't "redraw" one monitor #5669

Closed pbosab closed 2 weeks ago

pbosab commented 6 months ago

Hyprland Version

System/Version info ``` Hyprland, built from branch main at commit 4ad739ec63c9a11f0537a884ae2a4c56d6bab10b (HookSystem: improve callback safety). Date: Sat Apr 20 21:16:42 2024 Tag: v0.39.1-17-g4ad739ec, commits: 4477 flags: (if any) System Information: System name: Linux Node name: xxx Release: 6.8.7-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:00 +0000 GPU information: 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (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: Hyprspace by KZdkm ver 0.1 ```

Bug or Regression?

Bug

Description

I've attached a video, after the clock in the bar start the second monitor. Making a window float between two monitors and closing it cause this behavior (on one monitor the window still apper till going on it with the mouse or a window).

How to reproduce

as in description.

Crash reports, logs, images, videos

https://github.com/hyprwm/Hyprland/assets/90603492/a8af7898-5fa2-4d97-9388-ab2d8b576b7a

Fxzzi commented 4 months ago

bumpies

Fxzzi commented 3 months ago

This also happens if a floating window goes over part of the 2nd screen, and you make it tile.

Fxzzi commented 3 weeks ago

this issue is still persisting on latest git.

https://github.com/user-attachments/assets/01988f36-a2b0-422b-9f09-e248f52bab2e

ikalco commented 3 weeks ago

can you try this patch.txt

Steven-- commented 3 weeks ago

Problem persists even with the provided patch.

Hyprland 0.44.0 built from branch main at commit 0e630e9e74ad34683194a07cfe6afe55a2c0685f dirty (session-lock: reset seat grab on a new session lock (8147)).
Date: Thu Oct 17 22:05:55 2024
Tag: v0.44.0-53-g0e630e9e, commits: 5352
built against aquamarine 0.4.2
Fxzzi commented 3 weeks ago

the issue actually seems to be fixed for me with the patch that @ikalco provided.

Steven-- commented 3 weeks ago

Upon re-testing, I cannot reproduce the issue anymore with the provided path. I suspect that I accidentally started the system's Hyprland rather than the one compiled from git. Sorry for the noise and thanks for the work!