https://bugs.kde.org/show_bug.cgi?id=522654
Bug ID: 522654
Summary: Volume Applet (plasma-pa) collapses to minimum width
on automated deployment, causing UI text wrapping
Classification: Plasma
Product: plasmashell
Version First 6.7.2
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Audio Volume widget
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Yes, you absolutely should include it. Developers greatly appreciate having an
exact, copy-pasteable script to reproduce a bug, as it removes any guesswork
from their end.
However, because the script is quite long, it is best to place it at the very
bottom of the bug report under a clear heading, rather than right in the middle
of the reproduction steps.
Here is the final, polished version of the bug report with your script
integrated cleanly.
Final Bug Report
Title:
Volume Applet (plasma-pa) collapses to minimum width on automated deployment,
causing UI text wrapping
Summary:
When deploying a default panel configuration via
plasma-org.kde.plasma.desktop-appletsrc without explicitly defining popupWidth
and popupHeight, the Volume applet fails to calculate a sensible default
geometry on its first load. This causes the applet to collapse to its absolute
minimum QML width, resulting in awkward text wrapping (e.g., the word
"Applications" breaking into two lines).
This behaviour is inconsistent with other standard applets, such as Network
(plasma-nm) and Battery, which successfully negotiate a dynamic and readable
default width without requiring hardcoded pixel values in the configuration
file.
Environment:
Operating System: Arch Linux
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Audio Server: PulseAudio (on PipeWire 1.6.7)
Steps to Reproduce:
Stop the Plasma shell (systemctl --user stop plasma-plasmashell).
Clear the Plasma cache (rm -rf ~/.cache/plasma*).
Run the deployment script provided in the "Additional Information" section
below to generate a rigid panel configuration.
Start the Plasma shell (systemctl --user start plasma-plasmashell).
Click the Volume applet in the system tray.
Observed Results:
The applet opens at a severely restricted width. Text elements, such as the
"Applications" tab or device names, wrap inappropriately. Because the panel is
set to immutable, the applet is trapped in this state and cannot dynamically
expand to a correct width once the audio server streams are fully registered.
Expected Results:
The Volume applet should behave like the Network or Battery applets. It should
establish a sensible minimum width for its UI elements to prevent text
wrapping, regardless of whether audio streams have fully initialised at the
exact millisecond the applet loads. It should not rely on hardcoded popupWidth
values in the configuration file to render a functional UI.
Additional Information:
This appears to be a race condition during startup where plasma-pa evaluates
its required width before the audio server has fully provided the device/stream
lists. If popupWidth=450 is manually added to the appletsrc file, the UI
renders correctly.
Reproduction Script:
Running the following will reproduce the exact layout and immutable state
causing the bug:
Bash
cat > /home/$USER/.config/plasma-org.kde.plasma.desktop-appletsrc<<EOL
[ActionPlugins][0]
RightButton;NoModifier=org.kde.contextmenu
wheel:Vertical;NoModifier=org.kde.switchdesktop
[ActionPlugins][1]
RightButton;NoModifier=org.kde.contextmenu
[Containments][1]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=3
plugin=org.kde.panel
wallpaperplugin=org.kde.color
[Containments][1][Applets][11]
immutability=1
plugin=org.kde.plasma.notifications
[Containments][1][Applets][13]
immutability=1
plugin=org.kde.plasma.devicenotifier
[Containments][1][Applets][13][Configuration]
PreloadWeight=75
popupHeight=324
popupWidth=324
[Containments][1][Applets][15]
immutability=1
plugin=org.kde.plasma.digitalclock
[Containments][1][Applets][2]
immutability=1
plugin=org.kde.plasma.kickoff
[Containments][1][Applets][2][Configuration]
PreloadWeight=100
popupHeight=506
popupWidth=631
[Containments][1][Applets][2][Configuration][ConfigDialog]
DialogHeight=510
DialogWidth=680
[Containments][1][Applets][2][Configuration][General]
customButtonImage=/usr/share/pixmaps/archlinux-logo.png
favoritesPortedToKAstats=true
highlightNewlyInstalledApps=false
icon=/usr/share/pixmaps/archlinux-logo.png
switchCategoryOnHover=true
systemFavorites=suspend\\,hibernate\\,reboot\\,shutdown
useCustomButtonImage=true
[Containments][1][Applets][20]
immutability=1
plugin=org.kde.plasma.battery
[Containments][1][Applets][21]
immutability=1
plugin=org.kde.plasma.networkmanagement
[Containments][1][Applets][22]
immutability=1
plugin=org.kde.plasma.volume
[Containments][1][Applets][22][Configuration]
PreloadWeight=55
[Containments][1][Applets][22][Configuration][General]
migrated=true
[Containments][1][Applets][25]
immutability=1
plugin=org.kde.plasma.bluetooth
[Containments][1][Applets][25][Configuration]
popupHeight=400
popupWidth=560
[Containments][1][Applets][4]
immutability=1
plugin=org.kde.plasma.icontasks
[Containments][1][Applets][4][Configuration][General]
launchers=preferred://filemanager,preferred://browser,applications:org.kde.konsole.desktop
[Containments][1][General]
AppletOrder=2;4;22;21;15;20;13;11
[Containments][23]
ItemGeometries-1366x768=
ItemGeometriesHorizontal=
activityId=0a5eee94-ad53-4e2d-b50f-267e41a072c8
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image
[ScreenMapping]
itemsOnDisabledScreens=
EOL
--
You are receiving this mail because:
You are watching all bug changes.