Bug 523614 - Kickoff's tooltip, which appears when a cursor hovers atop the name of the current user, renders its content unwrapped, thereby causing it to render outside of the tooltip
Summary: Kickoff's tooltip, which appears when a cursor hovers atop the name of the cu...
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: tooltips (other bugs)
Version First Reported In: 6.7.3
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-28 23:34 UTC by Mr Roke Julian Lockhart Beedell
Modified: 2026-07-29 20:33 UTC (History)
5 users (show)

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


Attachments
A Screenshot, Which Depicts The Problem (81.62 KB, image/png)
2026-07-28 23:34 UTC, Mr Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr Roke Julian Lockhart Beedell 2026-07-28 23:34:20 UTC
Created attachment 194674 [details]
A Screenshot, Which Depicts The Problem

# DESCRIPTION

Kickoff's tooltip, which appears when a cursor hovers atop the name of the current user, renders its content unwrapped, thereby causing it to render outside of the tooltip.

# STEPS TO REPRODUCE

Hover, with a cursor, over the name of the current user, until its tooltip appears.

# OBSERVED RESULT

The text does not wrap, so it renders outside of the tooltip.

# EXPECTED RESULT

It should wrap.

# SOFTWARE/OS VERSIONS

> ~~~
> PS /> kinfo | yq -P
> Operating System: Fedora Linux 44
> KDE Plasma Version: 6.7.3
> KDE Frameworks Version: 6.28.0
> Qt Version: 6.11.1
> Kernel Version: 7.1.5-200.fc44.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
> Memory: 32 GiB of RAM (30.4 GiB usable)
> Graphics Processor 1: AMD Radeon RX 5700
> Graphics Processor 2: AMD Ryzen 5 7600X 6-Core Processor
> ~~~

# ADDITIONAL INFORMATION

My typeface configuration is similar to the default:

> ~~~
> beedell.roke_julian_lockhart@beedell:~$ kreadconfig6 --file kdeglobals --group General --key font
> Monospace,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
> beedell.roke_julian_lockhart@beedell:~$ fc-match -f '%{file}\n' "$(kreadconfig6 --file kdeglobals --group General --key font | cut -d, -f1)"
> /usr/share/fonts/google-noto/NotoSansMono-Regular.ttf
> beedell.roke_julian_lockhart@beedell:~$ rpm -qf $(fc-match -f '%{file}\n' "$(kreadconfig6 --file kdeglobals --group General --key font | cut -d, -f1)")
> google-noto-sans-mono-fonts-20251201-2.fc44.noarch
> ~~~
Comment 1 Nate Graham 2026-07-29 18:19:47 UTC
As far as I can tell, to achieve this bug, you need to have a very long username as well as a very long hostname. Just a very long hostname isn't enough, as at a certain point it gets cut off.

We're using the standard tooltip, which means if there's any fix for this, it would need to be in the standard implementation, not Kickoff specifically.
Comment 2 Nate Graham 2026-07-29 18:28:36 UTC
Aha, Text.WordWrap strikes again!

This causes overflows if a specific word is longer than the maximum width, which is what's happening here.
Comment 3 Bug Janitor Service 2026-07-29 18:41:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1564
Comment 4 Nate Graham 2026-07-29 20:30:28 UTC
Git commit 41b9c32dbf1825b14c3467131d3b307c431fa252 by Nate Graham.
Committed on 29/07/2026 at 18:39.
Pushed by ngraham into branch 'master'.

Use Wrap instead of WordWrap everywhere

WordWrap has a fatal flaw: if a word is ever longer than the maximum
width, that word will overflow. This is almost never what anyone wants,
so WordWrap must only be used in very specialized situations.

Change everything to use Wrap so this doesn't happen in any of the
general cases that this library handles; it's always a better default.

qqc2-desktop-style already does the same, so there's precedent, too.
FIXED-IN: 6.6.7

M  +2    -2    examples/applets/widgetgallery/contents/ui/Texts.qml
M  +1    -1    src/declarativeimports/core/private/DefaultToolTip.qml
M  +1    -1    src/declarativeimports/plasmacomponents3/ToolTip.qml
M  +1    -1    src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml
M  +1    -1    src/declarativeimports/plasmaextracomponents/qml/Heading.qml
M  +3    -3    tests/components/busyindicator3.qml
M  +8    -8    tests/components/progressbar3.qml
M  +1    -1    tests/dialog_fullscreen.qml
M  +1    -1    tests/dialog_minWidthHeightRepositioning.qml
M  +1    -1    tests/dialog_positioning.qml
M  +1    -1    tests/dialog_positioning2.qml
M  +1    -1    tests/dialog_positioning_parentrotated.qml
M  +1    -1    tests/dialog_sizeMoreThanMin.qml
M  +1    -1    tests/dialog_tooltip.qml
M  +1    -1    tests/dialog_visualParentChange.qml

