-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor Icon Regression on GNOME #425
Comments
Looks like in the |
Looks like client-toolkit/src/seat/pointer/mod.rs Lines 461 to 464 in 05e3f7f
|
https://www.freedesktop.org/wiki/Specifications/cursor-spec/ fix your cursor theme. |
Huh, indeed, when using the default Adwaita cursor theme it works as expected. Would it be beneficial to fall back to legacy cursor icon names to accommodate users with outdated cursor themes? I would be open to making a Pull Request for this. |
Or we can try to update legacy themes while at it. The future users won't be affected by that anyway due to |
You can also try to add alternative cursor names to https://github.com/rust-windowing/cursor-icon/ , but I'd sort of prefer to get themes patched as well. |
Of course patching themes would be the best solution, but it is not realistic. In the best case users get their cursor themes from the package manager, but I don't believe there will be a big effort to update them all. In the worst case cursor themes are downloaded from random websites, good luck updating any of these. Yes, I guess this can be worked around by symlinks, but the average user won't know this. They won't even know what is causing the problem.
How should the API for this work? Older winit versions seem to have already had some kind of "fallback" system, where in some cases multiple cursors are tried until one works. See |
/// Alternative names sometimes used to refer to this icon.
fn alt_names(&self) -> &[&'static str] |
Opened a PR: rust-windowing/cursor-icon#11 I will also make a PR for this repository utilizing the new method so it can be tested. |
Description
The cursor icon refuses to change when hovering over the window's borders. When actively resizing, it changes to the correct icon, but goes back to its previous state after. Inside the window, it retains its previous state, even from other windows.
Offending Pull Request: #380 (cc @kchibisov)
Screencast.from.2023-10-30.04-28-39.webm
This issue can also be observed in winit.
I am running GNOME 45.0 on Arch Linux. I also tested KDE Plasma in a VM and it worked fine there.
I'll be glad to do more testing regarding this issue.
Before (for comparison)
Click to expand
Screencast.from.2023-10-30.04-27-48.webm
The text was updated successfully, but these errors were encountered: