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.97k stars 913 forks source link

Crash when change from tablet to mouse in Xournal++ and Rnote #6768

Closed charlesneimog closed 5 months ago

charlesneimog commented 5 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) System Information: System name: Linux Node name: arch Release: 6.6.36-1-lts Version: #1 SMP PREEMPT_DYNAMIC Thu, 27 Jun 2024 12:26:27 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-U GT2 [UHD Graphics] [8086:9b41] (rev 02) (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: ======Config-Start====== Config File: /home/neimog/.config/hypr/hyprland.conf: Read Succeeded #╭──────────────────────────────────────╮ #│ Monitors │ #╰──────────────────────────────────────╯ monitor= eDP-1, preferred, 0x0, 1, bitdepth,10 # monitor= HDMI-A-1, preferred,auto,1 # external monitor monitor=HDMI-A-1,preferred,auto,1,mirror,eDP-1 workspace = 10, monitor:HDMI-A-1 #╭──────────────────────────────────────╮ #│ External Files │ #╰──────────────────────────────────────╯ source = ~/.config/hypr/mocha.conf source = ~/.config/hypr/keybinds.conf source = ~/.config/hypr/startup.conf source = ~/.config/hypr/windowrule.conf #╭──────────────────────────────────────╮ #│ Enviroment Variables │ #╰──────────────────────────────────────╯ env = WLR_DRM_DEVICES,/dev/dri/card1 env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_QPA_PLATFORM,wayland #╭──────────────────────────────────────╮ #│ Inputs │ #╰──────────────────────────────────────╯ # ─────────────── Keyboard ───────────── input { kb_layout = br numlock_by_default = true follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } # ──────────────── Cursos ──────────────── cursor { no_hardware_cursors = true } input { tablet { transform = 0 output = eDP-1 } } #╭──────────────────────────────────────╮ #│ General │ #╰──────────────────────────────────────╯ general { gaps_in = 2 gaps_out = 5 border_size = 1 col.active_border = rgba(FF0000FF) col.inactive_border = rgba(FFFFFFFF) no_border_on_floating = true #no_cursor_warps = true layout = dwindle resize_on_border = true } #╭──────────────────────────────────────╮ #│ Decorations │ #╰──────────────────────────────────────╯ # decoration { # rounding = 8 # drop_shadow = false # blur { # enabled = false # } # } decoration { drop_shadow = false shadow_range=100 shadow_render_power=8 col.shadow= 0x33000000 col.shadow_inactive=0x22000000 rounding=5 blur { enabled = false } } animations { enabled=1 bezier=overshot,0.13,0.99,0.29,1.1 animation=windows,1,5,overshot,slide animation=border,1,1,default animation=fade,1,3,default animation=workspaces,1,6,overshot,slidevert } #╭──────────────────────────────────────╮ #│ Animations │ #╰──────────────────────────────────────╯ # animations { # enabled = true # animation = windowsOut, 1, 3, default, #popin 50% # animation = windowsIn, 1, 3, default, #popin 50% # animation = windowsMove, 1, 4, default # animation = border, 0, 2, default # animation = borderangle, 0, 2, default # animation = fade, 1, 2, default # animation = workspaces, 1, 2, default # } #╭──────────────────────────────────────╮ #│ Master Window │ #╰──────────────────────────────────────╯ master { # new_on_top = true smart_resizing = true } #╭──────────────────────────────────────╮ #│ Extra │ #╰──────────────────────────────────────╯ misc { vfr = 1 vrr = 1 disable_splash_rendering = false disable_hyprland_logo = true enable_swallow = false focus_on_activate = true no_direct_scanout = true animate_mouse_windowdragging = true } #╭──────────────────────────────────────╮ #│ Gestures │ #╰──────────────────────────────────────╯ gestures { workspace_swipe=yes workspace_swipe_fingers=3 } dwindle { pseudotile=1 # enable pseudotiling on dwindle force_split=0 preserve_split=1 } Config File: /home/neimog/.config/hypr/mocha.conf: Read Succeeded $rosewaterAlpha = f5e0dc $flamingoAlpha = f2cdcd $pinkAlpha = f5c2e7 $mauveAlpha = cba6f7 $redAlpha = f38ba8 $maroonAlpha = eba0ac $peachAlpha = fab387 $yellowAlpha = f9e2af $greenAlpha = a6e3a1 $tealAlpha = 94e2d5 $skyAlpha = 89dceb $sapphireAlpha = 74c7ec $blueAlpha = 89b4fa $lavenderAlpha = b4befe $textAlpha = cdd6f4 $subtext1Alpha = bac2de $subtext0Alpha = a6adc8 $overlay2Alpha = 9399b2 $overlay1Alpha = 7f849c $overlay0Alpha = 6c7086 $surface2Alpha = 585b70 $surface1Alpha = 45475a $surface0Alpha = 313244 $baseAlpha = 1e1e2e $mantleAlpha = 181825 $crustAlpha = 11111b $transparent = 00000000 Config File: /home/neimog/.config/hypr/keybinds.conf: Read Succeeded #╭──────────────────────────────────────╮ #│ Execute Something │ #╰──────────────────────────────────────╯ bind = , print, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png') bind = SUPER,t, exec, bash -c ". ~/.config/hypr/functions.sh translate_selection" bind = SUPER, a, exec, $notifycmd 'Toggled Special Workspace' bind = SUPER, D, exec, killall rofi || rofi -show drun -show-icons -icon-theme "Tela-circle" -theme $HOME/.config/rofi/files/launchers/type-7/style-2.rasi bind = SUPER, E, exec, nautilus bind = SUPER, L, exec, pidof hyprlock || hyprlock bind = SUPER, Return, exec, wezterm-gui bind = SUPER, V, exec, killall rofi || cliphist list | rofi -dmenu -theme $HOME/.config/rofi/files/launchers/type-7/style-1.rasi | cliphist decode | wl-copy #╭──────────────────────────────────────╮ #│ Commands │ #╰──────────────────────────────────────╯ bind = ALT, F4, killactive, bind = SUPER, Q, killactive, # Logout bind = SUPER SHIFT, Q, exit, #╭──────────────────────────────────────╮ #│ Move Window │ #╰──────────────────────────────────────╯ bind = SUPER, c, exec, hyprctl dispatch centerwindow bind = SUPER SHIFT, B, exec, wlogout # Focus bind = SUPER, h, movefocus, l bind = SUPER, l, movefocus, r bind = SUPER, k, movefocus, u bind = SUPER, j, movefocus, d # Move to workspace bind = SUPER, 1, workspace, 1 bind = SUPER, 2, workspace, 2 bind = SUPER, 3, workspace, 3 bind = SUPER, 4, workspace, 4 bind = SUPER, 5, workspace, 5 bind = SUPER, 6, workspace, 6 bind = SUPER, 7, workspace, 7 bind = SUPER, 8, workspace, 8 bind = SUPER, 9, workspace, 9 bind = SUPER, 0, workspace, 10 # Move to another workspace bind = SUPER SHIFT, 1, movetoworkspace, 1 bind = SUPER SHIFT, 2, movetoworkspace, 2 bind = SUPER SHIFT, 3, movetoworkspace, 3 bind = SUPER SHIFT, 4, movetoworkspace, 4 bind = SUPER SHIFT, 5, movetoworkspace, 5 bind = SUPER SHIFT, 6, movetoworkspace, 6 bind = SUPER SHIFT, 7, movetoworkspace, 7 bind = SUPER SHIFT, 8, movetoworkspace, 8 bind = SUPER SHIFT, 9, movetoworkspace, 9 bind = SUPER SHIFT, 0, movetoworkspace, 10 # Move split place bind = SUPER SHIFT, h, movewindow, l bind = SUPER SHIFT, l, movewindow, r bind = SUPER SHIFT, k, movewindow, u bind = SUPER SHIFT, j, movewindow, d # resize bind = SUPER CTRL, h, resizeactive, -20 0 bind = SUPER CTRL, l, resizeactive, 20 0 bind = SUPER CTRL, k, resizeactive, 0 -20 bind = SUPER CTRL, j, resizeactive, 0 20 # Dispatchers bind = SUPER, F, fullscreen, bind = SUPER SHIFT, F, alterzorder, bind = SUPER, Space, togglefloating, bind = SUPER, P, pseudo, bind = SUPER, S, togglesplit, #╭──────────────────────────────────────╮ #│ Fn Keys │ #╰──────────────────────────────────────╯ binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindl=, XF86MonBrightnessUp, exec, brightnessctl set 2%+ bindl=, XF86MonBrightnessDown, exec, brightnessctl set 2%- Config File: /home/neimog/.config/hypr/startup.conf: Read Succeeded exec-once = bash -c ". ~/.config/hypr/functions.sh && fetch_bing_wallpaper" && hyprpaper exec-once = hypridle exec-once = waybar --config /home/neimog/.config/waybar/config.json exec-once = swaync exec-once=hyprctl setcursor default 24 exec-once=gsettings set org.gnome.desktop.interface cursor-size '24' exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3' && gsettings set org.gnome.desktop.interface color-scheme 'default' exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store Config File: /home/neimog/.config/hypr/windowrule.conf: Read Succeeded windowrulev2 = float,title:^(Picture-in-Picture)$ windowrulev2 = float,class:^(download)$ windowrulev2 = float,class:^(error)$ windowrulev2 = float,title:^(Open File)$ windowrulev2 = float,title:^(branchdialog)$ windowrulev2 = float,title:^(Confirm to replace files) windowrulev2 = float,title:^(File Operation Progress) windowrulev2 = float,title:^(Choose file to open) windowrulev2 = float,class:^(VST Editor Window)$ windowrulev2 = float,class:^(Rofi)$ # initialClass == plugdata and pid != windowrulev2 = fullscreen,initialClass:^(plugdata)$,pid:! # plugdata #╭──────────────────────────────────────╮ #│ WORKSPACES │ #╰──────────────────────────────────────╯ # ───────────── Workspace 1 ─────────── # Internet windowrulev2 = workspace 1, class:^(brave-browser)$ # ───────────── Workspace 2 ─────────── # Terminal windowrulev2 = workspace 2, class:^(org.wezfurlong.wezterm)$ # ───────────── Workspace 3 ─────────── # File Browser windowrulev2 = workspace 3, class:^(org.gnome.Nautilus)$ # ───────────── Workspace 4 ─────────── # Audio windowrulev2 = workspace 4, class:^(plugdata)$ windowrulev2 = workspace 4, class:^(PdWindow)$ windowrulev2 = workspace 4, class:^(PatchWindow)$ windowrulev2 = workspace 4, class:^(pavucontrol)$ # ───────────── Workspace 5 ─────────── # Notas windowrulev2 = workspace 5, class:^(anytype)$ # ───────────── Workspace 6 ─────────── # PDF/Leitura windowrulev2 = workspace 6, class:^(org.kde.okular)$ windowrulev2 = workspace 6, class:^(evince)$ windowrulev2 = workspace 6, class:^(zathura)$ windowrulev2 = workspace 6, class:^(org.pwmt.zathura)$ ======Config-End======== ```

Description

Always I am using my wacon tablets to draw something and then change to mouse or touchpad rnote and xournal++ crash. I believe this is related with Hyprland, sorry if not.

How to reproduce

Plug a tablet (I am using a wacon), then open xournal++ or rnote. Draw something with the tablet then move your mouse/touchpad. The program crash!

Crash reports, logs, images, videos

I have no crash reports.

https://github.com/hyprwm/Hyprland/assets/31707161/a392ceb0-be52-4fe7-bddf-ef9468d4170f

Agent00Ming commented 5 months ago

6312 fixed by #6761. Try latest git. :)