Open Tio-Henry opened 1 year ago
This may have been reported before, but indeed. Tooltips break hover events on controls (and this is not the only case of that).
Not strictly related to the editor, but adding a label anyway to make it easier to find.
Good day. I won't create another issue because the situations are very similar.
Situation:
In the Project settings, we set the "WINDOWED" mode (mark 1).
If the Fullscreen mode is set via the Project settings, no such problem has been noticed.
We hover the mouse over any component that shows a tooltip (mark 2).
When launching the program through the code, we set the "MAXIMIZED" mode or any "FULLSCREEN" mode (mark 3).
We get a hanging tooltip on our screen, which is removed via ALT+TAB (mark 4).
Sometimes it's unpleasant. There was no such problem in v. 3.5. Checked it out.
Bisecting this issue shows that it got introduced in #72104
CC @bruvzg
I can confirm the issue still being present in both Godot 4.0.3 stable and 4.1 Beta3.
Godot v4.1.rc2 - Windows 10.0.19045 - Vulkan (Compatibility) - GeForce GTX 550 Ti () - Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz (4 Threads)
On the Anchor presets popup. Mouse clicking:
https://github.com/godotengine/godot/assets/13420573/be76fe4b-b2ea-4206-82a7-7adf52e12694
If a button's tooltip is visible when another button is clicked. Then, the first click on the new button only hides the tooltip.
A second click is required, but if it's too slow and the new button's tooltip appeared. Then, the second click hid the new button's tooltip.
A third click is required to click the button.
It's likely that the second click is slow because it was unexpected that the first click didn't click the button.
https://github.com/godotengine/godot/assets/13420573/0c246568-bbc0-4b57-a884-e8a258c621b0
The buttons shouldn't be blocked by a tooltip.
And the tooltips should probably update as soon as the mouse is moved to a new button.
Instead of a floating tooltip that hides the buttons behind it.
Maybe the anchor presets popup could have an empty text row, that shows the current tooltip text when the mouse is over a button.
If implemented, then it also could be added to the popup: Sizing settings for children of a Container node.
The Anchor presets button Set to Current Ratio
and the Sizing settings for children popups check boxes.
Might still need the floating tooltips, since the text is wider than the popup widths.
The problem remains version 4.1, but a little different
https://github.com/godotengine/godot/assets/54606139/193e29c7-2c83-47d0-816b-6fbc62f3882d
The problem still remained in 4.3 dev 5
Godot version
4.0.rc5
System information
Win10, AMD Radeon 6570, 15.201.1151.1008, GLES3
Issue description
https://user-images.githubusercontent.com/54606139/221365890-7bb75953-8f31-47b5-a412-19d7c2774a4d.mp4
Steps to reproduce
https://user-images.githubusercontent.com/54606139/221365890-7bb75953-8f31-47b5-a412-19d7c2774a4d.mp4
Minimal reproduction project
N/A