D25015: Update breeze theme shadows

2020-01-23 Thread Filip Fila
This revision was automatically updated to reflect the committed changes.
Closed by commit R242:35351ba3f299: Update breeze theme shadows (authored by 
niccolove, committed by filipf).

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=74153=74206

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/translucent/dialogs/background.svg
  src/desktoptheme/breeze/translucent/widgets/panel-background.svg
  src/desktoptheme/breeze/translucent/widgets/tooltip.svg
  src/desktoptheme/breeze/widgets/panel-background.svg
  src/desktoptheme/breeze/widgets/tooltip.svg

To: niccolove, #vdg, ngraham, The-Feren-OS-Dev, ndavis
Cc: The-Feren-OS-Dev, mart, broulik, cblack, ndavis, manueljlin, ngraham, 
filipf, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-22 Thread Noah Davis
ndavis accepted this revision.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham, The-Feren-OS-Dev, ndavis
Cc: The-Feren-OS-Dev, mart, broulik, cblack, ndavis, manueljlin, ngraham, 
filipf, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-22 Thread Nathaniel Graham
ngraham accepted this revision.
ngraham added a comment.


  If @ndavis says it's okay, I say shipit!

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham, The-Feren-OS-Dev
Cc: The-Feren-OS-Dev, mart, broulik, cblack, ndavis, manueljlin, ngraham, 
filipf, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-22 Thread Dominic Hayes
The-Feren-OS-Dev accepted this revision.
The-Feren-OS-Dev added a comment.


  I feel like the shadows might be slightly overcompensating in shadow strength 
for the small shadow span (it looks kinda weird on first glance), but apart 
from that minor nitpick, I'd say this is good to go.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham, The-Feren-OS-Dev
Cc: The-Feren-OS-Dev, mart, broulik, cblack, ndavis, manueljlin, ngraham, 
filipf, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-22 Thread Niccolò Venerandi
niccolove added a comment.


  I found a way to make masks that follow the current shape by copying it and 
making them slightly bigger than original ones. 
  Regarding panels and tooltips: using different roundings (1px vs 3px) seemed 
inconsistent to me, so I tried to ask in the VDG chat if they though that 
moving panels and tooltips to 3px was a good idea, which I also think (e.g.: 
panel endings should be rounded rather than sharp). I thus moved them to 3px 
rounding as well. I think it's barely noticeable but it looks better than 
before. I put it in this patch as it was closely related and on the same files, 
but I could create a different patch if you think it's more appropriate.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-22 Thread Niccolò Venerandi
niccolove updated this revision to Diff 74153.
niccolove added a comment.


  Corrected masks to be more similiar to original shapes

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=73844=74153

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/translucent/dialogs/background.svg
  src/desktoptheme/breeze/translucent/widgets/panel-background.svg
  src/desktoptheme/breeze/translucent/widgets/tooltip.svg
  src/desktoptheme/breeze/widgets/panel-background.svg
  src/desktoptheme/breeze/widgets/tooltip.svg

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-19 Thread Niccolò Venerandi
niccolove added a comment.


  I posted the previous comment in a eccessive state of tiredness and 
nervousness :-) I will look into doing a better mask *before* asking to land 
the patch, so I can be sure it's the right patch forward.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-19 Thread Niccolò Venerandi
niccolove added a comment.


  Regarding the mask: I'd keep it as is right now and look more into it in the 
(very near) future. Currently the difference is not noticeable even on 
different scalings and I cannot find another working solution, so I think it 
should not be a blocking issue. But yes, I will surely look more into it. But 
right now I have little time and I spent the last four days without studying 
and working on KDE and I know I can't keep up that, so I'm just a bit afraid 
that this patch would end up blocked for weeks again.
  Regarding the corners, I will also look into it but not in this patch, as 
that would be an unrelated change.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-19 Thread Noah Davis
ndavis added a comment.


  Just in case you misunderstood me, when I said create the corners from 
