Open Vadoola opened 7 months ago
I've been having some issues with the Tooltips showing up in the correct spot sometimes it works and sometimes it doesn't. I had assumed I was doing something wrong with my math.
I just stumbled on this bug report and wonder if it could be part of the issue? Since I am using the absolute position to determine where to show the tooltip, and its a frameless window.
So the bug report linked above was not the problem, but it's similar and clued me in to my issue. Several of the components give a position of 0, because that's there position within the container (ie horizontal or vertical layout). So I started trying to use the absolute position, which is ultimately what I want. However when placing the tooltip inside AppWindow, the position is inside the window, minus the recreated title bar. This is why when trying to get the positions right I was getting it correct for the settings tooltip or the other tooltips but not both. Because everything but the settings tooltip needs to have the title bar height accounted for in the positioning.
The first few tooltips were added in commit 6f23dd0, but I will hold off on closing this until I add the rest.
Pomotroid has the following tool tips