Bug 132476

Summary: kiten should be able to close to tray
Product: [Applications] kiten Reporter: Yaohan Chen <yaohan.chen>
Component: generalAssignee: Jason Katz-Brown <jasonkb>
Status: RESOLVED FIXED    
Severity: wishlist CC: fbriere, qmysjwxb8zhc25n
Priority: NOR    
Version First Reported In: 1.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Yaohan Chen 2006-08-16 04:51:59 UTC
Version:           1.2 (using KDE KDE 3.5.4)
Compiler:          gcc version 3.4.6
OS:                Linux (i686) release 2.6.16.19

I use kiten frequently, so it's desirable to keep it open, but it's kind of a waste to let kiten occupy taskbar space because it's more convenient to use the global shortcuts to lookup words when they need. Therefore, I would like the ability to make kiten close/minimize into a systray icon, and popup when I use the global shortcuts.
Comment 1 qmysjwxb8zhc25n 2009-08-09 22:07:19 UTC
it seems to be done in kde4
Comment 2 Frédéric Brière 2021-01-26 07:09:33 UTC
Kiten gained a system tray icon back in November 2006, a few months after this bug report was filed.

That being said, this was migrated to the new StatusNotifierItem system back in 18.11.80 (https://commits.kde.org/kiten/6454827b).  However, the SNI status is left on Passive, meaning, to quote the specification:

    Passive: The item doesn't convey important information to the user, it can be considered an "idle" status and is likely that visualizations will chose to hide it.

So, it's very likely that new versions of Kiten don't display any tray icon, just like their pre-2006 grandparents.  Might as well leave this bug report open to cover this new case.
Comment 3 Bug Janitor Service 2021-01-26 07:24:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/education/kiten/-/merge_requests/18
Comment 4 Albert Astals Cid 2021-01-30 00:31:25 UTC
Git commit 7dc8eeac42c0985c18965e47a9cc6d66e710a416 by Albert Astals Cid, on behalf of Frédéric Brière.
Committed on 30/01/2021 at 00:31.
Pushed by aacid into branch 'master'.

Set KStatusNotifierItem status to Active

A KStatusNotifierItem's status is Passive by default, meaning:

    Nothing is happening in the application, so showing this icon is not
    required.

The application is expected to set it to Active at some point:

    The application is doing something, or it is important that the icon
    is always reachable from the user.

Although we never really "do something", the second half about needing
the icon to be reachable corresponds to our situation.

M  +1    -0    app/kiten.cpp

https://invent.kde.org/education/kiten/commit/7dc8eeac42c0985c18965e47a9cc6d66e710a416