rounded rectangles, I meant create the rounded rectangle and cut off the parts 
you don't need so that you're left with corners that you can place however you 
need. If you're not aware of it, check out Inkscape's Path menu. It has a ton 
of useful stuff for sculpting shapes.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-19 Thread Noah Davis
ndavis added a comment.


  I'll trust your judgement on the masks and corners. If there's a problem, it 
can be patched. I know this stuff can be super janky at times.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-19 Thread Niccolò Venerandi
niccolove added a comment.


  In D25015#596684 , @ndavis wrote:
  
  > The masks have a rather odd shape and it's not pixel aligned, which might 
mean something is wrong: 
  >  F7891523: Screenshot_20200118_225818.PNG 

  >  It's different from master, which looks pretty normal: 
  >  F7891527: Screenshot_20200118_230209.PNG 

  
  
  I know this was going to seem weird, but: the only way to get pixel-perfect 
mask is to add nodes to the shape, but if I do that, the mask is no longer 
correctly detected. I tried to group different shapes to be pixel perfect, but 
that does not work as well. They only way seem to be a single curve, that can 
only approximate the actual shape. Currently, Breeze Masks are *not* working, 
although they sure look better than mine. No idea why. Do you have any tip here?
  
  > the `panel-background` and `tooltip` SVGs, the shadow was changed, but the 
tooltip/panel background was not.
  >  F7891542: Screenshot_20200118_231610.PNG 

  
  Mhh, weird. I'll fix that.
  
  > I get the impression that these were changed with the node tool rather than 
creating the corners from rounded rectangles. I guess that works as long as all 
the svg corners are consistent with each other, but it's inconsistent with the 
QStyle and could still lead to visible pixel misalignment when the UI is scaled 
up.
  >  F7891536: Screenshot_20200118_230921.PNG 

  
  This is already what is done in master though, right? I'm not sure rounded 
rectangles corner can be used, and all the pieces should be different elements
  
  > Why is `widgets/background.svg` different from the other ones? Maybe 
there's a good reason, since it's also different in the master branch, but its 
very odd.
  >  F7891628: Screenshot_20200118_232026.PNG 

  
  No idea. I did not change that file.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-18 Thread Noah Davis
ndavis added a comment.


  I noticed a few things.
  
  ---
  
  The masks have a rather odd shape and it's not pixel aligned, which might 
mean something is wrong: 
  F7891523: Screenshot_20200118_225818.PNG 

  It's different from master, which looks pretty normal: 
  F7891527: Screenshot_20200118_230209.PNG 

  
  ---
  
  In the `panel-background` a `tooltip` SVGs the shadow was changed, but the 
tooltip was not. Keep in mind that 
  F7891542: Screenshot_20200118_231610.PNG 

  
  ---
  
  I get the impression that these were changed with the node tool rather than 
creating the corners from rounded rectangles. I guess that works as long as all 
the svg corners are consistent with each other, but it's inconsistent with the 
QStyle and could still lead to visible pixel misalignment when the UI is scaled 
up.
  F7891536: Screenshot_20200118_230921.PNG 

  
  ---
  
  Why is `widgets/background.svg` different from the other ones? Maybe there's 
a good reason, since it's also different in the master branch, but its very odd.
  F7891628: Screenshot_20200118_232026.PNG 


REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-18 Thread Nathaniel Graham
ngraham accepted this revision.
ngraham added a comment.


  Looks like you fixed the rounded corner issues, nice. This does look much 
better IMO. +1 from me.
  
  Are other VDG folks good with this? @ndavis do the SVG changes look 
