https://bugs.kde.org/show_bug.cgi?id=515699

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/2e19f2872330185a883313ba1 |t/86798c764a56d52979e5d14e3
                   |effd4cdbbc85166             |1c4ef516431ca0c

--- Comment #5 from cwo <[email protected]> ---
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 <[email protected]>

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to