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

Hint tooltips behind window when main window always on top and subwindows not embedded #70792

Open
Qubus0 opened this issue Jan 1, 2023 · 3 comments

Comments

@Qubus0
Copy link

Qubus0 commented Jan 1, 2023

Godot version

4.0.b10

System information

MacOS 12.6.1

Issue description

When using hint tooltips while subwindows are not embedded and the main window is set to always be on top, all tooltips become virtually invisible since they stay behind the main window.

idea: embed tooltip subwindows when the main window is set to always be on top

embedded + on top
embedded

not embedded + not on top
not on top

not embedded + on top
embedded + on top

Steps to reproduce

  1. create any node with a tooltip
  2. set display/window/subwindows/embed_subwindows to false
  3. set display/window/size/always_on_top to true
  4. hover node with tooltip

Minimal reproduction project

HiddenTooltipReproduction.zip

@WhalesState
Copy link
Contributor

WhalesState commented Sep 9, 2024

I'm having the same issue with PopupMenu when parent window is always on top, I'm thinking about a way to fix it for all Popup inherited classes, but i can't find a function that gets the parent Window when it's not embedded, all we need is make them inherit always on top when they popup, and their order should be fixed.

@WhalesState
Copy link
Contributor

I have been using this for long time in a custom build with no issues, popups will always hide and return the focus to their parent window since they are transient, so what's is the issue of making them all always on top by default?

image

@KoBeWi
Copy link
Member

KoBeWi commented Oct 12, 2024

Looks like #62382, but that issue was Windows only I think.

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

4 participants