appropriate from a technical point of view?

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-18 Thread Niccolò Venerandi
niccolove updated this revision to Diff 73844.
niccolove added a comment.


  Fix possible bug

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=73843=73844

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/translucent/dialogs/background.svg
  src/desktoptheme/breeze/translucent/widgets/panel-background.svg
  src/desktoptheme/breeze/translucent/widgets/tooltip.svg
  src/desktoptheme/breeze/widgets/panel-background.svg
  src/desktoptheme/breeze/widgets/tooltip.svg

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-18 Thread Niccolò Venerandi
niccolove updated this revision to Diff 73843.
niccolove added a comment.


  Resized mask to better fit rounding shape

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=73842=73843

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/translucent/dialogs/background.svg
  src/desktoptheme/breeze/translucent/widgets/panel-background.svg
  src/desktoptheme/breeze/translucent/widgets/tooltip.svg
  src/desktoptheme/breeze/widgets/panel-background.svg
  src/desktoptheme/breeze/widgets/tooltip.svg

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-18 Thread Niccolò Venerandi
niccolove updated this revision to Diff 73842.
niccolove added a comment.


  Removed unrelated tabbar change

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=73841=73842

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/translucent/dialogs/background.svg
  src/desktoptheme/breeze/translucent/widgets/panel-background.svg
  src/desktoptheme/breeze/translucent/widgets/tooltip.svg
  src/desktoptheme/breeze/widgets/panel-background.svg
  src/desktoptheme/breeze/widgets/tooltip.svg

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-18 Thread Niccolò Venerandi
niccolove added a comment.


  Can you please doublecheck that you see everything correctly? The mask thing 
was weird, but I think I fixed it

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2020-01-18 Thread Niccolò Venerandi
niccolove updated this revision to Diff 73841.
niccolove added a comment.


  - Merge branch 'master' into bettershadows
  - Changed masks

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=69886=73841

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/translucent/dialogs/background.svg
  src/desktoptheme/breeze/translucent/widgets/panel-background.svg
  src/desktoptheme/breeze/translucent/widgets/tooltip.svg
  src/desktoptheme/breeze/widgets/panel-background.svg
  src/desktoptheme/breeze/widgets/tabbar.svg
  src/desktoptheme/breeze/widgets/tooltip.svg

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-12-15 Thread Niccolò Venerandi
niccolove added a comment.


  Got it. Blur is not rounded either to me. The shadow was hiding it.
  F7819795: Screenshot_20191215_170023.png 

  
  In D25015#575297 , @mart wrote:
  
  > In D25015#568865 , @niccolove 
wrote:
  >
  > > Got it. The shape is actually rounded BUT the desktop contract effect is 
applied in the whole rectangle underneath, and it makes everything look like a 
rectangle. Here's the widget with fully transparent background, but with the 
contract effect on:
  > >  F7788618: Screenshot_20191128_153515.png 

  > >  Of course, I can't just turn off the contrast desktop effect. I'm unsure 
how to move forward with this.
  > >  Here's Plasma without desktop effect:
  > >  F7788630: Screenshot_20191128_154652.png 

  > >  As you can see, shadows are working!
  >
  >
  > Not sure why it looks rectangular, on current theme the mask- prefix is 
correctly used and the blur is correctly shaped with rounded borders
  
  
  If you remove the shadows, desktop effect and background, do you still see 
rounded blur? If so, it's my machine.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-12-15 Thread Niccolò Venerandi
niccolove added a comment.


  I just compared the blur and contrast effects and the mask is used in the 
exact same way :-/ I have no idea what could be wrong there.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-12-11 Thread Marco Martin
mart added a comment.


  In D25015#568865 , @niccolove 
wrote:
  
  > Got it. The shape is actually rounded BUT the desktop contract effect is 
applied in the whole rectangle underneath, and it makes everything look like a 
rectangle. Here's the widget with fully transparent background, but with the 
contract effect on:
  >  F7788618: Screenshot_20191128_153515.png 

  >  Of course, I can't just turn off the contrast desktop effect. I'm unsure 
how to move forward with this.
  >  Here's Plasma without desktop effect:
  >  F7788630: Screenshot_20191128_154652.png 

  >  As you can see, shadows are working!
  
  
  Not sure why it looks rectangular, on current theme the mark prefix is 
correctly used and the blur is correctly shaped with rounded borders

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-29 Thread Nathaniel Graham
ngraham added subscribers: broulik, mart.
ngraham added a comment.


  So I guess we can either fix the Background Contrast effect, or stop using it 
