Bug 472728 - Audio Volume plasmoid misses the "Keep open" (pin) button if added separately to a Plasma panel (not to the system tray)
Summary: Audio Volume plasmoid misses the "Keep open" (pin) button if added separately...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Audio Volume widget (other bugs)
Version First Reported In: 6.2.4
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-28 05:12 UTC by Murz
Modified: 2025-11-29 00:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:


Attachments
A screenshot with the problem (87.08 KB, image/png)
2023-07-28 05:12 UTC, Murz
Details
A screenshot with the problem (87.08 KB, image/png)
2023-07-28 05:14 UTC, Murz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2023-07-28 05:12:50 UTC
Created attachment 160576 [details]
A screenshot with the problem

STEPS TO REPRODUCE
1. Add the "Audio Volume" plasmoid to the system tray.
2. Click on the icon, and see that the "Keep open" (pin) button is present.
3. Add the "Audio Volume" plasmoid as a separate widget to a Plasma panel.
4. Click on the icon, and see that the "Keep open" (pin) button is missing.

OBSERVED RESULT
The "Keep open" (pin) button is missing.

EXPECTED RESULT
The "Keep open" (pin) button should be present.
Most of the other widgets have this pin button in both modes.

Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-25-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 30.8 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: HP
Product Name: HP EliteBook 850 G8 Notebook PC
Comment 1 Murz 2023-07-28 05:14:25 UTC
Created attachment 160577 [details]
A screenshot with the problem
Comment 2 ratijas 2023-07-28 09:17:13 UTC
Fixable with a few simple tricks. Not sure about Plasma 6, but in 5 it was a matter of adding `property QtObject nativeInterface` to the applet's full representation item + putting a pin button in the header bound to `plasmoid.configuration.pin`.

Same goes for other applets, like Bluetooth, Battery & Brightness, Media Player etc.
Comment 3 Bug Janitor Service 2025-11-25 04:28:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/391
Comment 4 Nate Graham 2025-11-29 00:13:55 UTC
Git commit f9f4463366fb0395fd8e57d0f17d237d66f6f8fa by Nate Graham.
Committed on 25/11/2025 at 04:28.
Pushed by ngraham into branch 'master'.

applet: add pin button for standalone widget in panel

It's already got one when it's in the System Tray, but not when compact
on a panel in standalone form. Add one.
FIXED-IN: 6.6.0

M  +18   -1    applet/main.qml
M  +4    -0    applet/main.xml

https://invent.kde.org/plasma/plasma-pa/-/commit/f9f4463366fb0395fd8e57d0f17d237d66f6f8fa