questions about KWin shadows

Marco Martin notmart at gmail.com
Wed May 4 20:03:42 CEST 2011


On Wednesday 04 May 2011, Aaron J. Seigo wrote:
> On Wednesday, May 4, 2011 17:19:37 Martin Gräßlin wrote:
> > that is in fact the main idea of the new shadow system as the compositor
> > cannot know about the light model used by the client, whether to apply
> > drop shadows etc. etc. And of course the compositor doesn't know the
> > clients shape like Marco already said.
> 
> well, in any case, it's working now in master for panels. those are now
> rendered using the kwin effect. i'll work on the other bits and pieces in
> libplasma later.
> 
> it seems to work nicely with the panel autohide slide in/out effect as
> well, and content behind the shadow is not blurred. clicks go through ...
> all in a nice improvement.
> 
> you may wish to check it out for yourselves to ensure there are no
> performance regressions.
> 
> there is just one copy of the pixmaps kept for all the panels; there will
> end up being another set for popups and yet another for tooltips, i
> believe.
yup, they should stay inside the dialogs/tooltips svgs.

while it could probably save something using a single set, themes can have 
pretty different svgs for those 3 things, altough in the case of air a single 
set would probably work

-- 
Marco Martin


More information about the Plasma-devel mailing list