and do the opacity entirely within the Plasma Breeze theme (e.g. by bumping it 
up from 0.6 to 0.9 or 0.95 or so).
  
  Probably needs #plasma  input, 
especially from @broulik and @mart who I believe are familiar with the history 
here.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: mart, broulik, cblack, ndavis, manueljlin, ngraham, filipf, 
kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-28 Thread Niccolò Venerandi
niccolove added a comment.


  Got it. The shape is actually rounded BUT the desktop contract effect is 
applied in the whole rectangle underneath, and it makes everything look like a 
rectangle. Here's the widget with fully transparent background, but with the 
contract effect on:
  F7788618: Screenshot_20191128_153515.png 

  Of course, I can't just turn off the contrast desktop effect. I'm unsure how 
to move forward with this.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-27 Thread Filip Fila
filipf added a comment.


  My impression is that the rounding is currently just faked by the shadow. So 
when the shadow gets lighter, it becomes more obvious that the object itself 
isn't really rounded.
  
  F7787609: image.png 

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-27 Thread Niccolò Venerandi
niccolove added a comment.


  In D25015#568331 , @ngraham wrote:
  
  > Actually it looks like that was due to some kind of caching issue. It's 
gone now. LGTM!
  >
  > Everyone else good with this?
  
  
  Actually, it seems to me that borders are not correctly rounded except when 
on bright background, and sometimes. I'm not sure why would that be. Do you 
also see this, or is it just me?
  F7787476: image.png 
  F7787479: image.png 

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-27 Thread Nathaniel Graham
ngraham accepted this revision.
ngraham added a comment.
This revision is now accepted and ready to land.


  Actually it looks like that was due to some kind of caching issue. It's gone 
now. LGTM!
  
  Everyone else good with this?

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-26 Thread Nathaniel Graham
ngraham requested changes to this revision.
ngraham added a comment.
This revision now requires changes to proceed.


  This results in the corners of the System Tray popup no longer looking 
rounded.
  
  Current: F7785383: Rounded.png 
  
  With patch: F7785381: Not rounded.png 

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg, ngraham
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-23 Thread Niccolò Venerandi
niccolove added a comment.


  F7780181: image.png 
  I just can't get the padding right on angles when changing their size. What 
size should I change of the colored rectangles?

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-17 Thread Nathaniel Graham
ngraham added a comment.


  Yep, can confirm that it works now. It is indeed a more subtle and pleasing 
effect. I still think the distance away from the window would be lengthened to 
make it even nicer-looking. :) But if nobody else agrees, I'm okay with this in 
its current form.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-17 Thread Filip Fila
filipf added a comment.


  +1

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-17 Thread Niccolò Venerandi
niccolove added a comment.


  Finally! I'm 100% this works now.
  
  In D25015#563300 , @niccolove 
wrote:
  
  > This is a comparison: F7766697: Screenshot_20191116_165659.png 

  >  The problem is not that you don't see, it's that it doesn't show. I'll try 
to understand what's going on and get back to you.
  
  
  Please refer to the comparison to see the difference, although I think it's 
quite noticeable :-)

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-17 Thread Niccolò Venerandi
niccolove updated this revision to Diff 69886.
niccolove added a comment.


  Updated breeze shadows

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=69820=69886

BRANCH
  bettershadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/translucent/dialogs/background.svg
  src/desktoptheme/breeze/translucent/widgets/panel-background.svg
  src/desktoptheme/breeze/translucent/widgets/tooltip.svg
  src/desktoptheme/breeze/widgets/panel-background.svg
  src/desktoptheme/breeze/widgets/tooltip.svg

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-16 Thread Niccolò Venerandi
niccolove added a comment.


  This is a comparison: F7766697: Screenshot_20191116_165659.png 

  The problem is not that you don't see, it's that it doesn't show. I'll try to 
