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
18.58k stars 772 forks source link

[Bug] Moving Master panel sometimes breaks, later crashing Hyperland #5376

Open ayyEve opened 3 months ago

ayyEve commented 3 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch main at commit c377caee7abcd093fd09c386b20c32f291e86747 dirty (hyprerror: align 32-bit types after 4c796683c05a (5375)). Date: Mon Apr 1 16:18:18 2024 Tag: v0.38.0-1-gc377caee flags: (if any) System Information: System name: Linux Node name: proot Release: 6.8.2-zen2-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:20 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] [8086:3e92] (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

Sometimes when moving the master window, a child window will not replace it. image

If I try to move any child window to replace the master window "hole" in this state, hyprland will crash. If I try to rearrange any child windows when in this state, the window will lock up.

How to reproduce

It can happen randomly, but I'm able to fairly-consistently crash with the following method:

Crash reports, logs, images, videos

hyprlandCrashReport179055.txt https://github.com/hyprwm/Hyprland/assets/19354804/95bc8244-2c14-4b31-a1bf-c63f2b9f3dec

ayyEve commented 3 months ago

update: i had mixed up several different crashes in this originally, so i changed this issue to be one specific crash. also added repro steps, a crash report, and a video of the issue. can get asan logs if needed

vaxerski commented 3 months ago

can't repro. patch.txt try this tho

ayyEve commented 3 months ago

Okay so it no longer crashes, but it still doesn't replace the master window, and windows get stuck in a "floating" state where, once released, no longer accept any kind of input (including input to move the window around)

video: https://github.com/hyprwm/Hyprland/assets/19354804/362931f3-171b-4a64-83e2-b2529d97bc79

ayyEve commented 2 months ago

just wanted to quickly say that i just upgraded to hyprland 0.40 and wasnt able to replicate this, will let you know if it does break again tho Shame this isnt like zendesk where i can set the "ticket" to pending lol

ca5ua1 commented 1 day ago

Hi, can reproduce issue (no crush thou, but previously it was crushing) by opening OBS and closing screen sharing pop-up with OBS itself (via killactive) Same happened when appeared file transfer pop-ups from dolphin, it was 100% crush guess now it only causes tilling issues

Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: 2024-06-25
Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5

flags: (if any)