Exclusive Embedded popup windows

Godot Version

4.2.1

Note: Using a mac

Question

I am trying to make a reusable popup window. I have it as a separate scene that I can instantiate into my current scene. I want the window to be embedded and exclusive, but I can’t seem to use both of them at the same time. When I have embedded windows on in project settings and the exclusive setting is on, my window is embedded but i can still interact with the main window. If i turn embedded windows off and keep exclusive window on, if i click on the main window it moves in front of the pop up and i can no longer see the popup but at least i cant interact with the main window.

Other Notes:
I’m making a mobile app, so I’m not sure how the windows will change with iOS and Android deployment. This also means my main window is a vertical rectangle and is not full screened on my computer.

Scene tree of my popup:
Window - Current flags on: Visible, Exclusive, Unresizeable, Borderless, Popup Window
PanelContainer
MarginContainer
Label -Displays text that changes based on what text I pass through when I instantiate the node
Button -OK button that closes the popup

Always check the documentation:

If true, the Window will be in exclusive mode. Exclusive windows are always on top of their parent and will block all input going to the parent Window.

Needs transient enabled to work.

So check transient and it should work.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.