El dimecres, 23 de gener de 2019, a les 4:48:10 CET, Jonathan Schultz va 
escriure:
> Hello KDE developers,
> 
> I wonder if someone can help me work out what is going on here.
> 
> I have build some KDE applications (konsole and okular) from source using 
> kdesrc-build, using QT5 version 5.11.3 also built from sources. The 
> applications build and run, but do not load the icons used in the UI. I have 
> the following lines in ~/.config/kdeglobals:
> 
> > [Icons]
> > Theme=oxygen
> 
> and running strace on the application reveals that it is finding and crawling 
> the oxygen icon theme directories. However, if I rename the oxygen theme 
> directory to hicolor then the application does find the icons correctly.
> 
> I have written a trivial Qt test, using 'QIcon::setThemeName("oxygen")' to 
> set the theme and it works fine.
> 
> I also note that kiconfinder5 also finds the icons in the oxygen directory.
> 
> I've tried some reverse-engineering/debugging but succeeded only in getting 
> lost in the code.
> 
> One thing I suspect it that the problem might be related to my development 
> environment, which is a sandboxed Docker container with no display manager 
> installed. I understand that KDE tries to work out what icon theme is already 
> in use by an installed display manager, so perhaps this environment is 
> somehow triggering some unexpected (by me at least) behaviour.

Your application is in docker, so it won't pick up your ~/.config/kdeglobals, 
that is outside docker how would it be picked up?

Or you mean you ~/.config/kdeglobals is also inside your docker container?

Cheers,
  Albert

> 
> Thanks as always.
> 
> Jonathan
> 
> 




Reply via email to