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
19.71k stars 837 forks source link

Kicad cursor doesn't align with hyprland #5078

Closed kyanch closed 6 months ago

kyanch commented 6 months ago

Hyprland Version

System/Version info ## Hyprland version ```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: WSA Release: 6.7.9-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev e5) (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: ``` ## KiCAD version ```sh Application: KiCad Schematic Editor x86_64 on x86_64 Version: 8.0.0, release build Libraries: wxWidgets 3.2.4 FreeType 2.13.2 HarfBuzz 8.3.0 FontConfig 2.15.0 libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.60.0 nghttp3/1.2.0 Platform: Arch Linux, 64 bit, Little endian, wxGTK, Wayland, , wayland Build Info: Date: Mar 9 2024 23:30:49 wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.83.0 OCC: 7.7.2 Curl: 8.6.0 ngspice: 42 Compiler: GCC 13.2.1 with C++ ABI 1018 Build settings: KICAD_USE_EGL=ON ```

Bug or Regression?

Bug

Description

KiCad displays a crosshair cursor within its drawing window, which does not align with Hyprland's cursor, as shown in the screenshots below. the KiCad's crosshair cursor actually work for drawing , and the UI buttons interact properly with the Hyprland cursor. I have tested on Sway, where everything works perfectly.

I have tested it on sway, which works perfectly. actually, KiCad 7.10 (running on xwayland) has the same problem (also works perfectly on sway). I upgraded KiCad to 8.0 running on wayland native, but the problem persists.

I'm not sure how to diagnose this issue. Has anyone else encountered this problem, or can anyone offer any possible suggestions?

image image

How to reproduce

run kicad on hyprland

Crash reports, logs, images, videos

hypr log and journalctl seems doesn't show any meaningful message?

vaxerski commented 6 months ago

you're on 0.36 and bugs similar were fixed in git.