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.41k stars 769 forks source link

Sticky key in Krita #5069

Open LimticRage opened 4 months ago

LimticRage commented 4 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch HEAD at commit 1c460e98f870676b15871fe4e5bfeb1a32a3d6d8 (props: bump ver to 0.36.0). Date: Wed Feb 28 00:32:40 2024 Tag: v0.36.0 flags: (if any) System Information: System name: Linux Node name: bunny-pc Release: 6.7.6-201.fsync.fc39.x86_64 Version: #1 SMP PREEMPT_DYNAMIC TKG Wed Feb 28 02:20:59 UTC 2024 GPU information: 29:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6950 XT] [1002:73a5] (rev c0) (prog-if 00 [VGA controller]) os-release: NAME="Nobara Linux" VERSION="39 (KDE Plasma)" ID=nobara ID_LIKE="rhel centos fedora" VERSION_ID=39 VERSION_CODENAME="" PLATFORM_ID="platform:f39" PRETTY_NAME="Nobara Linux 39 (KDE Plasma)" ANSI_COLOR="0;38;2;60;110;180" LOGO=nobara-logo-icon CPE_NAME="cpe:/o:nobaraproject:nobara:39" DEFAULT_HOSTNAME="nobara" HOME_URL="https://nobaraproject.org/" DOCUMENTATION_URL="https://www.nobaraproject.org/" SUPPORT_URL="https://www.nobaraproject.org/" BUG_REPORT_URL="https://gitlab.com/gloriouseggroll/nobara-images" REDHAT_BUGZILLA_PRODUCT="Nobara" REDHAT_BUGZILLA_PRODUCT_VERSION=39 REDHAT_SUPPORT_PRODUCT="Nobara" REDHAT_SUPPORT_PRODUCT_VERSION=39 SUPPORT_END=2024-05-14 VARIANT="KDE Plasma" VARIANT_ID=kde plugins: ```

Bug or Regression?

Bug

Description

There is an issue with sticky keys using the drawing software Krita while using a wacom tablet, i have already made a bug report on krita side and it seems to be a Sway/Hyprland issue.

The "Shift + pen drag" (resize the brush tip) doesn't stop when releasing the "shift" modifier, have to press "space" (move canvas hotkey) to unstick it.

This is the bug report https://bugs.kde.org/show_bug.cgi?id=483254

Quote: "- Sway/Hyprland way to handle libinput for apps running on Xwayland windows (if you can still reproduce with the latest appimage, report to them)."

How to reproduce

  1. Use a graphic tablet + pen with OpenTabletDriver (ArtistMode)
  2. (In Krita) press SHIFT + Drag pen on tablet (left/right)
  3. Release the SHIFT modifier

Crash reports, logs, images, videos

No response

EmiOnGit commented 4 months ago

Can confirm this behaviour on my end too.

rush-treble commented 3 months ago

Same issue, except I do not use OpenTabletDriver. However, I found a workaround.

In Krita, go to Settings -> General -> Brush Cursor Icon, then set it to anything. The bug only happens when the Brush Cursor Icon is set to "No Cursor".

LimticRage commented 4 weeks ago

Update Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886

For me the sticky key is gone, nice! I'm on Nobara 40