Bug 6458

Summary: Can not start kwalletmanager
Product: Mageia Reporter: Diep Pham Van <imeo>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: Normal CC: bert.ram.aerts, davidwhodgins
Version: 2   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: kwalletmanager CVE:
Status comment:

Description Diep Pham Van 2012-06-14 05:25:17 CEST
Description of problem:
When I start telepathy, kwallet ask me to enter password for each account I've add. So I want to start kwalletmanager to find some helful settings.

But kwalletmanager cannot start. When I type kwalletmanager in konsole, it print out:

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.


Version-Release number of selected component (if applicable):

Name        : kwallet
Version     : 4.8.2
Release     : 1.mga2
Group       : Networking/Remote access
Size        : 440682                       Architecture: x86_64
Source RPM  : kwallet-4.8.2-1.mga2.src.rpm
URL         : http://www.kde.org/applications/system/kwalletmanager/
Summary     : KDE Wallet Management Tool
Description :
KDE Wallet Manager is for management of the wallets installed on the
system. The KDE wallet subsystem provides a convenient and secure way
to manage all your passwords.


How reproducible: Always happen.

Steps to Reproduce:
1. Add account to telepathy, choose to use kwallet to manager password
2. Logout
3. Start telepathy
4. Start kwalletmanager
Bert Aerts 2012-06-14 10:13:15 CEST

CC: (none) => bert.ram.aerts

Comment 1 Bert Aerts 2012-06-14 10:15:20 CEST
Same issue on Mageia 2 x86_64.

Starting kwalletmanager from terminal gives: 
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.

Application does not start.

But I have only one account in telepathy and have to enter my kwalletmanager password THREE times before I can go online.
Comment 2 Bert Aerts 2012-06-14 21:50:18 CEST
This is a know KDE bug:
https://bugs.kde.org/show_bug.cgi?id=297020
Annoying error message on startup: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Comment 3 Dave Hodgins 2012-06-15 04:07:38 CEST
Try running "kwalletmanager --show", then check the settings to ensure
the subsystem is enabled.

CC: (none) => davidwhodgins

Comment 4 Bert Aerts 2012-06-15 21:18:43 CEST
Thanks for the hint. Indeed
kwalletmanager --show
starts the wallet manager.

[bert@Dell1720Mageia2 ~]$ kwalletmanager --show
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)

Configuration of telepathy in the manager seems fine.
But still I need to enter my kwallet password THREE times before telepathy connects my google talk account...
Comment 5 Manuel Hiebel 2012-06-17 00:13:53 CEST
it is good configured ? (sorry I don't know how works kde sine the v4 :) )
Comment 6 Diep Pham Van 2012-06-21 06:10:17 CEST
(In reply to comment #4)
> Thanks for the hint. Indeed
> kwalletmanager --show
> starts the wallet manager.
> 
> [bert@Dell1720Mageia2 ~]$ kwalletmanager --show
> QDBusConnection: session D-Bus connection created before QCoreApplication.
> Application may misbehave.
> QDBusConnection: session D-Bus connection created before QCoreApplication.
> Application may misbehave.
> Connecting to deprecated signal
> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> 
> Configuration of telepathy in the manager seems fine.
> But still I need to enter my kwallet password THREE times before telepathy
> connects my google talk account...

In the KDE Wallet Manager windows, choose Settings --> Config Wallet --> Untick "Close when last application stops using it".

With this config, I only have to enter password one.
Comment 7 Bert Aerts 2012-06-21 22:05:24 CEST
That works indeed.
Thanks !
Comment 8 Diep Pham Van 2012-06-22 05:23:36 CEST
So this is not a bug.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 9 Bert Aerts 2012-06-22 09:15:18 CEST
(In reply to comment #8)
> So this is not a bug.

I do not agree!

Fact that you can only start kwalletmanager with the option --show should be considered as a bug.
Comment 10 Dave Hodgins 2012-06-24 02:29:17 CEST
The upstream default for kwalletmanager is to hide the icon, when
no wallets are open.

Without the option, it does start, but doesn't show, until a
wallet is open, as intended.

With the option. it does show.  It's a configuration choice.  You
may disagree with the upstream developers about what the default
should be (I do), but that doesn't make it a bug.
Comment 11 Bert Aerts 2012-06-24 11:51:51 CEST
(In reply to comment #10)
> The upstream default for kwalletmanager is to hide the icon, when
> no wallets are open.
> 
> Without the option, it does start, but doesn't show, until a
> wallet is open, as intended.
> 
> With the option. it does show.  It's a configuration choice.  You
> may disagree with the upstream developers about what the default
> should be (I do), but that doesn't make it a bug.

Thanks for the explanation.
I now agree it is not a bug.

I indeed found that starting kdewalletmanager from the KDE start menu, does not show something, but it becomes available in the hidden icons, and can be opened from there.

Thanks.