Re: RCC for icons - update: Re: Icons installed by apps

2016-03-10 Thread Aleix Pol
On Thu, Mar 10, 2016 at 9:33 AM, Jaroslaw Staniek wrote: > Update: > > Full (light) breeze.rcc theme file can be squashed to 5MiB using SVG > optimizer SVGO, in a similar way to what Aleix's script does > (https://quickgit.kde.org/?p=breeze-icons.git&a=commit&h=8a31ac8ac105) :) > > Good job, Aleix

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-10 Thread Jaroslaw Staniek
Update: Full (light) breeze.rcc theme file can be squashed to 5MiB using SVG optimizer SVGO, in a similar way to what Aleix's script does ( https://quickgit.kde.org/?p=breeze-icons.git&a=commit&h=8a31ac8ac105) :) Good job, Aleix. On 8 March 2016 at 23:56, Jaroslaw Staniek wrote: > > Hi, publi

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-08 Thread Jaroslaw Staniek
Hi, published a patch for Kexi with rough explanation and list of features: https://phabricator.kde.org/D1092 On 7 March 2016 at 17:52, Jaroslaw Staniek wrote: > > On 7 March 2016 at 17:29, Jaroslaw Staniek wrote: > >> >> On 7 March 2016 at 13:05, Kåre Särs wrote: >> >>> Hi, >>> >>> On Mond

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread Jaroslaw Staniek
On 7 March 2016 at 17:29, Jaroslaw Staniek wrote: > > On 7 March 2016 at 13:05, Kåre Särs wrote: > >> Hi, >> >> On Monday, March 07, 2016 12:41:52 PM Jaroslaw Staniek wrote: >> > > >> > > ​Thanks, it works on Windows (no platform theme). >> > > ​​How to make it work on Linux too (KF5 5.19.0, Qt

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread Jaroslaw Staniek
On 7 March 2016 at 14:45, René J.V. wrote: > On Monday March 07 2016 12:41:52 Jaroslaw Staniek wrote: > > BTW, am I right that using a builtin binary rcc icon set could make you > lose in terms of memory (RAM) footprint overhead what you gain in terms of > disk space overhead? > Dsk optimization

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread Jaroslaw Staniek
On 7 March 2016 at 13:05, Kåre Särs wrote: > Hi, > > On Monday, March 07, 2016 12:41:52 PM Jaroslaw Staniek wrote: > > > > > > ​Thanks, it works on Windows (no platform theme). > > > ​​How to make it work on Linux too (KF5 5.19.0, Qt 5.5.1), i.e. I'd > like > > > to have only used icons from the

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread Jaroslaw Staniek
Real data for a single Kexi start + opening a single document on Linux, SSD: strace kexi 2>&1 | grep ^stat | wc -l 1. Traditional icon files: 78k calls 2. .rcc icon files: 11k calls, starts ~14% faster And for #2 there are still a few thousands of lookups (*/icons/hicolor/16x16/devices etc.) for

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread Jaroslaw Staniek
On 7 March 2016 at 14:45, René J.V. wrote: > On Monday March 07 2016 12:41:52 Jaroslaw Staniek wrote: > >I am trying to use app-defined icons through QIcon::fromTheme() in Kexi. > > That sounds inherently wrong unless the application adds icons to specific > themes. Icons that are specific to an

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread René J . V . Bertin
On Monday March 07 2016 12:41:52 Jaroslaw Staniek wrote: >I am trying to use app-defined icons through QIcon::fromTheme() in Kexi. That sounds inherently wrong unless the application adds icons to specific themes. Icons that are specific to an application are (almost) by definition not part of a

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread Jaroslaw Staniek
On 7 March 2016 at 10:46, Jaroslaw Staniek wrote: > > > On 18 February 2016 at 18:25, Kåre Särs wrote: > >> On Thursday, February 18, 2016 02:51:58 PM René J.V. Bertin wrote: >> > On Thursday February 18 2016 13:55:18 Jaroslaw Staniek wrote: >> > >>> > since QIcon::fromTheme() apaprently isn't a

Re: RCC for icons - update: Re: Icons installed by apps

2016-03-07 Thread Jaroslaw Staniek
On 18 February 2016 at 18:25, Kåre Särs wrote: > On Thursday, February 18, 2016 02:51:58 PM René J.V. Bertin wrote: > > On Thursday February 18 2016 13:55:18 Jaroslaw Staniek wrote: > > >>> > since QIcon::fromTheme() apaprently isn't able to find app icons. > > > > Care to explain? QIcon::fromThe

Re: RCC for icons - update: Re: Icons installed by apps

2016-02-21 Thread Jaroslaw Staniek
On 18 February 2016 at 18:25, Kåre Särs wrote: > On Thursday, February 18, 2016 02:51:58 PM René J.V. Bertin wrote: > > On Thursday February 18 2016 13:55:18 Jaroslaw Staniek wrote: > > >>> > since QIcon::fromTheme() apaprently isn't able to find app icons. > > > > Care to explain? QIcon::fromThe

Re: RCC for icons - update: Re: Icons installed by apps

2016-02-18 Thread René J . V . Bertin
On Thursday February 18 2016 19:47:04 Jaroslaw Staniek wrote: > ​Sure but we all agree that outside of desktops adjusted for the taste of > geeks XDG isn't part of these OSes. You are missing the point. The icon theme search path will contain the XDG icon location by default on systems where XDG

Re: RCC for icons - update: Re: Icons installed by apps

2016-02-18 Thread Kåre Särs
On Thursday, February 18, 2016 02:51:58 PM René J.V. Bertin wrote: > On Thursday February 18 2016 13:55:18 Jaroslaw Staniek wrote: > >>> > since QIcon::fromTheme() apaprently isn't able to find app icons. > > Care to explain? QIcon::fromTheme() doesn't find anything "out of the box" > on OS X (and

Re: RCC for icons - update: Re: Icons installed by apps

2016-02-18 Thread Jaroslaw Staniek
On 18 February 2016 at 14:51, René J.V. wrote: > On Thursday February 18 2016 13:55:18 Jaroslaw Staniek wrote: > > >>> > since QIcon::fromTheme() apaprently isn't able to find app icons. > > Care to explain? QIcon::fromTheme() doesn't find anything "out of the box" > on OS X (and I presume on MS

Re: RCC for icons - update: Re: Icons installed by apps

2016-02-18 Thread René J . V . Bertin
On Thursday February 18 2016 13:55:18 Jaroslaw Staniek wrote: >>> > since QIcon::fromTheme() apaprently isn't able to find app icons. Care to explain? QIcon::fromTheme() doesn't find anything "out of the box" on OS X (and I presume on MS Windows), but that is only because no theme search path i

Re: RCC for icons - update: Re: Icons installed by apps

2016-02-18 Thread Jaroslaw Staniek
And BTW, just found this.. so adding CC for Lars and Simon. https://mail.kde.org/pipermail/kde-optimize/2005-June/001096.html On 18 February 2016 at 12:05, Jaroslaw Staniek wrote: > > On 24 September 2015 at 23:04, David Faure wrote: > >> On Tuesday 22 September 2015 18:44:47 Jaroslaw Staniek

RCC for icons - update: Re: Icons installed by apps

2016-02-18 Thread Jaroslaw Staniek
On 24 September 2015 at 23:04, David Faure wrote: > On Tuesday 22 September 2015 18:44:47 Jaroslaw Staniek wrote: > > On 22 September 2015 at 14:17, Jaroslaw Staniek wrote: > > > Hello, > > > A couple of related questions while wrestling with issues such as [1]. > > > > > > Let's assume Kexi app

Re: Icons installed by apps

2015-09-25 Thread Jaroslaw Staniek
Thanks for advice David. In the specs I see no mention about using share/{app}/ subdirs. I also noted this: "It is recommended that the icons installed in the hicolor theme look neutral, since it is a fallback theme that will be used in combination with some very different looking themes." For th

Re: Icons installed by apps

2015-09-24 Thread Jaroslaw Staniek
On 24 September 2015 at 22:54, Jaroslaw Staniek wrote: > Dear All, > One more question about the theme setting behaviour or philosophy. In > a Plasma4 session I am using a custom prefix for KF5 libs and > KF5-based apps. > > Then in $XDG_CONFIG_HOME/.config5/kdeglobals editing setting > > [Icons]

Re: Icons installed by apps

2015-09-24 Thread David Faure
On Tuesday 22 September 2015 18:44:47 Jaroslaw Staniek wrote: > On 22 September 2015 at 14:17, Jaroslaw Staniek wrote: > > Hello, > > A couple of related questions while wrestling with issues such as [1]. > > > > Let's assume Kexi app installs some icons to > > PREFIX/share/kexi/icons/oxygen/32x32

Re: Icons installed by apps

2015-09-24 Thread Jaroslaw Staniek
Dear All, One more question about the theme setting behaviour or philosophy. In a Plasma4 session I am using a custom prefix for KF5 libs and KF5-based apps. Then in $XDG_CONFIG_HOME/.config5/kdeglobals editing setting [Icons] Theme= does not seem to mean anything to these apps. Also having

Re: Icons installed by apps

2015-09-24 Thread Jaroslaw Staniek
On 24 September 2015 at 10:40, Harald Sitter wrote: > On Wed, Sep 23, 2015 at 11:27 PM, Jaroslaw Staniek wrote: Thirdly, I suppose it's possible to indicate in the code that I am looking for a "place" icon group for example. That would slash the number of lookups and also limit con

Re: Icons installed by apps

2015-09-24 Thread Harald Sitter
On Wed, Sep 23, 2015 at 11:27 PM, Jaroslaw Staniek wrote: >>> Thirdly, I suppose it's possible to indicate in the code that I am >>> looking for a "place" icon group for example. That would slash the >>> number of lookups and also limit conflicts. Maybe that would be a >>> violation of behaviour r

Re: Icons installed by apps

2015-09-23 Thread Jaroslaw Staniek
On 23 September 2015 at 22:55, Albert Astals Cid wrote: > El Dimecres, 23 de setembre de 2015, a les 22:12:39, Jaroslaw Staniek va > escriure: >> On 23 September 2015 at 09:31, Harald Sitter wrote: >> >> You mean if {appname} and {appname}-foo doesn't right? >> >> >> >> the XDG icon spec has some

Re: Icons installed by apps

2015-09-23 Thread Albert Astals Cid
El Dimecres, 23 de setembre de 2015, a les 22:12:39, Jaroslaw Staniek va escriure: > On 23 September 2015 at 09:31, Harald Sitter wrote: > >> You mean if {appname} and {appname}-foo doesn't right? > >> > >> the XDG icon spec has some kind of inheritance built into the name so > >> > >> someacti

Re: Icons installed by apps

2015-09-23 Thread Jaroslaw Staniek
On 23 September 2015 at 22:12, Jaroslaw Staniek wrote: > My fresh test results in one observation, network-server-database-kexi > which causes the above 515 stat()'s > sits in share/icons/hicolor/22x22/places/network-server-database-kexi.svg. > It is not found, instead > share/icons/breeze/places/

Re: Icons installed by apps

2015-09-23 Thread Jaroslaw Staniek
On 23 September 2015 at 09:31, Harald Sitter wrote: >> >> You mean if {appname} and {appname}-foo doesn't right? >> >> the XDG icon spec has some kind of inheritance built into the name so >> >> someaction.png >> >> is chosen if you don't have >> >> someaction-veryspecific.png >> >> So you may wan

Re: Icons installed by apps

2015-09-23 Thread Harald Sitter
On Wed, Sep 23, 2015 at 12:17 AM, Albert Astals Cid wrote: > El Dimarts, 22 de setembre de 2015, a les 23:01:06, Jaroslaw Staniek va > escriure: >> On 22 September 2015 at 22:55, Matthias Klumpp > wrote: >> > Am 22.09.2015 10:32 nachm. schrieb "Albert Astals Cid" : >> >> El Dimarts, 22 de setembr

Re: Icons installed by apps

2015-09-22 Thread Matthias Klumpp
Am 22.09.2015 10:32 nachm. schrieb "Albert Astals Cid" : > > El Dimarts, 22 de setembre de 2015, a les 14:17:28, Jaroslaw Staniek va > escriure: > > Hello, > > A couple of related questions while wrestling with issues such as [1]. > > > > Let's assume Kexi app installs some icons to > > PREFIX/shar

Re: Icons installed by apps

2015-09-22 Thread Albert Astals Cid
El Dimarts, 22 de setembre de 2015, a les 23:01:06, Jaroslaw Staniek va escriure: > On 22 September 2015 at 22:55, Matthias Klumpp wrote: > > Am 22.09.2015 10:32 nachm. schrieb "Albert Astals Cid" : > >> El Dimarts, 22 de setembre de 2015, a les 14:17:28, Jaroslaw Staniek va > >> > >> escriure:

Re: Icons installed by apps

2015-09-22 Thread Jaroslaw Staniek
On 22 September 2015 at 22:55, Matthias Klumpp wrote: > > Am 22.09.2015 10:32 nachm. schrieb "Albert Astals Cid" : >> >> El Dimarts, 22 de setembre de 2015, a les 14:17:28, Jaroslaw Staniek va >> escriure: >> > Hello, >> > A couple of related questions while wrestling with issues such as [1]. >> >

Re: Icons installed by apps

2015-09-22 Thread Albert Astals Cid
p startup? Or the icon cache? > Maybe I forgot what's that. > > Are these things noted down somewhere already? > I am especially interested in place and mimetype and places icons > installed by apps. > > [1] https:/

Re: Icons installed by apps

2015-09-22 Thread Jaroslaw Staniek
y magic env variables that let me > debug the search process deeply on app startup? Or the icon cache? > Maybe I forgot what's that. > > Are these things noted down somewhere already? > I am especially interested in place and mimetype and places icons > installed by apps. > >

Icons installed by apps

2015-09-22 Thread Jaroslaw Staniek
ariables that let me debug the search process deeply on app startup? Or the icon cache? Maybe I forgot what's that. Are these things noted down somewhere already? I am especially interested in place and mimetype and places icons installed by apps. [1] https://bugs.kde.org/show_bug.cgi?id=3528