Bug 515699 - Very long entry titles do not wrap in System Tray settings
Summary: Very long entry titles do not wrap in System Tray settings
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 6.5.5
Platform: Bazzite Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-07 22:45 UTC by Ginger
Modified: 2026-02-10 00:33 UTC (History)
3 users (show)

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


Attachments
A screenshot of the System Tray settings dialog showing the description for "IBus Panel" overflowing. (27.25 KB, image/png)
2026-02-07 22:45 UTC, Ginger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ginger 2026-02-07 22:45:45 UTC
Created attachment 189347 [details]
A screenshot of the System Tray settings dialog showing the description for "IBus Panel" overflowing.

SUMMARY
Items in the system tray with very long titles will have those titles underflow behind the contents of other columns when viewed in the "Entries" section of the System Tray Settings dialog.

STEPS TO REPRODUCE
1. Run a program which adds a system tray entry with a very long title. In my case the problematic entry was the "IBus Panel" entry that ibus-daemon adds, which sets its title to a long two-line string describing how to switch which context menu it presents when clicked. (Their solution is perhaps not the most intuitive, but that is out of scope for this bug report. :p)
2. Open the System Tray Settings dialog and switch to the Entries section.

OBSERVED RESULT
The long title underflows the neighboring columns. (See attachment.)

EXPECTED RESULT
The title should either be ellipsized (this is the solution chosen by the "Status and Notifications" panel which may be accessed with the chevron at the right edge of the system tray), or should be wrapped onto multiple lines.

SOFTWARE/OS VERSIONS
Operating System: Bazzite 43
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.17.7-ba25.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10400 CPU @ 2.90GHz
Memory: 64 GiB of RAM (62.6 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4060
Comment 1 Akseli Lahtinen 2026-02-09 10:12:12 UTC
Interesting, none of my system tray apps have such text. Looking through code, the only field for these items is the name. 
Is Bazzite doing something custom here?

Operating System: KDE Linux 2026-02-09
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.18.7-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 2 Arjen Hiemstra 2026-02-09 11:05:39 UTC
Titles on the entry page already elide, which is easy to verify by shrinking the applet configuration window.

I suspect that IBus is breaking the elision detection here due to having a multiline string as its title.

Since you're on 6.5, and if you feel like trying something, can you edit `/usr/share/plasma/plasmoids/org.kde.plasma.systemtray/contents/ui/ConfigEntries.qml` and add `maximumLineCount: 1` after line 314? (Line 314 should read "elide: Text.ElideRight")
Comment 3 Bug Janitor Service 2026-02-09 11:07:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6268
Comment 4 cwo 2026-02-09 23:21:13 UTC
Git commit 2e19f2872330185a883313ba1effd4cdbbc85166 by Christoph Wolk.
Committed on 09/02/2026 at 22:39.
Pushed by cwo into branch 'master'.

applets/systemtray: don't show multi-line names in config or header

System Tray entries may set their name to a multi-line string. QML's
Text elision works weirdly with multi-line strings; it only works if
either height or maximumLineCount is set, and even if they are, the
elision will only happen on the final line – the first line, if it is
long enough, will go over the allocated width and never elide. This is
particularly troublesome in the system tray configuration, but it can
in principle also happen for tray plasmoids in the tray title bar.

There doesn't seem to be a compelling reason to allow multi-line titles
here in the first place; the one use in the wild I know of is ibus-panel
which includes a short usage guide as the second line of the title. This
is somewhat useful, but probably should be set as the tooltip, not as
the second line of the title - it's not something that should be shown
whereever the title is used, such as in the tray config dialog.

Instead, set the Label to only show one line, which makes it elide
correctly. We might as well do it for the tray plasmoid header -
plasmoids shouldn't set multi-line names, but third-party ones might
do weird things.
FIXED-IN: 6.6.0

M  +1    -0    applets/systemtray/qml/ConfigGeneral.qml
M  +1    -0    applets/systemtray/qml/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/2e19f2872330185a883313ba1effd4cdbbc85166
Comment 5 cwo 2026-02-10 00:33:00 UTC
Git commit 86798c764a56d52979e5d14e31c4ef516431ca0c by Christoph Wolk.
Committed on 09/02/2026 at 23:24.
Pushed by cwo into branch 'Plasma/6.6'.

applets/systemtray: don't show multi-line names in config or header

System Tray entries may set their name to a multi-line string. QML's
Text elision works weirdly with multi-line strings; it only works if
either height or maximumLineCount is set, and even if they are, the
elision will only happen on the final line – the first line, if it is
long enough, will go over the allocated width and never elide. This is
particularly troublesome in the system tray configuration, but it can
in principle also happen for tray plasmoids in the tray title bar.

There doesn't seem to be a compelling reason to allow multi-line titles
here in the first place; the one use in the wild I know of is ibus-panel
which includes a short usage guide as the second line of the title. This
is somewhat useful, but probably should be set as the tooltip, not as
the second line of the title - it's not something that should be shown
whereever the title is used, such as in the tray config dialog.

Instead, set the Label to only show one line, which makes it elide
correctly. We might as well do it for the tray plasmoid header -
plasmoids shouldn't set multi-line names, but third-party ones might
do weird things.
FIXED-IN: 6.6.0


(cherry picked from commit 2e19f2872330185a883313ba1effd4cdbbc85166)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +1    -0    applets/systemtray/qml/ConfigGeneral.qml
M  +1    -0    applets/systemtray/qml/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/86798c764a56d52979e5d14e31c4ef516431ca0c