understand what's going on and get back to you.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-16 Thread Nathaniel Graham
ngraham added a comment.


  Okay, after you taught me how to delete the cache files `rm 
~/.cache/plasma*`, I can see other changes to the plasma theme SVG files but I 
must admit I still don't see a difference between the old and new shadows in 
this patch. :/

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-15 Thread Niccolò Venerandi
niccolove added a comment.


  In D25015#563147 , @ngraham wrote:
  
  > Do these shadows get cached or something? When I build the diff and restart 
plasmashell, the shadows I see are identical, pixel-for-pixel.
  
  
  I don't know. But you can manually change them by replacing the .svgz in 
/usr/share/plasma/desktopthemes/default/ dialogs/background.svgz and 
widgets/panel-background.svgz with the new svg.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-15 Thread Nathaniel Graham
ngraham added a comment.


  Do these shadows get cached or something? When I build the diff and restart 
plasmashell, the shadows I see are identical, pixel-for-pixel.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-15 Thread Niccolò Venerandi
niccolove edited the test plan for this revision.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-15 Thread Niccolò Venerandi
niccolove updated this revision to Diff 69820.
niccolove added a comment.


  Updated to new shadows

REPOSITORY
  R242 Plasma Framework (Library)

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25015?vs=68912=69820

BRANCH
  breeze-shadows (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25015

AFFECTED FILES
  src/desktoptheme/breeze/dialogs/background.svg
  src/desktoptheme/breeze/widgets/panel-background.svg

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-15 Thread Nathaniel Graham
ngraham added a comment.


  In D25015#562992 , @niccolove 
wrote:
  
  > What do you think of:
  >  F7765076: Screenshot_20191115_145942.png 

  
  
  That feels smoother.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-15 Thread Niccolò Venerandi
niccolove added a comment.


  This is what you think ends too early (for comparison):
  F7762929: Screenshot_20191114_100519.png 

  What do you think of:
  F7765076: Screenshot_20191115_145942.png 


REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-14 Thread Nathaniel Graham
ngraham added a comment.


  In D25015#562362 , @niccolove 
wrote:
  
  > Meanwhile, I tried to do a more sparse and equal-all-around shadow (to 
address Nate+Filip), but I'm not 100% okay with it. Opinions?
  >
  > F7762929: Screenshot_20191114_100519.png 

  
  
  Hmm, that shadow feels too "hard," somehow. It feels like it ends rather 
abruptly rather than fading out smoothly.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-14 Thread Niccolò Venerandi
niccolove added a comment.


  In D25015#560514 , @ndavis wrote:
  
  > > Remember that there are third party desktop themes with SVG that we 
probably want to support. Wouldn't using KWin for shadows break those?
  >
  > If we remove the code for using those SVG shadows, it won't break them in 
the sense that they will stop working. It'll just mean those parts of the 
desktop themes won't be used. I suppose that could be seen as a form of visual 
breakage.
  >
  > For complete theme sets, this shouldn't be such a problem since they also 
typically come with their own window decorations and recommend a specific 
widget style. For people who just want to get rid of the shadows we should 
probably provide an option somewhere to disable them rather than making them 
edit the plasma theme. I suppose we could wait until Plasma 6 to make that kind 
of change, but that's a ways away.
  
  
  I'm against this; there are many desktop themes that tweak their shadows 
without being a theme set, and it would be an important regression to ignore 
them.
  
  > Regardless of the method we use to achieve it (including continuing to use 
SVGs), I think it might be best to make Plasmashell's shadows match the shadows 
cast by menus (such as context menus) in applications. These are defined in the 
Breeze widget style and have different sizes to match the different window 
shadow sizes.
  
  This is interesting. I have to look more into it.
  
  Meanwhile, I tried to do a more sparse and equal-all-around shadow (to 
address Nate+Filip), but I'm not 100% okay with it. Opinions?
  
  F7762929: Screenshot_20191114_100519.png 


REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-09 Thread Noah Davis
ndavis added a comment.


  In D25015#560516 , @cblack wrote:
  
  > In D25015#560515 , @ndavis wrote:
  >
  > > One thing we might need to do in order to finally stop changing the 
shadows is come up with a math based system for deciding how shadows should 
look based on the elevation we want certain UI elements to have. We could copy 
Material Design shadows, but I don't think we should. MD's shadows get darker 
the larger they are, but that's not how real shadows work. Real shadows get 
darker the smaller they are because light bounces around.
  >
  >
  > Material shadows get more voluminous, not darker.
  
  
  Well, they look darker, which still isn't realistic: 
https://material.io/design/environment/light-shadows.html#shadows

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-09 Thread Carson Black
cblack added a comment.


  In D25015#560515 , @ndavis wrote:
  
  > One thing we might need to do in order to finally stop changing the shadows 
is come up with a math based system for deciding how shadows should look based 
on the elevation we want certain UI elements to have. We could copy Material 
Design shadows, but I don't think we should. MD's shadows get darker the larger 
they are, but that's not how real shadows work. Real shadows get darker the 
smaller they are because light bounces around.
  
  
  Material shadows get more voluminous, not darker.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: cblack, ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, 
LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-11-09 Thread Noah Davis
ndavis added a comment.


  One thing we might need to do in order to finally stop changing the shadows 
is come up with a system for deciding how shadows should look based on the 
elevation we want certain UI elements to have. We could copy Material Design 
shadows, but I don't think we should. MD's shadows get darker the larger they 
are, but that's not how real shadows work. Real shadows get darker the smaller 
they are because light bounces around.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-09 Thread Noah Davis
ndavis added a comment.


  In D25015#560498 , @niccolove 
wrote:
  
  > In D25015#559344 , @filipf wrote:
  >
  > > I'd prefer the shadows to have equal strength all around, I couldn't get 
used to weaker shadows in the corners.
  >
  >
  > Oh! That's a pity, I really liked them. I will update it as soon as I have 
time.
  >
  > In D25015#559687 , @ngraham 
wrote:
  >
  > > Ah, pixel-perfect before-and-after images make it much easier to see. I 
will reiterate my belief that the shadows now need to be bigger if we're going 
to make them lighter and weaker.
  >
  >
  > Uhm, I will try something and get back to you.
  >
  > In D25015#559765 , @ndavis wrote:
  >
  > > Rather than painstakingly making shadows by hand in Inkscape, perhaps we 
should be using KWin for the shadows?
  >
  >
  > Remember that there are third party desktop themes with SVG that we 
probably want to support. Wouldn't using KWin for shadows break those?
  
  
  If we remove the code for using those SVG shadows, it won't break them in the 
sense that they will stop working. It'll just mean those parts of the desktop 
themes won't be used. I suppose that could be seen as a form of visual breakage.
  
  For complete theme sets, this shouldn't be such a problem since they also 
typically come with their own window decorations and recommend a specific 
widget style. For people who just want to get rid of the shadows we should 
probably provide an option somewhere to disable them rather than making them 
edit the plasma theme. I suppose we could wait until Plasma 6 to make that kind 
of change, but that's a ways away.
  
  Regardless of the method we use to achieve it (including continuing to use 
SVGs), I think it might be best to make Plasmashell's shadows match the shadows 
cast by menus (such as context menus) in applications. These are defined in the 
Breeze widget style and have different sizes to match the different window 
shadow sizes.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-09 Thread Niccolò Venerandi
niccolove added a comment.


  In D25015#559344 , @filipf wrote:
  
  > I'd prefer the shadows to have equal strength all around, I couldn't get 
used to weaker shadows in the corners.
  
  
  Oh! That's a pity, I really liked them. I will update it as soon as I have 
time.
  
  In D25015#559687 , @ngraham wrote:
  
  > Ah, pixel-perfect before-and-after images make it much easier to see. I 
will reiterate my belief that the shadows now need to be bigger if we're going 
to make them lighter and weaker.
  
  
  Uhm, I will try something and get back to you.
  
  In D25015#559765 , @ndavis wrote:
  
  > Rather than painstakingly making shadows by hand in Inkscape, perhaps we 
should be using KWin for the shadows?
  
  
  Remember that there are third party desktop themes with SVG that we probably 
want to support. Wouldn't using KWin for shadows break those?

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-07 Thread Noah Davis
ndavis added a comment.


  I see the difference now as well. @niccolove BTW, the top right corner is a 
bit messed up. It's rising above the rest of the shadow on the top edge.
  
  Rather than painstakingly making shadows by hand in Inkscape, perhaps we 
should be using KWin for the shadows?

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-07 Thread Nathaniel Graham
ngraham added a comment.


  Ah, pixel-perfect before-and-after images make it much easier to see. I will 
reiterate my belief that the shadows now need to be bigger if we're going to 
make them lighter and weaker.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-06 Thread Filip Fila
filipf added a comment.


  Before:
  F7746042: Screenshot_20191107_083508.png 

  
  After:
  F7746044: Screenshot_20191107_083534.png 


REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-06 Thread Filip Fila
filipf added a comment.


  There's definitely a difference, whereas the shadows are now rough and dark 
this is subtler.
  
  I'd suggest testing this patch with a light color scheme and then switching 
to the unpatched theme plus testing against light backgrounds to notice the 
changes.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-06 Thread Nathaniel Graham
ngraham added a comment.


  In D25015#559367 , @ndavis wrote:
  
  > I haven't said much about this idea because I just have a hard time seeing 
the difference from the screenshots.
  
  
  I must admit having the same problem. :)

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-06 Thread Noah Davis
ndavis added a comment.


  I haven't said much about this idea because I just have a hard time seeing 
