Bug 396385

Summary: Tooltip doesn't wrap at window edge; underflows instead
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Nate Graham <nate>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version: 5.47.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.55
Attachments: Overflowing text on long tooltip

Description Nate Graham 2018-07-10 22:21:27 UTC
Created attachment 113871 [details]
Overflowing text on long tooltip

When you add a QtQuick Tooltip to a user interface element, when its text is very long, it doesn't wrap at the edge of the window and become a multi-line Tooltip; instead it overflows. See attached screenshot.
Comment 1 Christoph Feck 2018-08-02 19:22:38 UTC
QtWidget tooltips automatically word-wrap; QtQuick tooltips should do the same.
Comment 2 Nate Graham 2019-01-16 21:44:54 UTC
Patch: https://phabricator.kde.org/D18306
Comment 3 Nate Graham 2019-01-16 21:59:23 UTC
Git commit fbfdd78324f6be39a752a3b848dad37d15708d6c by Nate Graham.
Committed on 16/01/2019 at 21:56.
Pushed by ngraham into branch 'master'.

Word-wrap long tooltips

Summary:
This patch fixes long tooltips so that they word-wrap instead of overflowing.
FIXED-IN: 5.55

Test Plan: {F6552271, size=full}

Reviewers: mart, #plasma, #kirigami, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18306

M  +1    -0    org.kde.desktop/ToolTip.qml

https://commits.kde.org/qqc2-desktop-style/fbfdd78324f6be39a752a3b848dad37d15708d6c