Created attachment 197030 [details] Icons-and-Text task manager behaviour under Qt 6.12.0 DESCRIPTION Since upgrading to Qt 6.12.0, I noticed the elide (...) behaviour has changed for the Icons-and-Text Task Manager to a less desired way of truncating window titles too soon. It happens when a window title contains a word that is very long. This might be more apparent (i18n) with languages with long words. STEPS TO REPRODUCE 1. Set the task manager to "Icons and Text Manager" 2. Set the panel height around 30 pixels. 3. Open windows that contain long words. 3. Open many windows, and observe text on the panel. OBSERVED RESULT The elide (...) happens after whole words, e.g. `Quick Settings - System... ` EXPECTED RESULT The elide (...) happens when there is no more space left, e.g. `Quick Settings - System Set...` The previous Qt 6.11 behaviour is desirable as it makes better use of the available space. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.7.5 KDE Frameworks Version: 6.30.0 Qt Version: 6.12.0 ADDITIONAL INFORMATION An easy program to try is Kate/KWrite - create a new file and type something very long (without spaces) on the first line. Under Qt 6.12.0, you'll see "Untitled.... " and a large gap. Whereas under Qt 6.11.0, you'd see the first part of that long line, e.g. "Untitled - MyVeryLongWindowTitl..."
Created attachment 197031 [details] Icons-and-Text task manager behaviour under Qt 6.11.0 Attached is another video showing the old behaviour after downgrading the packages to Qt 6.11.0.
*** Bug 527152 has been marked as a duplicate of this bug. ***
I can reproduce the issue.
I can confirm that this diff restores the old behavior: diff --git applets/taskmanager/qml/Task.qml applets/taskmanager/qml/Task.qml index 1902cdc111..6506fca5ee 100644 --- applets/taskmanager/qml/Task.qml +++ applets/taskmanager/qml/Task.qml @@ -624,7 +624,7 @@ PlasmaCore.ToolTipArea { bottomMargin: taskFrame.margins.bottom } - wrapMode: (maximumLineCount === 1) ? Text.NoWrap : Text.Wrap + wrapMode: (maximumLineCount === 1) ? Text.NoWrap : Text.WrapAnywhere elide: Text.ElideRight textFormat: Text.PlainText verticalAlignment: Text.AlignVCenter Which means that the behavior of `Text.Wrap` changes in Qt 6.12. It seems to *generally* be still working. This small test program work as expected when I resize the window to be very small: import QtQuick import QtQuick.Controls as QQC import QtQuick.Layouts Item { width: 500 height: 500 Rectangle { color: "lightblue" anchors.centerIn: parent width: parent.width / 2 height: parent.height / 2 QQC.Label { anchors.fill: parent text: "This exceptionally wordy label contains voluminous verbiage!" wrapMode: Text.Wrap } } } I think I see what changed: dashes and em-dashes are now more aggressively considered to be word boundaries. This doesn't seem wrong per se, so I think the best way of adapting here is to use the "wrap anywhere" mode explicitly.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4096
Git commit b4c0de304f441ca3a2663dc4d07f0d6b16ddea26 by Nate Graham. Committed on 26/10/2026 at 21:23. Pushed by ngraham into branch 'master'. applets/taskmanager: wrap labels anywhere Previously we were using Text.Wrap, which means "prefer word boundaries for wrapping, but wrap in the middle of a word if that's impossible". In Qt 6.12, dashes and em-dashes are now more aggressively considered to be word boundaries. There's nothing wrong per se about this change, but it doesn't work super well for the task manager where there's a lot of punctuation and space is very limited. So let's switch to Text.WrapAnywhere to maximize space efficiency. FIXED-IN: 6.8.2 M +1 -1 applets/taskmanager/qml/Task.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/b4c0de304f441ca3a2663dc4d07f0d6b16ddea26
Git commit 1d0eaf933a8cbd316125a2d91aff3a2401b4b691 by Nate Graham. Committed on 26/10/2026 at 22:54. Pushed by ngraham into branch 'Plasma/6.8'. applets/taskmanager: wrap labels anywhere Previously we were using Text.Wrap, which means "prefer word boundaries for wrapping, but wrap in the middle of a word if that's impossible". In Qt 6.12, dashes and em-dashes are now more aggressively considered to be word boundaries. There's nothing wrong per se about this change, but it doesn't work super well for the task manager where there's a lot of punctuation and space is very limited. So let's switch to Text.WrapAnywhere to maximize space efficiency. FIXED-IN: 6.8.2 (cherry picked from commit 09a9f808e43dc9da21167e9d7f11dd5e10b84b37) Co-authored-by: Nate Graham <nate@kde.org> M +1 -1 applets/taskmanager/qml/Task.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/1d0eaf933a8cbd316125a2d91aff3a2401b4b691