[PATCH] Turn Powerdevil suspend notification into a dialog
Aurélien Gâteau
aurelien.gateau at canonical.com
Thu Sep 24 14:12:23 BST 2009
Martin Gräßlin wrote:
> 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 :-(
No, it probably does not work with twm, nor amiwm (too bad, I used to
like this one). I am quite confident it works well with NetWM compliant
window managers.
The patch won't be applied upstream, even if it seems there was genuine
interest for it coming from people who, unlike me, did not sell their
soul to the evil Ayatana empire. That's life, it is not my first
rejected patch, not my last one either.
This discussion is now a waste of time, but feel free to continue.
Aurelien
More information about the kde-core-devel
mailing list