KDE apps have missing icons when not on Breeze
Albert Vaca
albertvaka at gmail.com
Wed Aug 29 15:39:24 BST 2018
For icons to work on Windows, we rely on apps linking against
KIconThemes (see [1]).
I would add a similar hack for Gnome: I think it is a safe-enough
assumption that apps will link against KIconThemes.
I will submit a patch proposal soon-ish.
[1] https://github.com/KDE/kiconthemes/blob/master/src/kicontheme.cpp#L70
On Wed, Aug 29, 2018 at 12:58 PM Aleix Pol <aleixpol at kde.org> wrote:
>
> On Tue, Aug 28, 2018 at 10:45 PM Albert Astals Cid <aacid at kde.org> wrote:
> >
> > El dijous, 16 d’agost de 2018, a les 15:19:36 CEST, Albert Astals Cid va escriure:
> > > Missatge de Albert Vaca <albertvaka at gmail.com> del dia dj., 16 d’ag. 2018 a
> > > les 13:57:
> > >
> > > > Hi everyone,
> > > >
> > > > If we want to reach more potential users, we have to make sure KDE
> > > > apps look properly in every desktop. Take a look at how KDE apps look
> > > > in Gnome, you will see there are lots of missing icons.
> > > >
> > > > https://imgur.com/a/nkeiryb
> > > >
> > > > It think it is important to get this fixed, as it can make people not
> > > > use our apps.
> > > >
> > > > Note that, on the other hand, Gnome apps look good in Plasma even when
> > > > Breeze doesn't have the icons they need. This is because they fall
> > > > back to their own theme when an icon is not found in the system theme:
> > > > I just tested it setting the icon theme to Breeze on Gnome, and
> > > > deleting the "actions" directory from Breeze, they show the Gnome
> > > > icons instead.
> > > >
> > > > Anyone has a suggestion on how to fix this?
> > > >
> > >
> > > If we can get this accepted into Qt
> > > https://codereview.qt-project.org/#/c/237025/
> > > Which i think we could since it mimics nicely the setThemeName
> > > functionality.
> > >
> > > We can then just add a Q_COREAPP_STARTUP_FUNCTION in KIconTheme that does
> > > QIcon::setFallbackThemeName("breeze");
> > >
> > > And that'd be a one place fix all solution.
> >
> > FWIW this just landed
> > https://phabricator.kde.org/D14983
> >
> > Cheers,
> > Albert
> >
> > >
> > > Cheers,
> > > Albert
> > >
> > >
> > > >
> > > > (Please CC me as I'm not subscribed to the list.)
> > > >
> > > > Albert
> > > >
> >
> >
> >
> >
>
> This will still not fix it entirely, as not every application will be
> linking against KIconThemes, especially on Gnome.
>
> Aleix
More information about the Kde-frameworks-devel
mailing list