Summary: | Tooltip doesn't wrap at window edge; underflows instead | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-qqc2-desktop-style | Reporter: | Nate Graham <nate> |
Component: | general | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde |
Priority: | NOR | ||
Version: | 5.47.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/qqc2-desktop-style/fbfdd78324f6be39a752a3b848dad37d15708d6c | Version Fixed In: | 5.55 |
Attachments: | Overflowing text on long tooltip |
QtWidget tooltips automatically word-wrap; QtQuick tooltips should do the same. 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 |
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.