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.75k stars 900 forks source link

Big cursor in gtk4 wayland apps #8018

Closed fereline0 closed 1 month ago

fereline0 commented 1 month ago

Already reported ? *

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 0f594732b063a90d44df8c5d402d658f27471dfe (props: bump version to 0.43.0). Date: Sun Sep 8 16:48:21 2024 Tag: v0.43.0, commits: 5196 flags: (if any) System Information: System name: Linux Node name: cachyos-x8664 Release: 6.11.1-2-cachyos Version: #1 SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 17:37:48 +0000 GPU information: 10:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1650] [10de:2188] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 560.35.03 Release Build (notroot@67402307c0fb) Mon Sep 30 17:48:04 UTC 2024 os-release: NAME="CachyOS Linux" PRETTY_NAME="CachyOS" ID=cachyos ID_LIKE=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://cachyos.org/" DOCUMENTATION_URL="https://wiki.cachyos.org/" SUPPORT_URL="https://forum.cachyos.org/" BUG_REPORT_URL="https://github.com/cachyos" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=cachyos plugins: ======Config-Start====== Config File: /home/fereline/.config/hypr/hyprland.conf: Read Succeeded source = ~/.config/hypr/myColors.conf source = ~/.config/hypr/globals.conf monitor=,2560x1440@75,auto,1 exec-once = systemctl --user import-environment & exec-once = hash dbus-update-activation-environment 2>/dev/null & exec-once = dbus-update-activation-environment --systemd & exec-once = wl-paste -t text --watch clipman store --no-persist exec-once = swaybg -o \* -i $pathToWallpaper -m fill exec-once = waybar -c .config/waybar/config-hypr & exec-once = fcitx5 -d & exec-once = nm-applet --indicator & exec-once = /usr/lib/polkit-kde-authentication-agent-1 & general { gaps_in = 5 gaps_out = 5 border_size = 2 resize_on_border = true col.active_border = $activeBorder col.inactive_border = $inactiveBorder layout = dwindle } decoration { rounding = 12 blur { enabled = true size = 15 passes = 2 new_optimizations = true xray = true ignore_opacity = false } drop_shadow = false } input { kb_layout = us,ru kb_variant = kb_model = kb_options = grp:win_space_toggle, kb_rules = follow_mouse = 1 float_switch_override_focus = 2 touchpad { natural_scroll = no } sensitivity = 0 } animations { enabled = yes bezier = overshot, 0.13, 0.99, 0.29, 1.1 animation = windows, 1, 4, overshot, slide animation = windowsOut, 1, 5, default, popin 80% animation = border, 1, 5, default animation = fade, 1, 8, default animation = workspaces, 1, 6, overshot, slide } dwindle { pseudotile = true preserve_split = true } master { new_status = master } misc { force_default_wallpaper = -1 disable_hyprland_logo = false } gestures { workspace_swipe = false } device { name = epic-mouse-v1 sensitivity = -0.5 } $mainMod = SUPER bind = $mainMod, RETURN, exec, $terminal bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f - bind = $mainMod, Q, killactive, bind = $mainMod SHIFT, M, exit, bind = $mainMod, G, togglefloating, bind = $mainMod, SUPER_L, exec, $launcher bind = $mainMod, V, exec, clipman pick -t rofi bind = $mainMod, F, fullscreen bind = $mainMod, Y, pin bind = $mainMod, K, togglegroup, bind = $mainMod, Tab, changegroupactive, f bind = , Print, exec, grim - | swappy -f - bind = , F9, exec, amixer sset Capture toggle | dunstify "Input: $(sed -E -n '/\[on\]/ s/.*\[([0-9]+)%\].*/\1/ p; /\[off\]/ s/.*/0/p' | head -1)%" -r 9822 -h int:value:"$(sed -E -n '/\[on\]/ s/.*\[([0-9]+)%\].*/\1/ p; /\[off\]/ s/.*/0/p' | head -1)" bind=,XF86AudioLowerVolume,exec,pamixer -ud 2 && dunstify "Output: $(pamixer --get-volume-human)" -r 9823 -h int:value:"$(pamixer --get-volume-human)" bind=,XF86AudioRaiseVolume,exec,pamixer -ui 2 && dunstify "Output: $(pamixer --get-volume-human)" -r 9823 -h int:value:"$(pamixer --get-volume-human)" bind=,XF86AudioMute,exec,amixer sset Master toggle && dunstify "Output: $(pamixer --get-volume-human)" -r 9823 -h int:value:"$(pamixer --get-volume-human)" bind=,XF86AudioPlay,exec, playerctl play-pause bind=,XF86AudioNext,exec, playerctl next bind=,XF86AudioPrev,exec, playerctl previous bind = , XF86MonBrightnessUp, exec, brightnessctl s +5% bind = , XF86MonBrightnessDown, exec, brightnessctl s 5%- bind = $mainMod SHIFT, P, exec, gnome-calculator bind = $mainMod, L, exec, hyprlock bind = $mainMod, O, exec, killall -SIGUSR2 waybar bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 bind = $mainMod, period, workspace, e+1 bind = $mainMod, comma, workspace,e-1 bind = $mainMod, minus, movetoworkspace,special bind = $mainMod, equal, togglespecialworkspace bind = $mainMod SHIFT,left ,movewindow, l bind = $mainMod SHIFT,right ,movewindow, r bind = $mainMod SHIFT,up ,movewindow, u bind = $mainMod SHIFT,down ,movewindow, d bind = $mainMod CTRL, 1, movetoworkspace, 1 bind = $mainMod CTRL, 2, movetoworkspace, 2 bind = $mainMod CTRL, 3, movetoworkspace, 3 bind = $mainMod CTRL, 4, movetoworkspace, 4 bind = $mainMod CTRL, 5, movetoworkspace, 5 bind = $mainMod CTRL, 6, movetoworkspace, 6 bind = $mainMod CTRL, 7, movetoworkspace, 7 bind = $mainMod CTRL, 8, movetoworkspace, 8 bind = $mainMod CTRL, 9, movetoworkspace, 9 bind = $mainMod CTRL, 0, movetoworkspace, 10 bind = $mainMod CTRL, left, movetoworkspace, -1 bind = $mainMod CTRL, right, movetoworkspace, +1 bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 bind = $mainMod, mouse_down, workspace, e-1 bind = $mainMod, mouse_up, workspace, e+1 bind = $mainMod,slash,workspace,previous bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindowz layerrule = blur, waybar layerrule = ignorezero, waybar layerrule = blur, rofi layerrule = ignorezero, rofi windowrulev2 = suppressevent maximize, class:.* Config File: /home/fereline/.config/hypr/myColors.conf: Read Succeeded $mainBg = rgba(0, 0, 0, 0) $mainFg = rgb(255, 255, 255) $activeBorder = rgb(eb99ff) $inactiveBorder = rgba(00000000) Config File: /home/fereline/.config/hypr/globals.conf: Read Succeeded $terminal = alacritty $launcher = rofi -show drun -show-icons -modi drun,run $pathToWallpaper = /home/fereline/Pictures/siluet_odinochestvo_art_139903_3840x2160.jpg ```

Description

In applications on GTK 4 running as I tested under wayland, the cursor is the same large size and pixelated as in xwayland apps, tested on nautilus and cassette (yandex music), change сursor size using gsettings set org.gnome.desktop.interface cursor-size 24 and changing via env, nothing helped

How to reproduce

Just run applications on GTK4, tested on nautilus and cassette

Crash reports, logs, images, videos

image

fereline0 commented 1 month ago

Установите как XCURSOR_THEME, так и XCURSOR_SIZE vars.

I already wrote this in ENV, no reaction, it remained big and blurry

vaxerski commented 1 month ago

gsettings needs to be set too.

Please read the wiki: https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/#important-notes

also refer to arch wiki https://wiki.archlinux.org/title/Cursor_themes