Bug 447631 - [feature] - anchor tooltip position to the icon placement in zoom on hover effect.
Summary: [feature] - anchor tooltip position to the icon placement in zoom on hover ef...
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: containment (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-29 10:03 UTC by Karan
Modified: 2021-12-30 01:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Cursor moving over to the icon making the tool-tip off centered. (458.19 KB, image/png)
2021-12-29 10:03 UTC, Karan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karan 2021-12-29 10:03:19 UTC
Created attachment 144922 [details]
Cursor moving over to the icon making the tool-tip off centered.

SUMMARY
This is not any functionality-breaking issue.
When I start to move my mouse over an Icon the tooltip appears on the center of the icon like in the image (top).

However, since the tooltip is not position bound to the icon by the time I move my mouse over to the center of the icon it looks off-centered to the icon (bottom).
Again this is not any functionality-breaking issue but I had been using a dock in Windows called Nexus which used to bind the tooltip position to the icon position and hence it moved along with the icon. 

Is it possible to be done in Latte Dock?

STEPS TO REPRODUCE
1. Move cursor to the leftmost position of an icon
2. Start moving the mouse towards the center of the icon

OBSERVED RESULT
The tooltip position does not change and looks off-centered when the cursor is in the center of the icon.

EXPECTED RESULT
Tooltip moves with the icon; i.e. tooltip position is bound to the icon position.
Comment 1 Michail Vourlakos 2021-12-29 10:53:43 UTC
during first tests, it looks pretty difficult but we can leave it open in any case
Comment 2 Michail Vourlakos 2021-12-30 01:13:16 UTC
found a way...
Comment 3 Michail Vourlakos 2021-12-30 01:15:00 UTC
Git commit 9351277cd7f6a913d5760c3a248aef92ba021688 by Michail Vourlakos.
Committed on 30/12/2021 at 01:12.
Pushed by mvourlakos into branch 'master'.

anchor thin tooltips on their visual parents

M  +4    -4    containment/package/contents/ui/applet/ParabolicArea.qml
M  +10   -1    containment/package/contents/ui/applet/TitleTooltipParent.qml
M  +2    -1    declarativeimports/abilities/host/ThinTooltip.qml
M  +7    -0    declarativeimports/abilities/items/BasicItem.qml
M  +10   -1    declarativeimports/abilities/items/basicitem/TitleTooltipParent.qml
M  +26   -0    declarativeimports/core/dialog.cpp
M  +4    -0    declarativeimports/core/dialog.h

https://invent.kde.org/plasma/latte-dock/commit/9351277cd7f6a913d5760c3a248aef92ba021688