hyprwm / Hyprland

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

Left click, right click, and window selection stop working randomly #6551

Open Zaedus opened 2 weeks ago

Zaedus commented 2 weeks ago

Bug or Regression?

Bug

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 2566d818848b58b114071f199ffe944609376270 (). Date: 2024-06-16 Tag: , commits: flags: (if any) System Information: System name: Linux Node name: finch Release: 6.6.31 Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri May 17 10:02:40 UTC 2024 GPU information: os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240607.051f920" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuña)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuña)" VERSION_CODENAME="vicuña" VERSION_ID="24.11" plugins: ======Config-Start====== Config File: /home/cs/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/bnipzdfv788l7yvgn7k7s7gp76sd1zpz-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop graphical-session.target && systemctl --user start hyprland-session.target $mod=SUPER dwindle { force_split=2 } general { border_size=2 col.active_border=rgba(4AECB1ff) rgba(f2e08fff) 45deg } input { touchpad { natural_scroll=false tap-to-click=true } follow_mouse=2 kb_layout=us mouse_refocus=false } misc { disable_hyprland_logo=true disable_splash_rendering=true } bind=$mod, Return, exec, kitty bind=$mod, f, exec, kfirefox bind=$mod, Space, exec, sh -c "$(tofi-drun)" bind=$mod SHIFT, q, exit bind=$mod, q, killactive bind=, XF86MonBrightnessUp, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl s 5%+ bind=, XF86MonBrightnessDown, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl s 5%- bind=, XF86AudioRaiseVolume, exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ +5% bind=, XF86AudioLowerVolume, exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-sink-volume @DEFAULT_SINK@ -5% bind=, XF86AudioMute, exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle bind=SHIFT, XF86AudioMute, exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle bind=, XF86AudioMicMute, exec, /nix/store/pn9glkalcj7i5p549dpsl1c46pkb13xr-pulseaudio-17.0/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle bind=$mod, 1, workspace, 1 bind=$mod SHIFT, 1, movetoworkspacesilent, 1 bind=$mod, 2, workspace, 2 bind=$mod SHIFT, 2, movetoworkspacesilent, 2 bind=$mod, 3, workspace, 3 bind=$mod SHIFT, 3, movetoworkspacesilent, 3 bind=$mod, 4, workspace, 4 bind=$mod SHIFT, 4, movetoworkspacesilent, 4 bind=$mod, 5, workspace, 5 bind=$mod SHIFT, 5, movetoworkspacesilent, 5 bind=$mod, 6, workspace, 6 bind=$mod SHIFT, 6, movetoworkspacesilent, 6 bind=$mod, 7, workspace, 7 bind=$mod SHIFT, 7, movetoworkspacesilent, 7 bind=$mod, 8, workspace, 8 bind=$mod SHIFT, 8, movetoworkspacesilent, 8 bind=$mod, 9, workspace, 9 bind=$mod SHIFT, 9, movetoworkspacesilent, 9 exec=/nix/store/xljiwmpxdfyjnz6g6ikdi57jjcbssiyw-swaybg-1.2.1/bin/swaybg -i /nix/store/fyjlnk317ng6ib9gsxal405552f30hd5-radium.png --mode fill monitor=eDP-1,1920x1080@60,0x0,1 ======Config-End======== ```

Description

Randomly, my touchpad buttons stop working and I can unfocus on a window no matter how much I move my mouse and click on other windows. I'm on NixOS so I've switched to the official flake, messed around with my settings a bunch, but I can't fix it and can't find anyone who's had a similar issue. I'm suspicious that Hyprland thinks I'm holding the left mouse button while on a window, but I'm not sure how to prove that. As you can see in the following video, I'm clicking, but unable to actual affect anything in Hyprland.

https://github.com/hyprwm/Hyprland/assets/42098470/e957ab96-bd15-4ae2-9d40-6205e68003ef

How to reproduce

Absolutely no clue.

Crash reports, logs, images, videos

No response

vafu commented 1 week ago

Same here, happens once in a while, the apps just don't receive touchpad events at all. Like can't click links in chrome or select text in foot.