the difference from the screenshots. It seems like a good amount of effort went 
into this, and I know from experience that adjusting shadows in Inkscape is a 
major PITA, but I can't approve something just because of that. Maybe we're 
using the wrong approach for shadows in the first place?

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ndavis, manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-06 Thread Filip Fila
filipf added a comment.


  I'd prefer the shadows to have equal strength all around, I couldn't get used 
to weaker shadows in the corners.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-06 Thread Niccolò Venerandi
niccolove added a comment.


  Any update on this? I can also upload the shadow for the panel.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-11-02 Thread Manuel Jesús de la Fuente
manueljlin added a comment.


  I hope this gets approved so T10470  
doesn't look awkward with thin and dark shadows

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: manueljlin, ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, 
michaelh, bruns


D25015: Update breeze theme shadows

2019-10-29 Thread Niccolò Venerandi
niccolove added a comment.


  In D25015#48 , @ngraham wrote:
  
  > If anything I wonder if we should make them bigger too, to better match the 
default Breeze shadows.
  
  
  I'd prefer to avoid them making more sparse because a) they look worse to me 
when applied to small objects such as notifications (you have big shadows for a 
relatively small item, they don't give the impression to be casted by that 
item) b) lots and lots of techical problem when trying to change shadow size :-/

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-10-28 Thread Nathaniel Graham
ngraham added a comment.


  If anything I wonder if we should make them bigger too, to better match the 
default Breeze shadows.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: ngraham, filipf, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns


D25015: Update breeze theme shadows

2019-10-28 Thread Filip Fila
filipf added a comment.


  Testing it. Usability wise the strength is perfectly fine; the shadows still 
do their job.
  
  Visually it's a definitive improvement for me.
  
  Only thing I'm not sure of is the weaker strength in the corners, but I'm 
going to keep testing to see if it's just a matter of getting used to it.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: filipf, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns


D25015: Update breeze theme shadows

2019-10-28 Thread Niccolò Venerandi
niccolove retitled this revision from "I have received negative feedback (and I 
agree with it) on the current state of breeze shadows: they are quite dark, 
narrow, and feel unnatural. I tried to adress that by making shadows more 
sparse and a bit lighter especially on the angles while..." to "Update breeze 
theme shadows".
niccolove edited the summary of this revision.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25015

To: niccolove, #vdg
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns