Hyprland
Hyprland copied to clipboard
Cursor disappears
Hyprland Version
System/Version info
Hyprland, built from branch main at commit 70ebc3add3b941a52f460f02129ef0842f580ec7 dirty (sessionLock: call wlr_surface_map/_unmap on the surface manually).
Date: Wed May 1 04:59:07 2024
Tag: v0.39.1-115-g70ebc3ad, commits: 4575
flags: (if any)
System Information:
System name: Linux
Node name: Arch
Release: 6.8.8-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Sun, 28 Apr 2024 15:59:30 +0000
GPU information:
64:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c7) (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:
Bug or Regression?
Bug
Description
On some sites, the cursor disappears when placed on an image.
How to reproduce
Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/39702328/f8778949-4bb0-4d6e-8113-2be60720f749
well...
Looks like an issue with the cursor theme?
well...
Looks like an issue with the cursor theme?
hyprland stable version in firefox and chromium cursor display, hyprland-git version firefox cursor display, chromium browser cursor disappears.
tested again with chromium (I am on git) and the cursor is not disappearing. Have you tried a different theme? Are you using hyprcursor?
Can repro with --enable-features=UseOzonePlatform --ozone-platform=wayland flags, happens only with some shapes like zoom_in/out or ew_resize
Can repro with
--enable-features=UseOzonePlatform --ozone-platform=waylandflags, happens only with some shapes like zoom_in/out or ew_resize
yes
tested again with chromium (I am on git) and the cursor is not disappearing. Have you tried a different theme? Are you using hyprcursor?
chromium works under xwayland, it disappears in wayland, use chromium --enable-features=UseOzonePlatform --ozone-platform=wayland to enable wayland.
works on my end in both modes. Again, have you tried a different theme? Are you using hyprcursor?
Happens on all themes I have installed (Bibata, Adwaita and Breeze). Hyprcursor is disabled.
If I enable hyprcursor and set theme to hypr_Bibata_Modern_Ice, not only chromium, but also other wayland-native apps stop showing most shapes and fall back to default shape (most noticeable with text in foot), pointer shape still works though.
After using Hyprcursor themes, the cursor works, but chromium loses some cursor styles under wayland and falls back to the default styles. Cursor-Test
https://github.com/hyprwm/Hyprland/assets/39702328/03d32790-f6e1-4300-988f-7f0f5aacb12a
https://github.com/hyprwm/Hyprland/assets/39702328/7cdf7b38-60ab-4914-85f9-1974d34fa036
huh. What is the hyprcursor version you have installed?
huh. What is the hyprcursor version you have installed?
hyprcursor-git-0.1.8.r0.gcab47461-1 latest commit
https://github.com/hyprwm/Hyprland/assets/107314235/430fd346-7da7-47b6-94c8-2082d83f6a08
Left half is Firefox (doesn't support hyprcursor) on the cursor test page and right half is kate (supports hyprcursor).
col_resize and row_resize are shown to fall back on default pointer on hyprcursor. The theme is extracted from the xcursor Adwaita and compiled from there.
this one is a problem with your theme. Make sure you have a shape that fits col_resize and row_resize. Worth noting that due to (ugh) web using - and wl _.
Recommended overrides for the sidey side arrow:
analogous for toppy bottomy will be with n, s, and row.
I've committed 84278247194fd04e042821fd171be5ee59b0a8d0 which makes hyprland attempt - first before falling back to a pointer.
this one is a problem with your theme. Make sure you have a shape that fits
col_resizeandrow_resize. Worth noting that due to (ugh) web using-and wl_.Recommended overrides for the sidey side arrow:
analogous for toppy bottomy will be with n, s, and row.
Thanks, it's a problem with the Bibata-Modern-Ice theme, changing the - to _ in the filename works.
this one is a problem with your theme. Make sure you have a shape that fits
col_resizeandrow_resize. Worth noting that due to (ugh) web using-and wl_.
That made me check implementation for wlroots and I found out they're using - in their shape_names. Is there a reason for using underscores in Hyprland's re-implementation?
Replacing underscores with dashes resolves initial issue with Xcursors. They do not disappear anymore.
hm, right. Maybe it was a mistake somewhere, I'll fix it.
well...