Bug 423408 - Add option to disable system tray icon
Summary: Add option to disable system tray icon
Status: RESOLVED FIXED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 19:55 UTC by Kai Uwe Broulik
Modified: 2020-06-28 16:24 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 Kai Uwe Broulik 2020-06-23 19:55:15 UTC
SUMMARY
I generally like the idea of having a System Tray icon for Yakuake to make it discoverable, personally I've been using Yakuake for years, so I don't need this. You can only hide ("always hidden") SNIs in System Tray but not disable them. Most KDE applications that show a tray icon have a dedicated setting to turn it off. Yakuake should have this, too


STEPS TO REPRODUCE
1. Start Yauake
2. See Tray icon
3. Try to fully get rid of tray ico

OBSERVED RESULT
You can't

EXPECTED RESULT
You can go to Yakuake settings and uncheck "Show Yakuake in system tray" or similar
Comment 1 Maximilian Schiller 2020-06-25 20:17:41 UTC
yeah I didnt want to add another option for a feature that kinda overlaps with something already provided by plasma.
But I agree in terms of consistency with other apps and the presented use case that a option should be added.

Will make a mr in a couple of days.
Comment 2 Bug Janitor Service 2020-06-28 11:09:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/yakuake/-/merge_requests/23
Comment 3 Maximilian Schiller 2020-06-28 16:24:35 UTC
Git commit 5922702562bd637a09b7a77ccca0db2762b43968 by Maximilian Schiller.
Committed on 28/06/2020 at 16:24.
Pushed by mschiller into branch 'master'.

Add option to toggle the systray icon

This patch adds a option to enable and disable the yakuake systray icon.

Because KStatusNotifier doesnt provided support for disabling it has to
be removed and readded whenever the option changes. But deleting causes
the QMenu to be deleted therefore also recreate the menu on deletion.

M  +10   -0    app/config/behaviorsettings.ui
M  +5    -0    app/config/yakuake.kcfg
M  +27   -11   app/mainwindow.cpp

https://invent.kde.org/utilities/yakuake/commit/5922702562bd637a09b7a77ccca0db2762b43968