Open strk opened 1 year ago
Expected behaviour would be what can be seen in a screenshot sent me by someone using i3 on a Debian (not sure which version) where things seem to work: https://libera.ems.host/_matrix/media/v3/download/matrix.org/QwDAewtUQxITCcFfqRZlmNON/2023-03-15_11.34.37.822.png
icons are found by Qt, with the QIcon.fromTheme() method.
It's maybe a problem with XDG_DATA_DIRS, normally if this environment variable is not set, it should be ~/.local/share/:/usr/local/share/:/usr/share
. This is more a problem with i3, or with Qt.
Thanks ! the XDG_DATA_DIRS env is set to /usr/local/share:/usr/share:/var/lib/snapd/desktop so the /usr/share/icons directories are under that. What theme name is passed to the QIcon.fromTheme() by Ray ?
No theme name is passed to the QIcon.fromTheme() method, the argument 'name' is for the icon name.
Some icons are not found by RaySession, for example the one for multimedia-volume-control despite my system being full of SVG files, as shown by
locate multimedia-volume-control
here: https://termbin.com/6ugrThis is the Ubuntu-22.04 LTS system running i3 DE with RaySession 0.13.1 and Qt version 5.15.3
How are icons searched for ?