FS#76713 - [default-cursors] package breaks users set cursors in index.theme

Attached to Project: Arch Linux
Opened by Igor Saric (karabaja4) - Friday, 02 December 2022, 00:37 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 23 December 2022, 02:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

LXappearance and other tools set the cursors via ~/.icons/default/index.theme.

However, with the last update, when the default-cursors package was split from adwaita-icon-theme, it added this symlink:

/usr/share/icons/default/cursors -> ../Adwaita/cursors

This symlink overrides the cursor theme in ~/.icons/default/index.theme, so the cursor theme is reverted to Adwaita theme after update.

Symlinking ~/.icons/default/cursors to desired cursor theme folder fixes the issue (overriding the system-wide setting), but the issue still remains that ~/.icons/default/index.theme is completely ignored.


This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 23 December 2022, 02:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  default-cursors 2-1
Comment by Igor Saric (karabaja4) - Friday, 02 December 2022, 03:12 GMT
P.S. Even after symlinking ~/.icons/default/cursors to my cursor theme, some of the cursors are still defaulting to Adwaita, e.g. hand cursor (on URLs).

Deleting /usr/share/icons/default/cursors is a temporary fix so I'm going with that for now.
Comment by Toolybird (Toolybird) - Friday, 02 December 2022, 04:47 GMT
According to  FS#76651 , GTK3 no longer checks ~/.icons or ~/.local/share/icons. I don't have the full picture, but this would seem to be a breaking change for theme related tools...

Edit:
@heftig has already opened an upstream issue with some discussion ongoing [1]

[1] https://gitlab.gnome.org/GNOME/gtk/-/issues/5388
Comment by Jan Alexander Steffens (heftig) - Friday, 02 December 2022, 09:07 GMT
Well, this is a mess. When running on Wayland, GTK 3 and 4 do not look at index.theme at all anymore (inheritance for cursor themes is no longer supported), hence these changes.
Comment by helle vaanzinn (glitsj16) - Wednesday, 14 December 2022, 12:36 GMT
Just noticed upstream merged MR !5329 [1]
"This reverts the Wayland cursor changes from the previous release, since it caused too many behavior changes that are hard to patch up.
People will have to live with large cursors on hi-dpi systems, or port to gtk4."

Does this mean this "mess" is undone?

[1] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5329

Loading...