Bug 374452 - Applications that sit in the systray do not open a window when started from menu
Summary: Applications that sit in the systray do not open a window when started from menu
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-02 09:50 UTC by smihael
Modified: 2020-09-29 04:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-26207-0.html (1.21 KB, text/html)
2017-01-04 09:24 UTC, smihael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smihael 2017-01-02 09:50:07 UTC
Applications that reside within system tray once started (daemons like kwalletmanager, basket, kgpg) won't open a window when I start them from menu or krunner, as I would have expected.

Often, it is easier to just type kwallet in krunner than to search for the icon in the systray (where it is possibly hidden). Instead the busy indicator appears and dissapears once the existing instance of the program is found. One might think that the programm has crashed but in fact it only won't open the window of the existing instance, which is probably a kwin bug.
Comment 1 Martin Flöser 2017-01-02 16:52:14 UTC
Why do you think it's a KWin bug? if the application does not open the window, that's primarily the application's fault. The window manager does not interact with the systray at all.
Comment 2 smihael 2017-01-04 09:24:22 UTC
Created attachment 103188 [details]
attachment-26207-0.html

That was more of a guess as the problem applies to more than one
application and I couldn't reproduce the same behaviour with Trinity's twin
fork of kwin from KDE 3.5.But trinity loads other frameworks too, so it
might apply to other components.

On 2 January 2017 at 17:52, Martin Gräßlin <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=374452
>
> --- Comment #1 from Martin Gräßlin <mgraesslin@kde.org> ---
> Why do you think it's a KWin bug? if the application does not open the
> window,
> that's primarily the application's fault. The window manager does not
> interact
> with the systray at all.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Martin Flöser 2017-01-04 15:51:16 UTC
Reassigning to KDE - I have no idea where exactly this bug is or whether it's a bug at all. All I know is that KWin has nothing to do with it.
Comment 4 David 2018-01-18 16:55:39 UTC
I think this is more of a feature request than a bug, but I heartily agree. 

When KDE applications are executed, IMHO, and detect already running instances, they should signal the running instance to activate instead of passively dying.
Comment 5 David 2018-01-18 17:02:58 UTC
(In reply to David from comment #4)
> I think this is more of a feature request than a bug, but I heartily agree. 
> 
> When KDE applications are executed, IMHO, and detect already running
> instances, they should signal the running instance to activate instead of
> passively dying.

I just noticed that KGPG does this when executed with "kgpg -k". KWalletManager5 has no such option, or any options at all.
Comment 6 Nate Graham 2020-09-29 04:37:35 UTC
Martin is right: this is entirely up to the apps themselves. I'm afraid there's no real way to fix it on a central location. Your best bet is to file bugs on each app that doesn't behave as you would expect.