Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836810 - Cursor is broken on GTK4 windows
Summary: Cursor is broken on GTK4 windows
Status: RESOLVED DUPLICATE of bug 834277
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-05 07:38 UTC by Guillaume Ayoub
Modified: 2022-06-07 14:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Ayoub 2022-04-05 07:38:51 UTC
When the mouse cursor is on a GTK4 window (gnome-text-editor, gnome-weather, gnome-control-center), it becomes bigger than on the other windows, and it doesn’t change when it should (when hovering a text entry, or when hovering the window limit to resize it).

I have no problem with GTK3 applications, with GNOME Shell top bar, or with the mutter tooltips when I right-click on an application header bar.

I didn’t find any related bug on GNOME’s GitLab, or on Gentoo’s Bugzilla.

I’m using the latest ~amd64 versions of ebuilds (gtk 4.6.2, gnome-shell 42.0, mutter 42.0-r1). I can provide more information if needed.
Comment 1 Guillaume Ayoub 2022-04-05 07:40:20 UTC
Note that I’m on Wayland, and that all the open windows are Wayland windows.
Comment 2 Jonas Stein gentoo-dev 2022-04-05 11:56:19 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/
Comment 3 Kobboi 2022-05-08 19:57:53 UTC
I am experiencing the same problem.
Comment 4 Guillaume Ayoub 2022-05-08 21:14:15 UTC
(In reply to Kobboi from comment #3)
> I am experiencing the same problem.

I tried to talk on IRC, but the people interested in the topic didn’t have the same problem and had no idea about why this is happening.

I’ll post a solution here (if I ever find one…).
Comment 5 Rémi Cardona 2022-05-13 09:01:59 UTC
Same issue here (on wayland FWIW), it looks like gtk4 completely ignores the cursor size setting. It's quite obvious when opening:

control-center > "accessibility" > "cursor size".

Gtk 3 happily follows the setting (I keep it at "default")
Gtk 4 looks like it's stuck on "medium" size

It's been like this for a long time, but since I had very few gtk 4 apps, I didn't mind. Now that more are being ported over, it's been an increasing irritation.
Comment 6 Guillaume Ayoub 2022-06-03 20:01:56 UTC
This issue may be the same as https://gitlab.gnome.org/GNOME/gtk/-/issues/4924
Comment 7 Guillaume Ayoub 2022-06-03 20:15:00 UTC
I’ve just checked on my computer and the problem is actually fixed for me. It’s probably related to a new version of GTK (I’ve just installed 4.6.5), or gnome-shell (42.2), or mutter (42.2).
Comment 8 Kobboi 2022-06-03 20:17:56 UTC
(In reply to Guillaume Ayoub from comment #7)
> I’ve just checked on my computer and the problem is actually fixed for me.
> It’s probably related to a new version of GTK (I’ve just installed 4.6.5),
> or gnome-shell (42.2), or mutter (42.2).

Same here, I can no longer reproduce on an up-to-date system.
Comment 9 Benedikt Reinartz 2022-06-05 12:39:39 UTC
This is related to https://bugs.gentoo.org/834277, and thus fixed by adwaita-icon-theme-42.0_p2: GTK expects cursors to reside under /usr/share/icons/<theme>/cursor, but Gentoo placed them under /usr/share/cursors. The fallback cursors seem to have a hardcoded size.
Comment 10 Pacho Ramos gentoo-dev 2022-06-07 14:25:42 UTC
I think it is a duplicate of bug 834277

We will stabilize the newer version as it also fixes other regressions and works fine on my systems -> bug 850445

*** This bug has been marked as a duplicate of bug 834277 ***