Bug 440846 - Global settings inappropriately live in the applet
Summary: Global settings inappropriately live in the applet
Alias: None
Product: plasma-pa
Classification: Unclassified
Component: applet (show other bugs)
Version: 5.21.90
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: David Rosca
Keywords: usability
: 454789 (view as bug list)
Depends on:
Blocks: 439992 443356
  Show dependency treegraph
Reported: 2021-08-10 19:38 UTC by Nate Graham
Modified: 2022-06-03 18:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2021-08-10 19:38:04 UTC
This is confusing for two reasons:
1. Since they are not applet-specific, the logical place for the user to try to find them is in the KCM, but they're not there.
2. If you have multiple plasma-pa applets (e.g. with a multi-monitor setup where each monitor has a panel with a system tray on it), their settings compete and it's not clear which applet wins.

We should move the settings to the KCM, like the Notifications applet does. It uses kconfig to store the settings data in an rc file rather than the applet config, and implements a global singleton to make this settings data available to all the Notifications applets and let them read the same settings together. To handle the use case of there not being any notifications applets present, the KCM displays an error message and disables the settings that affect the applet when opened with no applets present.

The plasma-pa applet could benefit from doing the same.
Comment 1 Nate Graham 2022-06-03 18:37:40 UTC
*** Bug 454789 has been marked as a duplicate of this bug. ***