The wallet gets locked because of the nested event loops and in the
situation where the calling application doesn't have a main window, just
like the qdbus call exposed by Andrei. It seems that the password prompt
needs some window to attach to and if such a window is given, via the
wId open method parameter, then the wallet won't lock. This can be
demonstrated by the KWallet Manager application, wich never locks the
daemon. In fact, on my system, I never encountered this lock proble.

I'll continue the work and try to solve the problem, but it's a hard
one. Meanwhile, I suggest a workaround. Your application should wait for
the GUI thread to start, then initiate wallet open call taking care to
give the main window's ID.

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

Title:
  ksshaskpass hangs forever when run from keychain during KDE login

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to