1. I found that godot3 and godot4 Popup have different parent classes.
    godot3 control->Popup
    godot4 viewport->window->Popup
    in godot3 , I can set_anchors_preset(PRESET_FULL_RECT) to get a full-screen container.
    but in godot4, How can I achieve this?

  2. Godot4's Popup class is mainly used with which interfaces of the game, can you give a few examples?

  • Godot 4 will feature support for multiple windows, as in actual real windows. Earlier versions didn't. The popup in godot 3 is just a "GL surface"/control node rendered inside the window as a overlay over other control nodes and the rest of the view buffer. So yes, they are very different.

    Games normally wouldn't use multiple windows like that, this is more to benefit the editor which itself is built upon godot engine, but this will also benefit others who use godot to develop applications rather than games. You might be surprised but there are other purpose/genre specific game engines with editors built with godot but also image editors, in the past I've even seen someone work on a 3D content creation suite with godot as the basis.

Godot 4 will feature support for multiple windows, as in actual real windows. Earlier versions didn't. The popup in godot 3 is just a "GL surface"/control node rendered inside the window as a overlay over other control nodes and the rest of the view buffer. So yes, they are very different.

Games normally wouldn't use multiple windows like that, this is more to benefit the editor which itself is built upon godot engine, but this will also benefit others who use godot to develop applications rather than games. You might be surprised but there are other purpose/genre specific game engines with editors built with godot but also image editors, in the past I've even seen someone work on a 3D content creation suite with godot as the basis.

    6 days later

    thanks your answer, I am very sorry to give you a reply so late Because the forum didn't tell me that someone replied to my post

    What is the best replacement for a godot3 popup control to be migrated to godot4
    Megalomaniak