Windows previews in qml plasmoid?

Michail Vourlakos mvourlakos at gmail.com
Mon Jul 2 09:07:08 UTC 2012


Στις 02/07/2012 10:44 πμ, ο/η Martin Graesslin έγραψε:
> On Monday 02 July 2012 00:09:00 Michail Vourlakos wrote:
>> In a month I will upload
>> a video showing my current use case and from so far I havent noticed any
>> drawbacks with
>> Plasma::WindowEffects::showWindowThumbnails. I dont know what are the
>> issues but I havent
>> noticed any in my implementation so far...
> I totally believe you that you have not noticed any issues so far. On your
> hardware you might even never notice it.
>
> If you want to see the issues, try the following: put your applet on the
> desktop, put a few window on top of it, start a video player (and play a
> video) and run it in not fullscreen and not overlapping the thumbnails in your
> applet. Now enable the show paint effect (only if you do not suffer of epilepsy)
> and watch what gets repainted. And please note that rendering the thumbnail is
> very expensive because we do have a filter on it (if you have Intel graphics
> you won't notice that because Intel graphics prior to Sandybridge was not able
> to do this expensive filter).
>
> Cheers
> Martin
> ____________________

Hello, Martin,
I have tried what you are describing but I cannot reproduce the 
problematic behavior.
My graphic card is an 'NVidia GeForce 9300M GS', I think that it is not 
very old or new,
I think it's a normal category.

I placed my applet on the desktop, I am playing a video in the corner, 
and I enable
window previews for 4 windows that exist in every activity and desktop 
(including
the video one). No problems appear, I am moving the windows around, 
minimizing etc
no problem appears. As of processor load concern, by enabling the 
previews the load
of the process increases only by 10%.

Either way, if a problem arises like the one you describing the user 
always can disable the
previews for the windows in the plasmoid and of cource the use case 
could be that the
plasmoid can check if it is placed in the dashboard and only then giving 
the user the option
for window previews.

During  the day I will upload a video showing the plasmoid in its 
current development status
with window previews in the dashboard. If you want I can also upload a 
second video
showing the use case you are describing for a proof of concept case. I 
dont know why
I havent noticed any serious concerning issues maybe it's my spesific 
hardware...

The project is in:
https://gitorious.org/activities-plasma
repo:plasmoid

You can test it to tell me if these issues are present for my plasmoid 
also. To enable/disable
the window previews there is a white box on the top-left corner. I know that
the code is in a mess state currently but the software is still 
considered an alpha.

Cheers,
Michail
> __________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>




More information about the Plasma-devel mailing list