https://bugs.kde.org/show_bug.cgi?id=435236
Bug ID: 435236
Summary: Fallback to breeze icon theme with Kirigami icons,
like KDE kicons do
Product: frameworks-kirigami
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Not decided
SUMMARY
Kirigami applications executing outside of a desktop environment configured to
use a breeze or breeze compatible theme will be missing icons.
For example, angelfish 1.8.0 on Kirigami 5.80, when executed with
XDG_CURRENT_DESKTOP set to either gnome, xfce4 or foobar will be missing a lot
of icons.
With XDG_CURRENT_DESKTOP=gnome it will be missing less as it will first try
Adwaita. Otherwise it will generally end up trying *only* for the hicolor icon
theme.
I was told [1] that kicon first tries breeze as a fallback before hicolor.
Looking at the source it's not *directly* obvious, but I think I see that it
indeed does. Anyway, I can try running something like dolphin (file manager)
with XDG_CURRENT_DESKTOP set to the previously mentioned values, and it will
try breeze icons (assumedly before hicolor, though it doesn't seem to be
missing any icons). With XDG_CURRENT_DESKTOP=gnome dolphin will first try
Adwaita, and still fallback to breeze.
Note that while I'm exclusively using angelfish as an example, it was observed
in all the kirigami-using plasma mobile applications I packaged.
In a plasma (mobile) session, setting XDG_CURRENT_DESKTOP alone is not enough
to trigger this issue. I had to "hide" most of the session using `env -i
QT_QPA_PLATFORM="$QT_QPA_PLATFORM" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR"
HOME="$HOME" angelfish`. It's way easier to see this issue in a non-plasma
environment.
STEPS TO REPRODUCE
0. In a non-plasma desktop
1. XDG_CURRENT_DESKTOP=foobar angelfish
OBSERVED RESULT
Observe many missing icons
EXPECTED RESULT
Icons to be present, rather than totally missing.
SOFTWARE/OS VERSIONS
KDE Plasma Version: [N/A]
KDE Frameworks Version: 5.80
Qt Version: 5.15.2
ADDITIONAL INFORMATION
I assume #417134 would be solved by doing the same automatic fallback.
Context:
[1] https://github.com/NixOS/nixpkgs/pull/115368#issuecomment-809734618
--
You are receiving this mail because:
You are watching all bug changes.