Bug 470798 - Allow disabling microphone indicator
Summary: Allow disabling microphone indicator
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Microphone Indicator widget (show other bugs)
Version: 5.27.5
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 18:16 UTC by wbqq
Modified: 2025-03-14 14:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments
no "disabled" button for Microphone systray applet (93.80 KB, image/png)
2023-06-10 09:05 UTC, wbqq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wbqq 2023-06-08 18:16:28 UTC
SUMMARY
unable to disable microphone indicator. i don't need it and i want not to just hide it but to disable completely

SOFTWARE/OS VERSIONS
Linux: gentoo
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.5
Comment 1 Nate Graham 2023-06-09 19:36:44 UTC
How have you tried to disable it? Is the standard method not working?
Comment 2 wbqq 2023-06-10 09:05:39 UTC
Created attachment 159579 [details]
no "disabled" button for Microphone systray applet
Comment 3 wbqq 2023-06-10 09:11:20 UTC
(In reply to Nate Graham from comment #1)
> How have you tried to disable it? Is the standard method not working?

Yes, I expected an option "disabled" like the one any other systray's entry applet have, but there isn't (see attachment #1 [details]).
The only way to disable this for me is to go systemsettings > startup and shutdown > background services, and disable the "status notifier manager" but that would prevent any applications like ktorrent from having their systray applet, and I want to just disable the microphone applet.
Comment 4 Bug Janitor Service 2025-03-03 00:30:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5283
Comment 5 Nate Graham 2025-03-14 14:52:18 UTC
Git commit 13a2b93ec46bc529e5f95cadd58e2b359626dcd3 by Nate Graham.
Committed on 14/03/2025 at 14:42.
Pushed by ngraham into branch 'master'.

applets/systemtray: allow fully disabling app SNIs

Some people don't like app-provided SNIs, but some apps don't offer an
option internally to disable their SNI. This is annoying.

As such, offer the option to hide app-provided SNIs from the System
Tray.

When the user does this, a message will be shown warning them that it's
at their own risk since it could break the app.

Implementation-wise, the cleanest way I found was to save the list of
disabled SNIs in a new config file key, rather than adding them to the
existing extraItems key; extraItems was designed to only hold plasmoid
IDs, and re-engineering it to accept SNI IDs as well ended up being
much more complex and fragile.
Related: bug 489239
FIXED-IN: 6.4.0

M  +4    -0    applets/systemtray/package/contents/config/main.xml
M  +55   -20   applets/systemtray/package/contents/ui/ConfigEntries.qml
M  +2    -1    applets/systemtray/systemtraymodel.cpp
M  +7    -0    applets/systemtray/systemtraysettings.cpp
M  +3    -0    applets/systemtray/systemtraysettings.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/13a2b93ec46bc529e5f95cadd58e2b359626dcd3