Summary: | PC3 Tooltips in small/short windows get cut off, mis-rendered, or overlap their parent control because they aren't drawn as a separate window | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | Bharadwaj Raju <bharadwaj.raju777> |
Component: | tooltips | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ad.liu.jin, afedotov861, alexander.lohnau, bugseforuns, dev.bacteriostat, kde, nate, nortexoid, notmart, plasma-bugs, postix |
Priority: | HI | ||
Version: | 5.75.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=433243 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 458871 | ||
Attachments: | Screenshot of KRunner showing a glitched tooltip |
That is an issue with the port to the PlasmaComponents3 toolkit. I am reassigning it there. Heh yeah. :( The problem is that we ported (nearly) everything to use PlasmaComponents3, which uses QtQuickControls2, because QtQuickControls1 is deprecated and is slated to be removed in Qt 6. However the QQC2 Tooltip isn't a separate window, so when it is displayed inside a parent window that is very small, it necessarily needs to be smaller, which caused glitches like this. Some possible solutions: - Make PC3/QQC2 tooltips use a separate window - Port KRunner to use PlasmaCore.ToolTip, which already uses a separate window, but it doesn't respect the color scheme's tooltip colors *** Bug 427862 has been marked as a duplicate of this bug. *** Git commit b84fbb01f7ea17f6953da06f8ea800b824fc9a57 by Noah Davis. Committed on 19/02/2021 at 18:56. Pushed by ndavis into branch 'master'. [PC3 ToolTip] Reduce margins to smallSpacing Related: bug 433243 FIXED-IN: 5.80 M +1 -1 src/declarativeimports/plasmacomponents3/ToolTip.qml https://invent.kde.org/frameworks/plasma-framework/commit/b84fbb01f7ea17f6953da06f8ea800b824fc9a57 *** Bug 440205 has been marked as a duplicate of this bug. *** *** Bug 443638 has been marked as a duplicate of this bug. *** *** Bug 444471 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 450552 *** *** Bug 450552 has been marked as a duplicate of this bug. *** Still an issue on Plasma 6. Operating System: Arch Linux KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Graphics Platform: Wayland *** Bug 483760 has been marked as a duplicate of this bug. *** |
Created attachment 132689 [details] Screenshot of KRunner showing a glitched tooltip SUMMARY Tooltips in KRunner (not anywhere else that I can find) have incorrect background height. Text appears correctly. Screenshot attached. STEPS TO REPRODUCE 1. Open KRunner 2. Hover over one of the buttons 3. Observe tooltip SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.20.0 (available in About System) KDE Plasma Version: 5.20.0 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION Can be reproduced in both Wayland and X11 sessions. GPU is Mesa DRI Intel G41. I've tried tooltips in other programs (based on QML, Qt Widgets, Gtk+) and they do not show this problem.