Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltips cut off at edge of screen in-game #68219

Closed
Wyxaldir opened this issue Nov 3, 2022 · 3 comments
Closed

Tooltips cut off at edge of screen in-game #68219

Wyxaldir opened this issue Nov 3, 2022 · 3 comments

Comments

@Wyxaldir
Copy link
Contributor

Wyxaldir commented Nov 3, 2022

Godot version

v4.0.beta3.official [01ae26d]

System information

Windows 10

Issue description

Tooltips clip past the screen rather than being offset like in the editor.

image

Steps to reproduce

Add a UI element with a tooltip, place it on the edge of the scene and make sure mouse filter is set to pass or stop. The tooltip should clip offscreen.

@Calinou
Copy link
Member

Calinou commented Nov 3, 2022

This is not a bug. You need to disable Embed Subwindows in the advanced project settings to make tooltips spawn in actual OS windows. This is required for tooltips to be able to display outside the running project's window.

See #50680 as for why Embed Subwindows is enabled by default for projects.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2022
@KoBeWi
Copy link
Member

KoBeWi commented Nov 3, 2022

I think this was fixed in beta4. Embedded tooltips should be clamped to window.

@Wyxaldir
Copy link
Contributor Author

Wyxaldir commented Nov 3, 2022

The tooltips work as intended in fullscreen mode as well, thanks for the insight!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants