kwin thumbnail effect in Workspaces 2

Marco Martin notmart at gmail.com
Mon Jan 21 11:52:07 UTC 2013


On Monday 21 January 2013, Martin Graesslin wrote:
> > in QML terms, the perfect solution would be an item than knows the
> > geometry of the thumbnail it will be rendering, and then all of the
> > above problems go away.
> > 
> > but if that QML item is not in kwin (something that should be avoided),
> > that implies making information available from kwin about thumbnail
> > sizes for specific windows.
> 
> The logic to determine the size of the thumbnail is not very difficult. We
> could provide a QML item (outside KWin) which has the same algorithm
> implemented and annotate code in KWin and the item to keep it in sync.
> 
> Not perfect, but better than setting some X properties...

now more difficult! would be possible to even tell the thumbnail to be 
clipped? I'm thinking if one wants to show thumbnails in a scrolling list, 
which has not 100% width or height (unlike in active)

(i get it won't be possible to draw on top of it for obvious reasons, but can 
live without it)

-- 
Marco Martin


More information about the Plasma-devel mailing list