[Bug 339902] Re: notifications visible through the screensaver

Bug Watch Updater 339902 at bugs.launchpad.net
Sun Nov 18 05:28:20 UTC 2012


Launchpad has imported 42 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=179924.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-01-07T17:52:11+00:00 Gregor Petrin wrote:

Version:           KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) "release 3.1", Plasma Workspace: 0.3 (using Devel)
OS:                Linux
Installed from:    Compiled sources

When the screen is locked & black, notifications still show through. The
screen was locked using the Lock/Logout plasmoid. Two examples: kmail
and kopete. With kmail it is not so problematic, as it just shows the
number (and directories) of new mails received. But with kopete, the
received message text is displayed; what is worse, it does not seem to
ever go away.. so if you leave your computer locked and go somewhere,
other people can very easily read your incoming kopete messages.

I am filing this bug as a plasma bug because maybe the best idea would
be to disable notifications showing altogether while the screen is
locked, as a lot of notifications may contain private text? Or just
specifying that there are one or more notifications waiting, but
actually displaying them when the user unlocks the screen?

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/0

------------------------------------------------------------------------
On 2009-01-07T18:36:20+00:00 aseigo wrote:

this is a bigger issue than just the notifications ... NOTHING should be
allowed above the screen saver. hmmm... will talk with the kwin folk
about this one.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/1

------------------------------------------------------------------------
On 2009-01-08T03:09:42+00:00 Chanika wrote:

I wonder if this is related to some composite drawing issues with widgets-on-screensaver...
anyawys, the notifications-showing problem was in kde3 too - it seems like sometimes the lockprocess restacking code works and they go away fast (or at least go grey), but often something goes wrong and the screensaver binary itself appears to be drawing over the notification - as if the thing painted itself into the window the screensaver paints on. not sure what's really going on there but it makes for some odd effects.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/2

------------------------------------------------------------------------
On 2009-01-08T09:53:00+00:00 Gregor Petrin wrote:

I tested this bug some more, it is possible that this part of my
original bug report is wrong: "what is worse, [the notification] does
not seem to ever go away". I tried it with two computers today and the
notification does go away after a few seconds, also after the first
kopete message, the following ones did not appear anymore.

I'm not sure what happened yesterday that the kopete notification was
not removed after those few seconds (I came back to work and it was
there on my locked screen, after unlocking the computer the kopete
timestamp indicated the message was sent 2 hours ago).

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/3

------------------------------------------------------------------------
On 2009-01-22T18:44:34+00:00 Stormlabs wrote:

Confirming this issue. OpenSuSE KDE 4.1.96.
Notifications are drawn over screensaver and then when they disappear, a seethrough region is left there where the notification was until the screensaver redraws.

Gfx card: Mobility Radeon 9700 and driver radeon opensource.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/4

------------------------------------------------------------------------
On 2009-02-08T00:37:04+00:00 Dario Andres wrote:

*** Bug 183600 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/5

------------------------------------------------------------------------
On 2009-03-06T15:53:08+00:00 Valerio Pilo wrote:

(In reply to comment #4)
> Notifications are drawn over screensaver and then when they disappear, a
> seethrough region is left there where the notification was until the
> screensaver redraws.
> Gfx card: Mobility Radeon 9700 and driver radeon opensource.

I have the same issue, under KDE 4.2.65 and both Qt 4.4.3 and 4.5. My
gfx driver is the intel one, with compositing off (and I remember kde
exposing the bug with compositing on, too).

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/6

------------------------------------------------------------------------
On 2009-03-18T07:07:00+00:00 T-artem wrote:

The same applies to RSIBreak application.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/13

------------------------------------------------------------------------
On 2009-03-18T07:09:36+00:00 T-artem wrote:

Aaron, it's a security sensitive bug, BTW.

It should be resolved ASAP.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/14

------------------------------------------------------------------------
On 2009-03-25T23:32:41+00:00 Jonathan Riddell wrote:

*** Bug 159959 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/16

------------------------------------------------------------------------
On 2009-03-26T16:09:13+00:00 Aurélien Gâteau wrote:

Taking inspiration from KPassivePopup code, attached patch should fix
the problem.

Note: patch was written for KDE 4.2.1, but seems to apply fine (with an
offset) on current trunk.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/18

------------------------------------------------------------------------
On 2009-03-26T16:10:40+00:00 Aurélien Gâteau wrote:

Created attachment 32410
Proposed fix

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/19

------------------------------------------------------------------------
On 2009-03-26T20:47:35+00:00 aseigo wrote:

@Aurelien: looks fine. please commit.

btw, note that with the volume of bug reports we get, it's sometimes
(often) faster and more certain to send the patch to plasma-devel@ or
post it on reviewboard.kde.org :)

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/20

------------------------------------------------------------------------
On 2009-03-27T21:17:03+00:00 T-artem wrote:

Has anyone tried to run Skype for Linux after applying this patch? Skype
shows its own notification windows and they also appeared above the
screen saver window.

As far as I understand the commit changes the way native KDE
notifications are shown and not all other possible scenarios.

So, I might be wrong or this bug is not yet resolved.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/21

