Bug 244301 - KWalletManager does not open its mainwindow initially
Summary: KWalletManager does not open its mainwindow initially
Status: CONFIRMED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
: 258788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-12 16:26 UTC by Hans Meine
Modified: 2013-09-03 21:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Meine 2010-07-12 16:26:20 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

Everytime I want to look up a password, I start kwalletmanager via KRunner.  Unfortunately, this does not open a mainwindow, but just ensures that there's an icon in the dock.

Since the dock hides unused icons, this became even worse, because I need not only use the mouse to find and hit the small icon in the dock, but I first need to press the small triangle to expand the dock (and eventually hide the unused icons again after opening the main window).

Reproducible: Always

Steps to Reproduce:
1) Make sure that KWalletManager is not visible.  (A tray icon does not matter.)
2) Start kwalletmanager (e.g. via the runner).
3) Expect a window to show, which does not.

I had "show manager in system tray" as well as "Hide system tray icon when last wallet closese" checked, but even after unchecking these options, the behavious seems to stay the same.

Actual Results:  
No window was shown.

Expected Results:  
I would expect KWalletManager to show its main window, independently of whether it was running (invisibly/only with a tray icon) or not.

I am actually running KDE 4.4.5, but that's yet missing from the bugzilla combo.
Comment 1 Hans Meine 2010-07-13 10:06:46 UTC
I just found out (after restarting KDE) that the option "show manager in system tray" is indeed important.

Obviously, it is another bug that this option does not immediately become effective, so the running process did not change behaviour when I tested it yesterday.  After a restart (with tray icon disabled), the main window shows as desired.
Comment 2 Christoph Feck 2010-12-06 02:00:17 UTC
*** Bug 258788 has been marked as a duplicate of this bug. ***
Comment 3 Valentin Rusu 2013-09-03 21:14:10 UTC
Actually, after changing the "show manager in system tray" option, you won't need to log-out. It's only needed to quit kwalletmanager. Next time you'll start it it'll show the main window.

I suppose this behavior tries to solve another issue. If kwalletamanger window would show when "show manager in system tray" would be on, then you'll systematically get kwalletmanager window upon each session open. That's not desired for some users and that's why the wallet manager won't show it's main window with this option on.

We need to find a method to figure-out the condition that leaded to kwalletmanager start: was it a dbus activation?  or was it a krunner action? Depending on this, the main window should show or not. That's why this is not really a bug.