Review Request: KWallet Password Prompt Dialog In Your Face
Martin Gräßlin
kde at martin-graesslin.com
Fri Jul 20 16:48:48 BST 2012
> On July 20, 2012, 2:15 p.m., Martin Gräßlin wrote:
> >
>
> Allen Winter wrote:
> So I don't know much about window managers and stuff.. what I want is to make sure that no matter what the prompt dialog is in the user's face and can't be dismissed.
>
> The worst case I've found is when the akonadi mail dispatcher needs to open the wallet. the prompt dialog for that has been hidden in some cases.. and can also be stacked below kmail or minimized. when that happens the user sees their message sitting in their outbox forever (since the mail dispatcher is waiting for kwallet to return)
> what I want is to make sure that no matter what the prompt dialog is in the user's face and can't be dismissed.
I'm sorry to say that is not possible. We do not have a nag screen mode as Window Vista and I do not see a way how that could be implemented in a secure way on X11.
It's not possible to force one window to have focus till the user dealt with it and I hope we all see that we don't want to implement support for that.
> The worst case I've found is when the akonadi mail dispatcher needs to open the wallet. the prompt dialog for that has been hidden in some cases.. and can also be stacked below kmail or minimized.
It's stacked below because KWin's focus stealing prevention most likely kicks in because a random dialog tries really hard to get on top of the stacking order. Of course that cannot be permitted. But it's possible to use it correctly. Make the KWallet dialog a transient to KMail.
But I think we are trying here to add further glue to something which is completely broken from the ground up. I'll send a mail to kcd and plasma suggesting a completely different approach.
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105628/#review16158
-----------------------------------------------------------
On July 20, 2012, 1:41 p.m., Allen Winter wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105628/
> -----------------------------------------------------------
>
> (Updated July 20, 2012, 1:41 p.m.)
>
>
> Review request for KDE Runtime, David Faure and Fredrik Höglund.
>
>
> Description
> -------
>
> This is an attempt to make the KWallet password prompt much harder to ignore or miss.
>
> Now the prompt should always be in front of the parent window. and it should unminimize if needed, and demand attention.
>
>
> Diffs
> -----
>
> kwalletd/kwalletd.cpp 309c45f
>
> Diff: http://git.reviewboard.kde.org/r/105628/diff/
>
>
> Testing
> -------
>
> Just using it in various scenarios.
> For example, if the akonadi maildispatcher needs to open kwallet now the password prompt is always in front of kmail
>
>
> Thanks,
>
> Allen Winter
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120720/d1f951a5/attachment.htm>
More information about the kde-core-devel
mailing list