------------------------------------------------------------------------
On 2009-03-30T10:55:53+00:00 Aurélien Gâteau wrote:

@Aaron: ok, about to commit. Will use reviewboard next time :)

@Artem: did you check if Skype popup also appears above xlock screen? If
so, then it's up to Skype to fix their code (I would gladly do it, but
they won't give me the source code :) )

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/24

------------------------------------------------------------------------
On 2009-03-30T11:00:23+00:00 Aurélien Gâteau wrote:

SVN commit 946749 by gateau:

Use Qt::Tool window flags for popups to avoid having them shown over
screensaver.

BUG:179924

I do not have a working copy of kdelibs 4.2 at the moment. Can someone backport
the fix?

 M  +5 -2      popupapplet.cpp


WebSVN link: http://websvn.kde.org/?view=rev&revision=946749

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/25

------------------------------------------------------------------------
On 2009-03-30T12:35:37+00:00 Aurélien Gâteau wrote:

SVN commit 946770 by gateau:

Use Qt::Tool window flags for popups to avoid having them shown over
screensaver.

CCBUG:179924

 M  +5 -2      popupapplet.cpp


WebSVN link: http://websvn.kde.org/?view=rev&revision=946770

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/26

------------------------------------------------------------------------
On 2009-04-09T06:18:12+00:00 aseigo wrote:

SVN commit 951366 by aseigo:

revert commit#946749 as it causes way too many side effects including: widgets not getting focus (kickoff no longer puts focus on the line edit), popups not going away when clicking elsewhere ...
will need another fix for BR#179924
CCMAIL:aurelien.gateau at canonical.com
CCBUG:179924


 M  +1 -2      popupapplet.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=951366

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/27

------------------------------------------------------------------------
On 2009-04-10T01:14:54+00:00 Jonathan Riddell wrote:

Here's an improved patch from Aurelian
http://bazaar.launchpad.net/~kubuntu-members/kdelibs/ubuntu/revision/46

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/28

------------------------------------------------------------------------
On 2009-04-11T09:52:18+00:00 Oswald Buddenhagen wrote:

hmpf - works for me:
  while :; do kdialog --passivepopup "This is a test" 5; sleep 10; done
then lock the screen.
intel gfx, no compositing (unlikely that it matters).

it's logical that the notification stays on the screen once it gets on
top of the screen saver - for performance, many savers redraw only the
actually changed contents. and as they don't expect strange things to
happen, they don't react to regional repaint requests, either.

somebody who can reproduce the problem please paste the messages from
krunner_lock (4.1) / kscreenlocker (4.2) found at/near the end of
~/.xsession-errors (provided kdm is used, otherwise you have to figure
out yourself) after unlocking the screen.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/29

------------------------------------------------------------------------
On 2009-04-13T17:10:06+00:00 Oswald Buddenhagen wrote:

*** Bug 188408 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/30

------------------------------------------------------------------------
On 2009-04-17T10:45:48+00:00 Aurélien Gâteau wrote:

SVN commit 955241 by gateau:

Do not let plasma popup appear over screensaver.

BUG: 179924

 M  +13 -17    popupapplet.cpp  
 M  +1 -0      private/popupapplet_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=955241

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/31

------------------------------------------------------------------------
On 2009-04-17T10:51:05+00:00 Mgraesslin wrote:

Sorry, but that's not really fixed. Given the duplicate bug #188408 for
example. It's fixed for Plasma popups, now, but the root cause is still
not fixed.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/32

------------------------------------------------------------------------
On 2009-04-17T11:08:14+00:00 T-artem wrote:

I still believe that patching Plasma is not the right way to go, since
this bug may appear hear and there for new Linux applications not
written "properly" and given that possibility I'm still sure it's a
kwin/screensaver bug (btw, no such issue existed in KDE 3.5.x - what has
changed since that time?)

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/33

------------------------------------------------------------------------
On 2009-04-19T16:17:56+00:00 Dario Andres wrote:

*** Bug 189987 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/34

------------------------------------------------------------------------
On 2009-04-21T11:20:13+00:00 Aurélien Gâteau wrote:

SVN commit 956998 by gateau:

Do not let plasma popup appear over screensaver.

BUG: 179924


CCMAIL:aseigo at kde.org

 M  +13 -17    popupapplet.cpp  
 M  +1 -0      private/popupapplet_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=956998

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/35

------------------------------------------------------------------------
On 2009-04-21T11:26:14+00:00 Mgraesslin wrote:

please use CCBUG in such cases - we do not have to manually reopen the
bug again and again ;-)

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/36

------------------------------------------------------------------------
On 2009-04-25T20:35:01+00:00 Dario Andres wrote:

*** Bug 180651 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/37

------------------------------------------------------------------------
On 2009-04-29T17:21:10+00:00 L-lunak-5 wrote:

SVN commit 961161 by lunakl:

Simplify the restacking code.
CCBUG: 179924


 M  +18 -31    lockprocess.cc


WebSVN link: http://websvn.kde.org/?view=rev&revision=961161

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/38

------------------------------------------------------------------------
On 2009-04-29T17:41:23+00:00 L-lunak-5 wrote:

