Bug 488455 - Clipboard should not hide after clearing its content
Summary: Clipboard should not hide after clearing its content
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.0
Platform: Other All
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-13 14:58 UTC by Hanabishi
Modified: 2025-03-13 23:37 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanabishi 2024-06-13 14:58:58 UTC
SUMMARY

Plasma 6 introduced new behavior by hiding widget icons when they are "not relevant".

Using the System Tray widget, you can force them to be visible via "Always show all entries" option. But there is no such possibility for standalone widgets.

So here is the feature request: add a possibility to force all widget icons on a panel to be always visible via a toggle.
Or, if that's not possible, add such "Always show" toggle for individual widgets.
Comment 1 Nate Graham 2024-06-13 18:46:32 UTC
This already exists, it's right there on the Entries page under the Visibility column. :)
Comment 2 Hanabishi 2024-06-13 19:05:47 UTC
(In reply to Nate Graham from comment #1)
> This already exists, it's right there on the Entries page under the Visibility column. :)

No, I'm talking about standalone widgets. When you use them outside of the system tray.
I.e. when you add Notifications, Clipboard, Volume etc. widgets on the panel individually.
Comment 3 Hanabishi 2024-06-13 19:25:17 UTC
Ok, for anyone who don't get it, a particular example:

1. RMB click on the panel => Add widgets...
2. Find "Clipboard" widget and add it to the panel.
3. Clear the clipboard contents.

Result:
Clipboard widget icon disappears. There is no way to make it not to do that.

Expected:
I need a way to make the widget always visible.
Comment 4 Nate Graham 2024-06-13 19:27:48 UTC
Aha, that's a bug in the Clipboard widget specifically. This is why it's good to report bugs as bugs, rather than request features to work around suspected bugs :) Something they're just bugs!
Comment 5 Hanabishi 2024-06-13 19:35:05 UTC
Oh, I genuinely thought that this is a new intentional behavior, not a bug. Ok then.
Comment 6 Nate Graham 2024-06-13 19:40:33 UTC
Aha, the problem is deeper, and affects all widgets using the default CompactRepresentation: they are inappropriately responding to the value of Plasmoid.Status when they're not in a System Tray.
Comment 7 Niccolò Venerandi 2025-02-07 15:46:17 UTC
Erm, actually, this is a "feature" of the clipboard itself, which specifically asks to be hidden - regardless of whether it's part of the system tray or not. I'll open a merge request proposing to abandon this behavior
Comment 8 Bug Janitor Service 2025-02-07 15:52:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5174
Comment 9 Bug Janitor Service 2025-02-10 16:42:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2802
Comment 10 Bug Janitor Service 2025-02-10 16:42:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5183
Comment 11 Niccolò Venerandi 2025-03-13 10:49:03 UTC
Git commit a485a72724f91d648a65108ec2866298de6f22d1 by Niccolò Venerandi.
Committed on 13/03/2025 at 10:47.
Pushed by niccolove into branch 'master'.

Only hide applets when in a custom embedded containment

As an example, this will allow the applet to hide in the
system tray but remain visible in the panel.

M  +3    -1    applets/appmenu/package/contents/ui/main.qml
M  +3    -1    applets/cameraindicator/package/contents/ui/main.qml
M  +4    -0    applets/clipboard/contents/ui/main.qml
M  +3    -1    applets/manage-inputmethod/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/a485a72724f91d648a65108ec2866298de6f22d1
Comment 12 Niccolò Venerandi 2025-03-13 10:49:05 UTC
Git commit ded83a22e068d0eb0fecaaf47268d5a4448aa94f by Niccolò Venerandi.
Committed on 13/03/2025 at 10:47.
Pushed by niccolove into branch 'master'.

Only hide applets when in a custom embedded containment

As an example, this will allow the applet to hide in the
system tray but remain visible in the panel.

M  +3    -1    applets/keyboardlayout/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/ded83a22e068d0eb0fecaaf47268d5a4448aa94f