Re: firewall-applet icons break breeze auto tests

2018-11-19 Thread Noah Davis
On Monday, November 19, 2018 6:53:28 AM EST Harald Sitter wrote:
> I am CCing Andreas Kainz on this as he may have input on where the
> firewall-* icons should go.
> From a quick look though I am convinced the majority/all of these
> icons should be in status/ not apps/. They are used in the system tray
> from what I understand, not actual application icons. apps/ is
> basically only for icons that would show up in the applications menu.
> 
> (the scalable test that is failing also does not apply to status/, so
> by moving the icons to the correct directory you'd fix the test)
> 
> HS

I put the icons into apps/ because the applet's hicolor icons are also placed 
into apps, but you may be right that status/ would be a better location. I did 
not know that apps/ was for icons that show up in the application menu, but 
that makes sense.

signature.asc
Description: This is a digitally signed message part.


Re: firewall-applet icons break breeze auto tests

2018-11-19 Thread Harald Sitter
On Sun, Nov 18, 2018 at 6:33 PM Noah Davis  wrote:
> > My *guess* is that whoever decided 16, 22 and 32 are "fixed" even if they
> > are SVG while 48 is not, is that sometimes in the 16, 22, 32 sizes you have
> > to "sacrifice" some details because since you know it'll be shown in small
> > sizes it looks better creating a "different" version of the actual icon,
> > but at 48 they decided "this is going to be good enough so that it'll have
> > all the details that if you scale it up it'll look good".

^ This is absolutely correct.
What's more in breeze specifically there is a huge visual difference.
Small icons are generally not only less detailed but also monochrome.

> I see now, I didn't know about that feature. I guess I just need to symlink
> firewall-config.svg to firewall-applet.svg and the test will pass.

I am CCing Andreas Kainz on this as he may have input on where the
firewall-* icons should go.
>From a quick look though I am convinced the majority/all of these
icons should be in status/ not apps/. They are used in the system tray
from what I understand, not actual application icons. apps/ is
basically only for icons that would show up in the applications menu.

(the scalable test that is failing also does not apply to status/, so
by moving the icons to the correct directory you'd fix the test)

HS


Re: firewall-applet icons break breeze auto tests

2018-11-18 Thread Noah Davis
On Sunday, November 18, 2018 5:34:02 AM EST Albert Astals Cid wrote:
> El dissabte, 17 de novembre de 2018, a les 20:43:04 CET, Noah Davis va 
escriure:
> > On Saturday, November 17, 2018 11:17:15 AM EST Albert Astals Cid wrote:
> > > El dissabte, 17 de novembre de 2018, a les 14:03:45 CET, Noah Davis va
> > 
> > escriure:
> > > > On Saturday, November 17, 2018 5:37:36 AM EST Albert Astals Cid wrote:
> > > > > Hi Noah,
> > > > > 
> > > > > At the moment breeze-icons auto tests are failing with this error
> > > > > (both
> > > > > for
> > > > > icons and icons-dark)
> > > > > 
> > > > > The following icons are not available in a scalable directory:
> > > > >   firewall-applet-shields_up
> > > > >   firewall-applet-panic
> > > > >   firewall-applet
> > > > >   firewall-applet-error
> > > > > 
> > > > > This is because the test makes sure that all icons present in a
> > > > > "Fixed
> > > > > size
> > > > > folder" (for apps 16, 22, 32) should be available in a "Scalable
> > > > > size
> > > > > folder" (for apps 48).
> > > > > 
> > > > > Could you please work in fixing that so the auto test starts passing
> > > > > again?
> > > > > 
> > > > > Cheers,
> > > > > 
> > > > >   Albert
> > > > 
> > > > Hi, I was notified about that on the Phabricator diff after it was
> > > > landed
> > > > (https://phabricator.kde.org/D11880), but I didn't know what the error
> > > > meant or what to do about it. I would be glad to fix it if you or
> > > > someone
> > > > else could help me figure out what to do.
> > > 
> > > I did tell you exactly what is the problem, didn't I?
> > > 
> > > *
> > > This is because the test makes sure that all icons present in a "Fixed
> > > size
> > > folder" (for apps 16, 22, 32) should be available in a "Scalable size
> > > folder" (for apps 48).
> > > *
> > > 
> > > Cheers,
> > > 
> > >   Albert
> > 
> > I think I just don't understand the system. I think what's tripping me up
> > is that some icon themes use a folder called "scalable" for SVGs and the
> > other folders are used for PNGs, but Breeze doesn't do that because it
> > only uses SVGs and SVGs are naturally scalable.
> 
> I can't give you a definitive answer since i'm not the one that has *any*
> idea about breeze icons, but reading the index.theme you can see
> 
> [apps/16]
> Size=16
> Type=Fixed
> 
> [apps/32]
> Size=32
> Type=Fixed
> 
> [apps/48]
> Size=48
> Type=Scalable
> 
> My *guess* is that whoever decided 16, 22 and 32 are "fixed" even if they
> are SVG while 48 is not, is that sometimes in the 16, 22, 32 sizes you have
> to "sacrifice" some details because since you know it'll be shown in small
> sizes it looks better creating a "different" version of the actual icon,
> but at 48 they decided "this is going to be good enough so that it'll have
> all the details that if you scale it up it'll look good".
> 
> But my guess doesn't matter, what matters is that we have a test that makes
> sure that any icon present in apps/16,22,32 should be present in apps/48,
> so unless you have a strong reason to dispute the test, you should make it
> pass and not fail.
> 
> Cheers,
>   Albert

I see now, I didn't know about that feature. I guess I just need to symlink 
firewall-config.svg to firewall-applet.svg and the test will pass.

Thanks!

signature.asc
Description: This is a digitally signed message part.


Re: firewall-applet icons break breeze auto tests

2018-11-18 Thread Albert Astals Cid
El dissabte, 17 de novembre de 2018, a les 20:43:04 CET, Noah Davis va escriure:
> On Saturday, November 17, 2018 11:17:15 AM EST Albert Astals Cid wrote:
> > El dissabte, 17 de novembre de 2018, a les 14:03:45 CET, Noah Davis va 
> escriure:
> > > On Saturday, November 17, 2018 5:37:36 AM EST Albert Astals Cid wrote:
> > > > Hi Noah,
> > > > 
> > > > At the moment breeze-icons auto tests are failing with this error (both
> > > > for
> > > > icons and icons-dark)
> > > > 
> > > > The following icons are not available in a scalable directory:
> > > >   firewall-applet-shields_up
> > > >   firewall-applet-panic
> > > >   firewall-applet
> > > >   firewall-applet-error
> > > > 
> > > > This is because the test makes sure that all icons present in a "Fixed
> > > > size
> > > > folder" (for apps 16, 22, 32) should be available in a "Scalable size
> > > > folder" (for apps 48).
> > > > 
> > > > Could you please work in fixing that so the auto test starts passing
> > > > again?
> > > > 
> > > > Cheers,
> > > > 
> > > >   Albert
> > > 
> > > Hi, I was notified about that on the Phabricator diff after it was landed
> > > (https://phabricator.kde.org/D11880), but I didn't know what the error
> > > meant or what to do about it. I would be glad to fix it if you or someone
> > > else could help me figure out what to do.
> > 
> > I did tell you exactly what is the problem, didn't I?
> > 
> > *
> > This is because the test makes sure that all icons present in a "Fixed size
> > folder" (for apps 16, 22, 32) should be available in a "Scalable size
> > folder" (for apps 48).
> > *
> > 
> > Cheers,
> >   Albert
> 
> I think I just don't understand the system. I think what's tripping me up is 
> that some icon themes use a folder called "scalable" for SVGs and the other 
> folders are used for PNGs, but Breeze doesn't do that because it only uses 
> SVGs and SVGs are naturally scalable.

I can't give you a definitive answer since i'm not the one that has *any* idea 
about breeze icons, but reading the index.theme you can see

[apps/16]
Size=16
Type=Fixed

[apps/32]
Size=32
Type=Fixed

[apps/48]
Size=48
Type=Scalable

My *guess* is that whoever decided 16, 22 and 32 are "fixed" even if they are 
SVG while 48 is not, is that sometimes in the 16, 22, 32 sizes you have to 
"sacrifice" some details because since you know it'll be shown in small sizes 
it looks better creating a "different" version of the actual icon, but at 48 
they decided "this is going to be good enough so that it'll have all the 
details that if you scale it up it'll look good".

But my guess doesn't matter, what matters is that we have a test that makes 
sure that any icon present in apps/16,22,32 should be present in apps/48, so 
unless you have a strong reason to dispute the test, you should make it pass 
and not fail.

Cheers,
  Albert




Re: firewall-applet icons break breeze auto tests

2018-11-17 Thread Noah Davis
On Saturday, November 17, 2018 11:17:15 AM EST Albert Astals Cid wrote:
> El dissabte, 17 de novembre de 2018, a les 14:03:45 CET, Noah Davis va 
escriure:
> > On Saturday, November 17, 2018 5:37:36 AM EST Albert Astals Cid wrote:
> > > Hi Noah,
> > > 
> > > At the moment breeze-icons auto tests are failing with this error (both
> > > for
> > > icons and icons-dark)
> > > 
> > > The following icons are not available in a scalable directory:
> > >   firewall-applet-shields_up
> > >   firewall-applet-panic
> > >   firewall-applet
> > >   firewall-applet-error
> > > 
> > > This is because the test makes sure that all icons present in a "Fixed
> > > size
> > > folder" (for apps 16, 22, 32) should be available in a "Scalable size
> > > folder" (for apps 48).
> > > 
> > > Could you please work in fixing that so the auto test starts passing
> > > again?
> > > 
> > > Cheers,
> > > 
> > >   Albert
> > 
> > Hi, I was notified about that on the Phabricator diff after it was landed
> > (https://phabricator.kde.org/D11880), but I didn't know what the error
> > meant or what to do about it. I would be glad to fix it if you or someone
> > else could help me figure out what to do.
> 
> I did tell you exactly what is the problem, didn't I?
> 
> *
> This is because the test makes sure that all icons present in a "Fixed size
> folder" (for apps 16, 22, 32) should be available in a "Scalable size
> folder" (for apps 48).
> *
> 
> Cheers,
>   Albert

I think I just don't understand the system. I think what's tripping me up is 
that some icon themes use a folder called "scalable" for SVGs and the other 
folders are used for PNGs, but Breeze doesn't do that because it only uses 
SVGs and SVGs are naturally scalable.

signature.asc
Description: This is a digitally signed message part.


Re: firewall-applet icons break breeze auto tests

2018-11-17 Thread Albert Astals Cid
El dissabte, 17 de novembre de 2018, a les 14:03:45 CET, Noah Davis va escriure:
> On Saturday, November 17, 2018 5:37:36 AM EST Albert Astals Cid wrote:
> > Hi Noah,
> > 
> > At the moment breeze-icons auto tests are failing with this error (both for
> > icons and icons-dark)
> > 
> > The following icons are not available in a scalable directory:
> >   firewall-applet-shields_up
> >   firewall-applet-panic
> >   firewall-applet
> >   firewall-applet-error
> > 
> > This is because the test makes sure that all icons present in a "Fixed size
> > folder" (for apps 16, 22, 32) should be available in a "Scalable size
> > folder" (for apps 48).
> > 
> > Could you please work in fixing that so the auto test starts passing again?
> > 
> > Cheers,
> >   Albert
> 
> Hi, I was notified about that on the Phabricator diff after it was landed 
> (https://phabricator.kde.org/D11880), but I didn't know what the error meant 
> or what to do about it. I would be glad to fix it if you or someone else 
> could 
> help me figure out what to do.

I did tell you exactly what is the problem, didn't I?

*
This is because the test makes sure that all icons present in a "Fixed size
folder" (for apps 16, 22, 32) should be available in a "Scalable size
folder" (for apps 48).
*

Cheers,
  Albert




Re: firewall-applet icons break breeze auto tests

2018-11-17 Thread Noah Davis
On Saturday, November 17, 2018 5:37:36 AM EST Albert Astals Cid wrote:
> Hi Noah,
> 
> At the moment breeze-icons auto tests are failing with this error (both for
> icons and icons-dark)
> 
> The following icons are not available in a scalable directory:
>   firewall-applet-shields_up
>   firewall-applet-panic
>   firewall-applet
>   firewall-applet-error
> 
> This is because the test makes sure that all icons present in a "Fixed size
> folder" (for apps 16, 22, 32) should be available in a "Scalable size
> folder" (for apps 48).
> 
> Could you please work in fixing that so the auto test starts passing again?
> 
> Cheers,
>   Albert

Hi, I was notified about that on the Phabricator diff after it was landed 
(https://phabricator.kde.org/D11880), but I didn't know what the error meant 
or what to do about it. I would be glad to fix it if you or someone else could 
help me figure out what to do.

signature.asc
Description: This is a digitally signed message part.