Bug 224128

Summary: KWalletManager hangs when disabling Wallet subsystem
Product: [Applications] kwalletmanager Reporter: Gerben Blom <g.d.blom>
Component: generalAssignee: Valentin Rusu <valir>
Status: REOPENED ---    
Severity: normal CC: l.malatesta87, mmodem00, pavel.nedr, rdieter, valir
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gerben Blom 2010-01-25 08:17:09 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

Ubuntu 9.10
kwalletmanager 4:4.3.2-0ubuntu1

I performed the following actions.
- start KDE Wallet Manager (for the first time after installation)
- select Settings->Configure Wallet
- deselect "Enable the KDE wallet subsystem"

Expected to have a message below the Icon "The name kde.kwalletd was not provide by any .service files"

Instead I got a message about not receiving a dbus message and another window without content.
The only way to end the KWalletManager was to perform a hard quit.

This only happened the first time I used the KWalletManager.
After that everything seems normal.

ProblemType: Bug
Architecture: i386
Date: Mon Jan 11 23:38:42 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kdeinit4
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: kdelibs-bin 4:4.3.2-0ubuntu7.2
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: kde4libs
Uname: Linux 2.6.31-16-generic i686
Comment 1 Valentin Rusu 2013-09-03 22:04:10 UTC
*** Bug 145353 has been marked as a duplicate of this bug. ***
Comment 2 Pavel Nedrigailov 2015-04-02 12:18:55 UTC
Bump! Having the same but using plasma5 (but not sure there is kwallet from KF 5)
I can't turn it on, because it hangs every time I start it.

When I run it from console, it returns: 
> kwalletmanager(23843)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(23843)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(23843)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(23843)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(23843)/kdeui (Wallet): The kwalletd service has been disabled 
and so on

OpenSuse 13.2
Comment 3 Pavel Nedrigailov 2015-04-02 12:31:39 UTC
More nearly: 

~> kwalletmanager 
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
nedr@linux-nxy3:~> kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled 
kwalletmanager(27831)/kdeui (Wallet): The kwalletd service has been disabled
Comment 4 Valentin Rusu 2015-04-04 10:12:58 UTC
Git commit 7aa72cf03c0abc2fc5208f39c86489ae45e6f378 by Valentin Rusu.
Committed on 04/04/2015 at 10:09.
Pushed by vrusu into branch 'frameworks'.

Correctly detect when kwallet is disabled upon startup
This fixes the kwalletmanager hanging upon startup when the kwallet system is
disabled. Instead of hanging, the manager would pop-up a messagebox inviting
the user to choose between kwallet activation or application quit.

M  +28   -6    src/manager/kwalletmanager.cpp
M  +2    -0    src/manager/kwalletmanager.h

http://commits.kde.org/kwallet/7aa72cf03c0abc2fc5208f39c86489ae45e6f378
Comment 5 Luca Malatesta 2015-09-23 13:57:48 UTC
Sorry, what version has this been fixed in? I still experience the same identical problem described in comment 2 by Pavel Nedrigailov (same output when starting kwalletmanager from terminal). I'm on Kubuntu 15.04 with KDE 4.14.6, and this happens with the kwalletmanager version bundled with the OS and also with the one available through Kubuntu-Backports PPA.
Comment 6 Rex Dieter 2015-11-29 12:49:33 UTC
The fix is in kf5 kwalletmanager-15.08.x and newer

Valentin, any chance you could backport this to kde4's Applications/15.04 branch?  Distros still need to be able to ship both (kde4 kwalletmanager and kf5 kwalletmanager), and we (fedora) have users still hitting this issue....

 (I naively tried adapting the commit, but I ended up with an application without a working 'configure kwalletmanager').
Comment 7 Justin Zobel 2021-03-10 00:32:42 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.