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=commit=8a31ac8ac105) :) > >

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=commit=8a31ac8ac105) :) Good job, Aleix. On 8 March 2016 at 23:56, Jaroslaw Staniek wrote:

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

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

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

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

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.)

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

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

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

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

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

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

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

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

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

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].