Bug 2150495 - 3.24.35 breaks mouse pointer: Unable to load left_ptr from the cursor theme
Summary: 3.24.35 breaks mouse pointer: Unable to load left_ptr from the cursor theme
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-03 12:45 UTC by Martin Pitt
Modified: 2022-12-03 12:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-03 12:52:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Pitt 2022-12-03 12:45:45 UTC
Description of problem: A recent system update broke the mouse pointer for me. In GTK programs such as my terminal or Firefox, the mouse cursor seems to keep the most recent shape that it had before it entered the window. E.g. the "left right arrow" from the window borders (for resizing), or it's entirely hidden (because terminals do that while typing).

I bisected through the updated packages, and found that it works again when I downgrade gtk3 from gtk3-3.24.35-1.fc37.x86_64 to gtk3-3.24.34-2.fc37.x86_64.

Version-Release number of selected component (if applicable):

gtk3-3.24.35-1.fc37.x86_64

How reproducible: Always

Steps to Reproduce:
1. Start a GTK program (terminal), and move the mouse cursor into it

Actual results: Mouse cursor is hidden or wrong

Expected results: Mouse cursor should be the usual arrow pointing to the upper left for firefox, or the 'I' shaped bar for terminal.

Additional info: When starting the terminal from alacritty (which does not use GTK), I first see

Gdk-Message: 13:40:34.438: Unable to load text from the cursor theme
Gdk-Message: 13:40:34.438: Unable to load default from the cursor theme
Gdk-Message: 13:40:34.438: Unable to load pointer from the cursor theme

and then a neverending stream of

Gdk-Message: 13:40:35.448: Unable to load left_ptr from the cursor theme

which sounds very related.

I don't have much of GDK/GTK config. There's ./.config/gtk-3.0/bookmarks, and no config file like "*gdk*" in my home dir.

Note that I am *not* running GNOME, but a very simple sway+waybar. The only other process that loads libgtk is xdg-desktop-portal-gtk.

Comment 1 Martin Pitt 2022-12-03 12:52:39 UTC
Then again, when I run `HOME=/tmp/x firefox` or `HOME=/tmp/x simple-term` (with a nonexisting /tmp/x/) it works. So this does smell like some local config issue.

My current settings (which I've been dragging around for many many years, I even still see some Ubuntu config there..)

$ dconf dump /org/gnome/desktop/interface/
[/]
cursor-size=24
cursor-theme='DMZ-White'
enable-animations=true
gtk-im-module='gtk-im-context-simple'
gtk-theme='Radiance'
icon-theme='ubuntu-mono-light'
scaling-factor=uint32 1
text-scaling-factor=1.0
toolkit-accessibility=false


And indeed a `dconf reset -f /org/gnome/desktop/interface/` seems to fix things. Seems like the "DMZ-White" theme was dropped, or something like that?

Anyway, this is probably too obscure at this point, so closing. Sorry for the noise!


Note You need to log in before you can comment on or make changes to this bug.