[PATCH] Turn Powerdevil suspend notification into a dialog

Martin Gräßlin ubuntu at martin-graesslin.com
Thu Sep 24 13:03:57 BST 2009


Am Donnerstag 24 September 2009 13:50:49 schrieb Aurélien Gâteau:
> Martin Gräßlin wrote:
> > Am Mittwoch 23 September 2009 10:02:13 schrieb Aurélien Gâteau:
> >>> a dialog gets in your way, may end up accidentally triggered due to
> >>> unexpected focus change and a dialog for this would erode integration
> >>> with the rest of the desktop shell
> >>
> >> This is why I made it so the dialog would not steal focus.
> >
> > And which doesn't work. Even if it doesn't steal focus you place the
> > dialog on top of other windows and by that can be triggered accidentialy.
> > Of course could happen with the notification as well, but the
> > notification is not shown in an area where you expect new dialogs to be
> > shown. Sorry dialogs just appearing out of nothing is the wrong thing to
> > do.
> 
> Would be trivial to make the dialog popup somewhere else if need be.
and doesn't solve the problem that it is still a dialog. When you put it 
somewehere to not interfere with other windows by e.g. placing it next to the 
panel you make that dialog part of the workspace. When it is part of the 
workspace it has to be native that is: Plasma. But dialogs are not part of 
Plasma.

And again what if you don't run KWin? What if you run a tiling wm? Or a wm 
which ignores the requested geometry? Dialogs just opnening out of nothing are 
broken by design and should not be used at all. That's one of the flaws in the 
Ayatana spec. But talking about it is like fighting windmills :-(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090924/0106ba48/attachment.sig>


More information about the kde-core-devel mailing list