On Monday 21 January 2013 12:52:07 Marco Martin wrote: > 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) use Alt+tab with thumbnails and notice that they are clipped in a scrolling list :-)
Yes already built-in, should not be difficult to add some properties to make that work. > > (i get it won't be possible to draw on top of it for obvious reasons, but > can live without it) maybe we also find a solution to that problem... -- Martin Gräßlin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel