Version: 2.02 (using KDE 4.2.1)
Installed from: Fedora RPMs
When the screensaver is activated (for example when you leave the PC idle for a while), but Amarok is playing in background, when a message from Amarok's on screen display (OSD) appears, the screen blinks for a moment. I use the black screen as a screensaver. I use KDE 4.2.1 and Amarok 2.0.2 taken from Fedora 10 x86_64 repositories. I enabled Kwin's Desktop effects (I don't know if it matters).
How to reproduce:
1. Start a playlist with Amarok.
2. Start screensaver (automatically or by blocking session)
3. wait for the song change (or any event which generates a amarok OSD message)
Well the question is if this can be seen as an Amarok bug, or rather as a problem with a different component (e.g. window manager).
At any rate, we might be able to detect that a screensaver is running (is this possible?), and then suppress the OSD.
How to detect this, does anyone know?
I'm pretty sure this is a kwin bug... I've seen it in other cases as well, an osd + full screen window does not play well together.
Yay, just asked some friendly KDE devs on IRC, and got this reply:
"<mpyne> markey: qdbus org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.GetActive"
So I guess we could try that :)
Doesn't hurt to add that check, but fwiw, I coudln't reproduce the problem.
This really shouldn't be solved by Amarok. As Dan said, this is a bug in kwin or something as the screensaver should not be overlapped by any widget if active. I've seen knotify "breaking through" aswell, but I think it got fixed by some KDE/Qt upgrade. Amarok's OSD doesnt pop up here, so cant reproduce.
Ok, Kevin is probably right then. No need to add ugly workarounds for bugs in other software (which will get fixed anyway, most likely).
Please report the bug at the right place then.
Or, you know, you could reassign this bug...
given the same problem with Plasma Notifications in bug #179924 and this had to be fixed in Plasma, I think this has to be fixed in Amarok as well.
So back to Amarok, but I keep kwin ML in CC.
It is a responsibility of the screen locker to hide everything else on the screen. There must be a bug in its code.
*sigh* the new "improved" bugzilla ui sucks so badly.
from my memory of the screensaver restacking code, I don't know what could be wrong. there's actually a confused comment in there from me... but in new code, and afaik we've had this problem since kde3 or longer. lubos, have you looked at that code recently? workspace/krunner/lock/lockprocess.cc:1311
*** This bug has been marked as a duplicate of bug 179924 ***