As you currently may be aware of, embedding a Phonon::VideoWidget inside a QGraphicsProxyWidget causes the video appealing awfully while playing. I&#39;ve been bouncing here and there on IRC talking with Lucas Murray from KWin and Mark Kretschmann from Phonon.<div>
<br></div><div>Lucas says putting the VideoWidget behind the Plasma Desktop is not the way to go as he says this is like using a Window Manger to put a widget inside a fake Window Manager (Plasma) and hence a loop. As he makes us notice that the flag KeepBelow would put our widget below other widgets but not below Plasma which is registered as Desktop. (Correct me if I&#39;m wrong). </div>
<div><br></div><div>So, temporarily abandoned that idea i was trying to find a way to redirect VideoWidget painting directly onto a QGraphicsWidget. This seems to be impossible to achive through a QPixmap::grabWidget, probably due to VideoWidget&#39;s internals. QPixmap::grabWindow, instead, works pretty well and fast. But this forces us to have a QWidget always visible that is not what we want.</div>
<div>Given this, then, i was trying to find a way to extract VideoWidget frames rather than hacking through QPainter redirects but even this seems to be not possible. Mark pointed me to the Amarok VideoClip applet which displays videos from YouTube. But having a look at its code you can understand that Phonon::VideoWidget is simply put in place of the Applet when displaying a video. That is just fine for Amarok because there is no risk for other applets to cover the VideoClip one.</div>
<div><br></div><div>So, finally, keeping all this in mind i had a <b>rather nasty and probably impossible idea</b>. But it still worths a try: what about using a similar approach? We could use a plain Phonon::VideoWidget without embedding it anywhere. We can put it on top of the applet and make it follow its movements. When other applets cover our VideoApplet (we can call it this way from now on) we can simulate a faking covering using a mask directly on the Phonon::VideoWidget. Is this anyhow possible?</div>
<div><br></div><div>I hope my thoughts are clear and not so ridiculous. Please insult me if this mail just made you waste your time. It wasn&#39;t in my intentions.</div><div><br></div><div>Regards.<br clear="all"><br>-- <br>
Alessandro Diaferia<br>KDE Developer<br>KDE e.V. member<br><br>
</div>