Bug 354338 - with tray icon shown, kgpg cannot be opened from launcher or CLI
Summary: with tray icon shown, kgpg cannot be opened from launcher or CLI
Status: REPORTED
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 08:35 UTC by Aaron Wolf
Modified: 2021-04-26 10:23 UTC (History)
1 user (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 Aaron Wolf 2015-10-25 08:35:46 UTC
If kgpg is already running and is closed but icon is set to be in system tray, then trying to access it via any launcher like alt-F2 or the Kickoff simply fails. Running it in the terminal gives QDBusConnection error. This is all totally opaque.

It seems there's no way to access it in these situation besides clicking in the system tray.

Launching it otherwise should instead bring up the window for the already running program.

Reproducible: Always

Steps to Reproduce:
1. Set kgpg to show in system tray
2. close kgpg window (or just log in given being set to auto-run kgpg)
3. attempt to launch kgpg from any general launcher

Actual Results:  
nothing

Expected Results:  
seeing the kgpg window
Comment 1 Aaron Wolf 2015-10-25 08:38:13 UTC
Note: This is more serious than it may seem as setting the system tray can be done to hide the kgpg icon to the extra menu, and thus make it totally frustrating for users to have any clue what is happening in this case (since they may forget that kgpg is running and available in the system tray
Comment 2 Rolf Eike Beer 2015-10-25 09:09:50 UTC
You can run "kgpg -k" to bring the keymanager window up at any time.
Comment 3 Justin Zobel 2021-03-09 23:51:18 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.
Comment 4 Aaron Wolf 2021-03-10 00:16:06 UTC
(In reply to Justin Zobel from comment #3)
> 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.

I just checked and the problem remains exactly as described. It's not resolved or fixed in any way.
Comment 5 Aaron Wolf 2021-03-10 00:17:56 UTC
it also remains true that `kgpg -k` succeeds.

Perhaps there's a simple solution: make the launchers use `kgpg -k` in the background when kgpg is chosen but is already running.
Comment 6 Ralf Jung 2021-04-26 10:23:21 UTC
I agree that this is a serious bug. I thought kgpg was entirely broken because when I started it from the launcher or from the CLI, exactly nothing happened. Only after searching for these symptoms did I find some (old) forum post telling me to use "kgpg -k".

The bug title says "with tray icon shown", but the bug in fact also happens when the tray icon is not shown yet: either way, running "kgpg" (which is what the launcher does) does not open any KGPG UI.

When I click "kgpg" in the launcher, a KGPG window should open, no matter whether there already is some (potentially hidden) icon in the systray or not. Everything else is a bug that will frequently make people entirely unable to use this software at all.