Running xfce4-session inside Hyprland breaks GIMP icon loading on startup
Software involved
- GIMP version: 3.0.0
- Xfce session version: 4.20.0
- OS: Arch Linux
- Compositor: Hyprland (Wayland) 0.47.2
Description
When GIMP is loaded, it fails to load any icon. However, if I go to Edit > Preferences > Interface > Icon Theme and change it to anything else and then back, then the original theme loads properly.
Here is a screenshot with the Default icon theme (with symbolic icons selected):
Here is how it looks after toggling the icon theme twice in the preferences (i.e. how it should look at startup):
This seems to occur only when running Xfce session from Hyprland. If I don't start Xfce session in Hyprland, it works properly. Alternatively, if I keep Xfce session enabled, but use the GIMP AppImage instead of the native Arch Linux package, the icon loading works.
I don't know how to debug this further, so I could do with some pointers on how to proceed.
Steps to reproduce
- Open GIMP
- Observe the missing icons
- In the Edit menu, click on Preferences.
- In the left panel with the sections, click on the Icon Theme subsection under the Interface section.
- Change the icon theme to something else.
- Observe that the icon theme has changed, and now works.
- Change the icon theme back to the original theme.
- Observe that your preferred icon theme works properly now.