https://invent.kde.org/plasma/libplasma/-/commit/41b9c32dbf1825b14c3467131d3b307c431fa252
Comment 5 Nate Graham 2026-07-29 20:31:15 UTC
Git commit 155e2c45e2b269d7b319aff59df719e71245351a by Nate Graham.
Committed on 29/07/2026 at 20:31.
Pushed by ngraham into branch 'Plasma/6.7'.

Use Wrap instead of WordWrap everywhere

WordWrap has a fatal flaw: if a word is ever longer than the maximum
width, that word will overflow. This is almost never what anyone wants,
so WordWrap must only be used in very specialized situations.

Change everything to use Wrap so this doesn't happen in any of the
general cases that this library handles; it's always a better default.

qqc2-desktop-style already does the same, so there's precedent, too.
FIXED-IN: 6.6.7


(cherry picked from commit 41b9c32dbf1825b14c3467131d3b307c431fa252)

Co-authored-by: Nate Graham <nate@kde.org>

M  +2    -2    examples/applets/widgetgallery/contents/ui/Texts.qml
M  +1    -1    src/declarativeimports/core/private/DefaultToolTip.qml
M  +1    -1    src/declarativeimports/plasmacomponents3/ToolTip.qml
M  +1    -1    src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml
M  +1    -1    src/declarativeimports/plasmaextracomponents/qml/Heading.qml
M  +3    -3    tests/components/busyindicator3.qml
M  +8    -8    tests/components/progressbar3.qml
M  +1    -1    tests/dialog_fullscreen.qml
M  +1    -1    tests/dialog_minWidthHeightRepositioning.qml
M  +1    -1    tests/dialog_positioning.qml
M  +1    -1    tests/dialog_positioning2.qml
M  +1    -1    tests/dialog_positioning_parentrotated.qml
M  +1    -1    tests/dialog_sizeMoreThanMin.qml
M  +1    -1    tests/dialog_tooltip.qml
M  +1    -1    tests/dialog_visualParentChange.qml

https://invent.kde.org/plasma/libplasma/-/commit/155e2c45e2b269d7b319aff59df719e71245351a
Comment 6 Nate Graham 2026-07-29 20:33:35 UTC
Git commit 2ac718679006775c50b1863fb83ef9705c1e9b8d by Nate Graham.
Committed on 29/07/2026 at 20:33.
Pushed by ngraham into branch 'Plasma/6.6'.

Use Wrap instead of WordWrap everywhere

WordWrap has a fatal flaw: if a word is ever longer than the maximum
width, that word will overflow. This is almost never what anyone wants,
so WordWrap must only be used in very specialized situations.

Change everything to use Wrap so this doesn't happen in any of the
general cases that this library handles; it's always a better default.

qqc2-desktop-style already does the same, so there's precedent, too.
FIXED-IN: 6.6.7


(cherry picked from commit 41b9c32dbf1825b14c3467131d3b307c431fa252)

Co-authored-by: Nate Graham <nate@kde.org>

M  +2    -2    examples/applets/widgetgallery/contents/ui/Texts.qml
M  +1    -1    src/declarativeimports/core/private/DefaultToolTip.qml
M  +1    -1    src/declarativeimports/plasmacomponents3/ToolTip.qml
M  +1    -1    src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml
M  +1    -1    src/declarativeimports/plasmaextracomponents/qml/Heading.qml
M  +3    -3    tests/components/busyindicator3.qml
M  +8    -8    tests/components/progressbar3.qml
M  +1    -1    tests/dialog_fullscreen.qml
M  +1    -1    tests/dialog_minWidthHeightRepositioning.qml
M  +1    -1    tests/dialog_positioning.qml
M  +1    -1    tests/dialog_positioning2.qml
M  +1    -1    tests/dialog_positioning_parentrotated.qml
M  +1    -1    tests/dialog_sizeMoreThanMin.qml
M  +1    -1    tests/dialog_tooltip.qml
M  +1    -1    tests/dialog_visualParentChange.qml

https://invent.kde.org/plasma/libplasma/-/commit/2ac718679006775c50b1863fb83ef9705c1e9b8d