Created attachment 179193 [details] A screenshot of the widget displaying "Alpha" by C418, but the word Alpha is cut off to "Alp..." SUMMARY When the Media Player widget is placed in a panel with 2 or more spacers, the title on the widget is always slightly cut off, no matter how long the text is. STEPS TO REPRODUCE 1. Create a panel 2. Add the Media Player widget to it 3. Add 2 or more spacers with flexible size to the panel 4. Play a video or song OBSERVED RESULT Even if there is enough space for the full title, the last few characters are always cut off behind an ellipsis ("...") EXPECTED RESULT If there is enough space for the full video/song/etc title to fit, then it should display the entire title SOFTWARE/OS VERSIONS Operating System: Fedora Linux 41 KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION
I confirmed this on git-master
I can only sometimes reproduce this; it seems to depend on the actual text. For example: With a song named, "Void Obsidian: NGC 2244", it works fine. With a song named, "Void Obsidian: NGC 2246", the text gets cut off.
This fixes it for everything in my testing: diff --git applets/mediacontroller/package/contents/ui/CompactRepresentation.qml applets/mediacontroller/package/contents/ui/CompactRepresentation.qml index 2bf97b116c..72b71b3666 100644 --- applets/mediacontroller/package/contents/ui/CompactRepresentation.qml +++ applets/mediacontroller/package/contents/ui/CompactRepresentation.qml @@ -25,7 +25,7 @@ Loader { switch (compactRepresentation.layoutForm) { case CompactRepresentation.LayoutType.HorizontalPanel: case CompactRepresentation.LayoutType.HorizontalDesktop: - return implicitWidth; + return implicitWidth + 10; default: return -1; } That's obviously the wrong change to fix it, but it shows that the Loader's implicitWidth is being set to something slightly too narrow.
Actually, even just +1 is enough.
Can't figure out why; giving up for now. Somebody smarter than me might be able to fix it.
Same issue here. I replicate a Windows 110 layout (task icons in the middle, media player + try on the right), which sadly triggers this bug.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6273
Git commit 9f89f8d168efca01edf72a43bf09d20246aec239 by Nate Graham, on behalf of Greeniac Green. Committed on 19/02/2026 at 16:34. Pushed by ngraham into branch 'master'. applets/mediacontroller: Fix labels getting elided too early when between spacers We need to re-add the side margins or else the implicit width gets squeezed too much when between spacers, and labels get inappropriately elided. FIXED-IN: 6.6.1 M +1 -2 applets/mediacontroller/CompactRepresentation.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/9f89f8d168efca01edf72a43bf09d20246aec239
Git commit 105662c5e54c21a620c220b8e234c08619031ed9 by Nate Graham. Committed on 19/02/2026 at 16:37. Pushed by ngraham into branch 'Plasma/6.6'. applets/mediacontroller: Fix labels getting elided too early when between spacers We need to re-add the side margins or else the implicit width gets squeezed too much when between spacers, and labels get inappropriately elided. FIXED-IN: 6.6.1 (cherry picked from commit 9f89f8d168efca01edf72a43bf09d20246aec239) fe9f3514 Fix widget auto resizing and fix titles getting cut out too short 0b6454f7 Forgot to remove this line, oops! 6b3d6294 Use a conditional operator instead of multiplying a boolean with an int 90874d30 Invert the logic so people don't have to do some mental gymnastics to parse it 9af36b66 Revert to Text.Wrap Co-authored-by: Greeniac Green <quarro@proton.me> M +1 -2 applets/mediacontroller/CompactRepresentation.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/105662c5e54c21a620c220b8e234c08619031ed9
Great news, thank you Greeniac and Nate!