[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 08:39:29 BST 2024
https://bugs.kde.org/show_bug.cgi?id=487339
Harald Sitter <sitter at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/util
| |ities/filelight/-/commit/47
| |eaad0469e2262d10499bde22c6e
| |63992f55f06
--- Comment #7 from Harald Sitter <sitter at kde.org> ---
Git commit 47eaad0469e2262d10499bde22c6e63992f55f06 by Harald Sitter.
Committed on 29/05/2024 at 07:36.
Pushed by sitter into branch 'master'.
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)
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/47eaad0469e2262d10499bde22c6e63992f55f06
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list