Bug#1064016: adwaita-icon-theme: v46 cursor theme is missing legacy X11 icon names expected by many applications

Markus Koller markus at snafu.ch
Mon Mar 4 20:21:56 GMT 2024


Hello there,

Not sure if this is the correct bug to report this, but I ran into
a gnome-shell crash with adwaita-icon-theme 46~beta-3 when opening
the overview (Super key) and trying to grab one of the windows:

```
No cursor theme available, please install a cursor theme
Received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadCursor (invalid Cursor parameter)'.
   (Details: serial 13601 error_code 6 request_code 95 (core protocol) minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the MUTTER_SYNC environment
    variable to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the mtk_x_error() function.)
== Stack trace for context 0x58854fb38590 ==
#0   58854fbffa08 i   resource:///org/gnome/shell/ui/init.js:21 (13c026970bf0 @ 48)
```

Running with MUTTER_SYNC=1 extends the stack trace a bit:

```
== Stack trace for context 0x631cbba61570 ==
#0   631cbbb28c18 i   resource:///org/gnome/shell/ui/dnd.js:390 (21d3a36f80b0 @ 440)
#1   631cbbb28b68 i   resource:///org/gnome/shell/ui/dnd.js:168 (21d3a36f2c90 @ 235)
#2   631cbbb28ad8 i   resource:///org/gnome/shell/ui/init.js:21 (21d3a3670bf0 @ 48)
```

So it's trying to use the `DND_IN_DRAG` cursor at [1].

I also noticed now that this cursor is missing in Firefox when
e.g. dragging a link, but at least Firefox is polite enough to not
crash (it just displays the default cursor).

Downgrading to adwaita-icon-theme 45.0-4 resolves this.

I still get the crash with 46~beta-3, so I guess it's not related
to the "more minimal set of aliases".

I should also mention I'm using gnome-shell 45.3-2 from
experimental.

[1]: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/96b91ec62c9c8133eb7b0e76e486a7cea6edebdb/js/ui/dnd.js#L390

Thanks and greetings,
Markus



More information about the pkg-gnome-maintainers mailing list