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.65k stars 901 forks source link

Distorted hyprcursor after 0.40.0 update #6517

Closed Gigas002 closed 5 months ago

Gigas002 commented 5 months ago

Bug or Regression?

Bug

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 9e781040d9067c2711ec2e9f5b47b76ef70762b3 (props: bump version to 0.41.1). Date: Thu Jun 13 09:54:06 2024 Tag: v0.41.1, commits: 4818 flags: (if any) System Information: System name: Linux Node name: gigas-acer Release: 6.9.4-x64v3-xanmod1 Version: #0~20240612.gadde0ab SMP PREEMPT_DYNAMIC Wed Jun 12 20:03:38 UTC GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1) (prog-if 00 [VGA controller]) 06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c6) (prog-if 00 [VGA controller]) os-release: NAME="Manjaro Linux" PRETTY_NAME="Manjaro Linux" ID=manjaro ID_LIKE=arch BUILD_ID=rolling ANSI_COLOR="32;1;24;144;200" HOME_URL="https://manjaro.org/" DOCUMENTATION_URL="https://wiki.manjaro.org/" SUPPORT_URL="https://forum.manjaro.org/" BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/" PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/" LOGO=manjarolinux plugins: ```

Description

As title says, after 0.40.0 update the hyprcursor is looking distorted comparing to xcursor (was working fine before update). I'm setting cursors through config this way:

# GTK cursors
# https://wiki.archlinux.org/title/GTK
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Sweet-cursors'
exec = gsettings set org.gnome.desktop.interface cursor-size 20
env = XCURSOR_THEME,Sweet-cursors
env = XCURSOR_SIZE,20

# hyprcursors
exec = hyprctl setcursor Sweet-cursors-hyprcursor 20
env = HYPRCURSOR_THEME,Sweet-cursors-hyprcursor
env = HYPRCURSOR_SIZE,20

Example of xcursor (1st one) and hyprcursor (2nd one) to see the difference:

image image

This is only one example, but you get the gist. The hyprcursors's size also considerably smaller than xcursor variant.

The actual hyprcursor files are not distorted, e.g this is the same cursor file from /usr/share/icons/Sweet-cursors-hyprcursor/hyprcursors/pointer.hlc/pointer_002.png

pointer_002

Maybe related to #6320?

How to reproduce

Build the hyprcursors from raw files with PKGBUILD or just install this package

Crash reports, logs, images, videos

conf.txt

vaxerski commented 5 months ago

can you try a different hyprcursor theme to rule out a problem with the theme?

Gigas002 commented 5 months ago

Hmm, I tried out the rose-pine-hyprcursor and it works fine. I guess the problem is the theme specific after all... I also tried out the nordzy-cursors, since these are packages as .png files just like my theme, but these works good too.

vaxerski commented 5 months ago

can you zip the buggy theme and attach it?

Gigas002 commented 5 months ago

Sure thing

Sweet-cursors-hyprcursor.zip

vaxerski commented 5 months ago

image

https://standards.hyprland.org/hyprcursor/

20240616_17h44m33s

ripbozo, theme is not to spec