<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>188408</bug_id>
          
          <creation_ts>2009-03-29 17:16:08 +0000</creation_ts>
          <short_desc>Don&apos;t show OSD when screensaver is active</short_desc>
          <delta_ts>2009-04-13 17:10:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kscreensaver</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>179924</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Davide Rondini">davide.rondini</reporter>
          <assigned_to name="kscreensaver bugs tracking">kscreensaver-bugs-null</assigned_to>
          <cc>amarok-bugs-null</cc>
    
    <cc>chanika</cc>
    
    <cc>kfunk</cc>
    
    <cc>kwin-bugs-null</cc>
    
    <cc>l.lunak</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>736364</commentid>
    <comment_count>0</comment_count>
    <who name="Davide Rondini">davide.rondini</who>
    <bug_when>2009-03-29 17:16:08 +0000</bug_when>
    <thetext>Version:           2.02 (using KDE 4.2.1)
OS:                Linux
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&apos;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&apos;s Desktop effects (I don&apos;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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736386</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2009-03-29 18:57:44 +0000</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736389</commentid>
    <comment_count>2</comment_count>
    <who name="Dan Meltzer">dmeltzer.devel</who>
    <bug_when>2009-03-29 19:07:20 +0000</bug_when>
    <thetext>I&apos;m pretty sure this is a kwin bug... I&apos;ve seen it in other cases as well, an osd + full screen window does not play well together.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736390</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2009-03-29 19:07:58 +0000</bug_when>
    <thetext>Yay, just asked some friendly KDE devs on IRC, and got this reply:

&quot;&lt;mpyne&gt; markey: qdbus org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.GetActive&quot;


So I guess we could try that :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>737336</commentid>
    <comment_count>4</comment_count>
    <who name="Seb Ruiz">ruiz</who>
    <bug_when>2009-04-01 13:05:53 +0000</bug_when>
    <thetext>Doesn&apos;t hurt to add that check, but fwiw, I coudln&apos;t reproduce the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>738565</commentid>
    <comment_count>5</comment_count>
    <who name="Kevin Funk">kfunk</who>
    <bug_when>2009-04-04 12:05:27 +0000</bug_when>
    <thetext>This really shouldn&apos;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&apos;ve seen knotify &quot;breaking through&quot; aswell, but I think it got fixed by some KDE/Qt upgrade. Amarok&apos;s OSD doesnt pop up here, so cant reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>738572</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2009-04-04 12:19:40 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>738690</commentid>
    <comment_count>7</comment_count>
    <who name="Dan Meltzer">dmeltzer.devel</who>
    <bug_when>2009-04-04 15:32:35 +0000</bug_when>
    <thetext>Or, you know, you could reassign this bug...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>738734</commentid>
    <comment_count>8</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2009-04-04 16:18:09 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>738739</commentid>
    <comment_count>9</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2009-04-04 16:29:28 +0000</bug_when>
    <thetext>It is a responsibility of the screen locker to hide everything else on the screen. There must be a bug in its code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>738740</commentid>
    <comment_count>10</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2009-04-04 16:31:37 +0000</bug_when>
    <thetext>*sigh* the new &quot;improved&quot; bugzilla ui sucks so badly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>741823</commentid>
    <comment_count>11</comment_count>
    <who name="Chani">chanika</who>
    <bug_when>2009-04-11 18:16:55 +0000</bug_when>
    <thetext>from my memory of the screensaver restacking code, I don&apos;t know what could be wrong. there&apos;s actually a confused comment in there from me... but in new code, and afaik we&apos;ve had this problem since kde3 or longer. lubos, have you looked at that code recently? workspace/krunner/lock/lockprocess.cc:1311</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742624</commentid>
    <comment_count>12</comment_count>
    <who name="Oswald Buddenhagen">ossi</who>
    <bug_when>2009-04-13 17:10:06 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 179924 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>