KDE apps have missing icons when not on Breeze

Albert Astals Cid aacid at kde.org
Wed Aug 29 18:29:27 BST 2018


El dimecres, 29 d’agost de 2018, a les 12:56:53 CEST, Aleix Pol va escriure:
> 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.

KXMLGui links against KIconThemes.

Any application that pretends to look like a desktop application should be using KXmlGui.

Applications that are too fancy for their own good and don't want to use KXmlGui can call that one liner by themselves if they care about their look and feel on Gnome desktops.

Cheers,
  Albert

> 
> Aleix






More information about the Kde-frameworks-devel mailing list