SVN commit 961177 by lunakl:

// We actually have to check the current stacking order. When an override-redirect
// window is shown or raised, it can get above the screensaver window and there's not
// much to do to prevent it (only the compositing manager can prevent that). This
// is detected by the screenlocker and handled here, but the contents of the window
// may remain visible, since some screensavers don't react to Expose events and
// don't repaint as necessary. Therefore, if a window is detected above any of the windows
// related to screenlocking, I don't see any better possibility than to completely
// erase the screenlocker window.
BUG: 179924


 M  +40 -2     lockprocess.cc


WebSVN link: http://websvn.kde.org/?view=rev&revision=961177

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/39

------------------------------------------------------------------------
On 2009-04-29T17:44:15+00:00 L-lunak-5 wrote:

Nevermind.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/40

------------------------------------------------------------------------
On 2009-05-01T19:11:52+00:00 Dario Andres wrote:

Is the case stated in bug 191278 related to this too ? Thanks

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/41

------------------------------------------------------------------------
On 2009-09-04T14:18:13+00:00 Allo wrote:

This is in KDE 4.3 still an issue. Worse, when the notification is
hidden, a short time the screen-content under the notification is
visible before the screen turns black again.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/42

------------------------------------------------------------------------
On 2009-09-19T17:10:49+00:00 T-artem wrote:

In KDE 4.3.1 this issue persists.

I firmly believe that fixing just KDE applications will NOT fix this
issue, since I have other applications which show their notifications
above screensaver (e.g. audacious xosd).

So, it seems like a KWin bug for me.

Oops, I'm repeating myself :)

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/43

------------------------------------------------------------------------
On 2010-01-11T11:47:47+00:00 Rolf Eike Beer wrote:

Still there in 4.4RC1

-Intel 945
-openSuSE 11.2 x86

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/44

------------------------------------------------------------------------
On 2010-01-11T12:21:01+00:00 T-artem wrote:

Obviously, because no one on the kscreensaver team can fix this problem
- this bug's "Product" is set incorrectly.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/45

------------------------------------------------------------------------
On 2010-01-11T18:26:13+00:00 Allo wrote:

It got even worse: if you shake your mouse after the screensaver is
activated, you see the plamoids of the blank screensaver but no black
background but the windows below. If you click cancel on the passwort-
prompt, the background gets black, as it should.

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/46

------------------------------------------------------------------------
On 2010-01-30T21:38:26+00:00 Wln2qp5ozl9x-gzvg-xrvasaslqcgv wrote:

Another data point for you perhaps:
When watching a video in mplayer at fullscreen, the notifications still come up on top of the video.

This is with desktop effects disabled.
KDE 4.3.4
QT 4.5.3
xorg-server 1.6.3.901-r2

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/47

------------------------------------------------------------------------
On 2010-06-12T12:27:25+00:00 L-lunak-5 wrote:

SVN commit 1137311 by lunakl:

Try harder not to have any race conditions in the code that tries
to prevent windows showing up above the screensaver window.
I'm however getting rather confident that plasma notifications
showing above screensaver is actually an X bug.
CCBUG: 179924


 M  +113 -19   lockprocess.cc  
 M  +7 -0      lockprocess.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1137311

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/48

------------------------------------------------------------------------
On 2010-08-28T15:42:13+00:00 Mgraesslin wrote:

*** Bug 244912 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/49

------------------------------------------------------------------------
On 2011-05-12T06:52:08+00:00 Benoit-gouhier wrote:

*** Bug 248667 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/50

------------------------------------------------------------------------
On 2012-04-22T20:14:18+00:00 Mgraesslin wrote:

The last remaining issue in this bug has probably been in the
compositor: the notification got stacked *behind* the lock window (not
visible) but when the notification closed the window (fade out/slide
out) animation stacked the notification above the lock window (visible).

With 4.9 we fixed bug #158262 which means the notification is no longer
stacked above the lock window so I am quite confident that finally this
very annoying bug has been fixed.

For the record:
Git commit 431aad6d6994695e72697fcc3299ec2cb6f0684e by Martin Gräßlin. 
Committed on 09/04/2012 at 11:06.
Pushed by graesslin into branch 'master'.

Keep position in stacking order for deleted windows

Workspace::addDeleted swaps the Client with the Deleted in the stacking
order. For Unmanaged windows the Deleted is appended to the stacking
order which is the same layer.

When the deleted is closed the window is removed from the stacking
order.

The result is that a deleted window is no longer raised above all other
clients.

REVIEW: 104519 
FIXED-IN: 4.9.0 

M +1 -1 kwin/deleted.cpp 
M +0 -3 kwin/layers.cpp 
M +15 -3 kwin/workspace.cpp 
M +1 -1 kwin/workspace.h 

http://commits.kde.org/kde-
workspace/431aad6d6994695e72697fcc3299ec2cb6f0684e

Reply at: https://bugs.launchpad.net/ubuntu/+source/notify-
osd/+bug/339902/comments/51


** Changed in: kde-baseapps
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/339902

Title:
  notifications visible through the screensaver

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/339902/+subscriptions




More information about the kubuntu-bugs mailing list