[filelight] [Bug 487339] Filelight Tooltip Incorrect Offset when Displayed to the Right of the Mouse Cursor
Harald Sitter
bugzilla_noreply at kde.org
Wed May 29 09:57:06 BST 2024
https://bugs.kde.org/show_bug.cgi?id=487339
Harald Sitter <sitter at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
|ities/filelight/-/commit/47 |ities/filelight/-/commit/06
|eaad0469e2262d10499bde22c6e |2b80adb44f0d1c9dc41dcd3e23a
|63992f55f06 |9ccb4a60994
--- Comment #8 from Harald Sitter <sitter at kde.org> ---
Git commit 062b80adb44f0d1c9dc41dcd3e23a9ccb4a60994 by Harald Sitter.
Committed on 29/05/2024 at 07:43.
Pushed by sitter into branch 'release/24.05'.
manually position tooltip so it's correct
Qt tries to reposition when there isn't enough space and gloriously
fails. Instead adjust the coordinates such that Qt has no reason to
reposition.
since this adds a lot of code we now have a shared shapetooltip item
that is used by the centershape and the segmentshape. also correctly set
shapeitem as parent for our tooltip (the coordindates are relative to it
because our mouseyarea is on top of shapeitem)
(cherry picked from commit 47eaad0469e2262d10499bde22c6e63992f55f06)
M +4 -6 src/qml/CenterShape.qml
M +4 -6 src/qml/SegmentShape.qml
A +24 -0 src/qml/ShapeToolTip.qml [License: GPL(3+eV) GPL(v3.0)
GPL(v2.0)]
M +1 -0 src/qml/qml.qrc
https://invent.kde.org/utilities/filelight/-/commit/062b80adb44f0d1c9dc41dcd3e23a9ccb4a60994
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list