Open flip-rossi opened 7 months ago
can't repro. Please give exact repro steps instead of paraphrasing
can't repro. Please give exact repro steps instead of paraphrasing
Sorry, I didn't notice before but it only happens with move onscreen cursor
and not just move onscreen
.
I also added an example to make it easier to reproduce.
odd, still cant repro. tried with foot 2500x2500
Happens for me too with Kitty, it crashes. Hyprland continues to work though
Hyprland Version
System/Version info
```sh Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d (props: bump ver to 0.34.0). Date: Mon Jan 1 12:03:15 2024 Tag: v0.34.0 flags: (if any) ```Bug or Regression?
Bug
Description
Hyprland crashes when a window with
windowrulev2 = move onscreen cursor...
and larger than the display size is opened.How to reproduce
Open a floating window with
windowrulev2 = move onscreen cursor...
where the window + borders is larger than the display size.E.g., if I my active monitor is 1920x1080 and I have in my config:
If I open Alacritty, Hyprland will crash. This will happen for any window that opens with a width greater than 1916 or height greater than 1076.
Crash reports, logs, images, videos
hyprlandCrashReport
``` -------------------------------------------- Hyprland Crash Report -------------------------------------------- Calm down, it was a misinput! MISINPUT! Hyprland received signal 6 (Aborted) Version: 03ebbe18ed8517ee22591eac82cd54322f42cb7d Tag: v0.34.0 System info: System name: Linux Node name: laparch2k Release: 6.7.0-arch3-1 Version: #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 +0000 GPU: 63:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c7) (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://bugs.archlinux.org/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo Backtrace: #0 | Hyprland(_Z12getBacktracev+0x62) [0x58d031c5f412] ?? ??:0 #1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x5c5) [0x58d031c2c8a5] ?? ??:0 #2 | Hyprland(_Z25handleUnrecoverableSignali+0x4c) [0x58d031ba65ec] ?? ??:0 #3 | /usr/lib/libc.so.6(+0x3e710) [0x722699c5c710] ?? ??:0 #4 | /usr/lib/libc.so.6(+0x8e83c) [0x722699cac83c] ?? ??:0 #5 | /usr/lib/libc.so.6(raise+0x18) [0x722699c5c668] ?? ??:0 #6 | /usr/lib/libc.so.6(abort+0xd7) [0x722699c444b8] ?? ??:0 #7 | /usr/lib/libc.so.6(+0x27390) [0x722699c45390] ?? ??:0 #8 | /usr/lib/libc.so.6(+0x987b7) [0x722699cb67b7] ?? ??:0 #9 | /usr/lib/libc.so.6(+0x9aa74) [0x722699cb8a74] ?? ??:0 #10 | /usr/lib/libc.so.6(free+0x73) [0x722699cbb353] ?? ??:0 #11 | Hyprland(_ZN11CCompositorD1Ev+0x14f3) [0x58d031bac723] ?? ??:0 #12 | Hyprland(main+0x758) [0x58d031b8e228] ?? ??:0 #13 | /usr/lib/libc.so.6(+0x27cd0) [0x722699c45cd0] ?? ??:0 #14 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x722699c45d8a] ?? ??:0 #15 | Hyprland(_start+0x25) [0x58d031ba3815] ?? ??:0 Log tail: oard created, pointers Hypr: 7225e8184370 and WLR: 7225e85e1ad8 [LOG] Attached a keyboard with name Power Button [LOG] Registered signal for owner 7225e864b3f0: 7225e85f1060 -> 7225e864b3f8 (owner: Keyboard) [LOG] Registered signal for owner 7225e864b3f0: 7225e85f1050 -> 7225e864b460 (owner: Keyboard) [LOG] Registered signal for owner 7225e864b3f0: 7225e85f0f30 -> 7225e864b530 (owner: Keyboard) [LOG] Registered signal for owner 7225e864b3f0: 7225e85f1070 -> 7225e864b4c8 (owner: Keyboard) [LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0 [LOG] Attempting to create a keymap for layout us,pt,br with variant altgr-weur,, (rules: , model: , options: grp:alt_caps_toggle) [LOG] Set the keyboard layout to us,pt,br and variant to altgr-weur,, for keyboard "Power Button" [LOG] New keyboard created, pointers Hypr: 7225e864b3f0 and WLR: 7225e85f0f18 [LOG] Attached a switch device with name Lid Switch [LOG] New switch with name "Lid Switch" added [LOG] Registered signal for owner 7225e854ceb0: 7225e85b5688 -> 7225e854cec0 (owner: SwitchDevice) [LOG] Registered signal for owner 7225e854ceb0: 7225e85b56a8 -> 7225e854cf28 (owner: SwitchDevice) [LOG] Attached a keyboard with name Ideapad extra buttons [LOG] Registered signal for owner 7225e8183910: 7225e85b5a50 -> 7225e8183918 (owner: Keyboard) [LOG] Registered signal for owner 7225e8183910: 7225e85b5a40 -> 7225e8183980 (owner: Keyboard) [LOG] Registered signal for owner 7225e8183910: 7225e85b5920 -> 7225e8183a50 (owner: Keyboard) [LOG] Registered signal for owner 7225e8183910: 7225e85b5a60 -> 7225e81839e8 (owner: Keyboard) [LOG] ApplyConfigToKeyboard for "ideapad-extra-buttons", hasconfig: 0 [LOG] Attempting to create a keymap for layout us,pt,br with variant altgr-weur,, (rules: , model: , options: grp:alt_caps_toggle) [LOG] Set the keyboard layout to us,pt,br and variant to altgr-weur,, for keyboard "Ideapad extra buttons" [LOG] New keyboard created, pointers Hypr: 7225e8183910 and WLR: 7225e85b5908 [LOG] Attached a mouse with name SYNA0A00:00 06CB:CF00 Touchpad [LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2) [LOG] Applied config to mouse syna0a00:00-06cb:cf00-touchpad, sens 0.00 [LOG] Registered signal for owner 7225e8545270: 7225e855a0f0 -> 7225e8545330 (owner: Mouse) [LOG] New mouse created, pointer WLR: 7225e855a0d8 [LOG] Attached a mouse with name SYNA0A00:00 06CB:CF00 Mouse [LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2) [LOG] Applied config to mouse syna0a00:00-06cb:cf00-touchpad, sens 0.00 [LOG] Applied config to mouse syna0a00:00-06cb:cf00-mouse, sens 0.00 [LOG] Registered signal for owner 7225e85cdf60: 7225e85b9d10 -> 7225e85ce020 (owner: Mouse) [LOG] New mouse created, pointer WLR: 7225e85b9cf8 [LOG] Attached a keyboard with name AT Translated Set 2 keyboard [LOG] Registered signal for owner 7225e826e0e0: 7225e85ba460 -> 7225e826e0e8 (owner: Keyboard) [LOG] Registered signal for owner 7225e826e0e0: 7225e85ba450 -> 7225e826e150 (owner: Keyboard) [LOG] Registered signal for owner 7225e826e0e0: 7225e85ba330 -> 7225e826e220 (owner: Keyboard) [LOG] Registered signal for owner 7225e826e0e0: 7225e85ba470 -> 7225e826e1b8 (owner: Keyboard) [LOG] ApplyConfigToKeyboard for "at-translated-set-2-keyboard", hasconfig: 0 [LOG] Attempting to create a keymap for layout us,pt,br with variant altgr-weur,, (rules: , model: , options: grp:alt_caps_toggle) [LOG] Set the keyboard layout to us,pt,br and variant to altgr-weur,, for keyboard "AT Translated Set 2 keyboard" [LOG] New keyboard created, pointers Hypr: 7225e826e0e0 and WLR: 7225e85ba318 [LOG] NoFrameSchedule hit for eDP-1. [LOG] New TextInput added! [LOG] Registered signal for owner 7225e8543300: 7225e86786b8 -> 7225e8543318 (owner: textInput) [LOG] Registered signal for owner 7225e8543300: 7225e86786c8 -> 7225e85433e8 (owner: textInput) [LOG] Registered signal for owner 7225e8543300: 7225e86786d8 -> 7225e8543380 (owner: textInput) [LOG] Registered signal for owner 7225e8543300: 7225e86786e8 -> 7225e8543450 (owner: textInput) [LOG] Keybind triggered, calling dispatcher (65, , 113) ```and the following message appears on the terminal, if launching Hyprland from terminal: