<div dir="ltr"><br><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 December 2015 at 13:56, Thorsten Zachmann <span dir="ltr"><<a href="mailto:zachmann@kde.org" target="_blank">zachmann@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello all,<br>
<br>
I use a separate user for running calligra. I use ssh -X to login from my<br>
normal desktop user to my kde running user. However when I start any<br>
kde application  I have no icons. With strace I can see it searches for icons<br>
in the hicolor folder instead of breeze.<br></blockquote><div><br><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">​<div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Hi Thorsten,<br>I
 am with you here. If it's important to have at least the default icon 
theme fully working regardless of the actual environment, hard coding 
icons to have just one theme is the compromise. This is the direction I 
am testing for Kexi. The only icons not owned by Kexi are the absolute 
fd.o standard subset (but even this may be distributed on non-fd.o 
platforms of course). <br><br>Kexi is prepared now for that, uses special prefixes for breeze and oxygen-like themes. <br>-> <a href="https://quickgit.kde.org/?p=calligra.git&a=tree&hb=HEAD&f=kexi%2Fpics%2Fhicolor">https://quickgit.kde.org/?p=calligra.git&a=tree&hb=HEAD&f=kexi%2Fpics%2Fhicolor</a><br><br>But it gets complex/error-prone. I am close to switching to a qrc files (one per theme). <br>This
 thread shows the past discussion, not the only one I suppose: 
<a href="https://mail.kde.org/pipermail/kexi-devel/2015-September/000418.html">https://mail.kde.org/pipermail/kexi-devel/2015-September/000418.html</a><br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Moreover
 when Qt-only libraries pop out from our code (as it's in case of Kexi) 
we want them to mix well with non-KDE apps because we want more users.<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">The question is, why themes?<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Complex
 apps such as Calligra have many special icons [1]. I don't expect 
various themes (often originating from the outside of KF5-based 
environments) nicely following requirements and maintained for 100% 
compatibility. And nobody is to blame, the result is not worth the 
effort IMHO.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">And
 I've not seen many things worse than incomplete theme, half-oxygen, 
half-breeze for example. So I'd say "never again" and let's avoid such 
situation before the first stable release.<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">A
 bonus is that it's eventually possible to properly document 
applications: screenshots will refer to real default look and feel. 
(well, for that also hardcoding Breeze QWidget style is needed :).<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br>[1] <a href="https://community.kde.org/index.php?title=Calligra/Icons/3.0" target="_blank">https://community.kde.org/index.php?title=Calligra/Icons/3.0</a><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br>PS:
 It's all about priorities, I'm far from removing freedom. For people 
who really love to theme complex apps (1% of geeks?) firefox-like 
theming is quite possible: deliver theming extension that injects 
app-specific theming. If a theme is broken, then one can uninstall the 
extension or request fixes from the author of the extension, not from 
the application's team. That's the true nature of the  plugin system - 
allow to decentralize the deployment.<br></div><br>PS#2:
 Before asking about performance. Hello in 2015. Your smartphone and 
smartwatch injects and hardcodes icons already. If you read the post via
 a modern browser with javascript it eats you 1GiB RAM minimum and your 
icons/pixmap cache is 1GiB too. And many MB for the screen buffer of 
your 1GB+ graphics card all, in an uncompressed format :)<br>​</div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
With the help of David Faure I found out the the icons are shown as expected<br>
when I call<br>
<br>
export KDE_FULL_SESSION=true<br>
<br>
before starting the application.<br>
<br>
I think using an application via ssh -X is used quite often and it should work<br>
out of the box with the need of setting any special export. Maybe you have an<br>
idea on how the behaviour can be improved.<br>
<br>
Please CC me as I'm not subscribed to the list.<br>
<span><font color="#888888"><br>
Thorsten Zachmann<br>
_______________________________________________<br>
Kde-frameworks-devel mailing list<br>
<a href="mailto:Kde-frameworks-devel@kde.org" target="_blank">Kde-frameworks-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-frameworks-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kde-frameworks-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div>regards, Jaroslaw Staniek<br><br>KDE:<br>: A world-wide network of software engineers, artists, writers, translators<br>: and facilitators committed to Free Software development - <a href="http://kde.org" target="_blank">http://kde.org</a><br>Calligra Suite:<br>: A graphic art and office suite - <a href="http://calligra.org" target="_blank">http://calligra.org</a><br>Kexi:<br>: A visual database apps builder - <a href="http://calligra.org/kexi" target="_blank">http://calligra.org/kexi</a><br>Qt Certified Specialist:<br>: <a href="http://www.linkedin.com/in/jstaniek" target="_blank">http://www.linkedin.com/in/jstaniek</a></div>
</div></div>