Restore bounds for Quick Open and all dialogs that inherit AcceptDialog#117829
Restore bounds for Quick Open and all dialogs that inherit AcceptDialog#117829actforjason wants to merge 1 commit intogodotengine:masterfrom
Conversation
0850531 to
47a2f8c
Compare
|
@ArchercatNEO I implement storage and restoration of window bounds in the base class AcceptDialog of all dialogs to avoid setting them one by one. Do you think this method is ideal? |
cd295fc to
16d6e8c
Compare
I implemented Another reason I wanted to implement However, there is a problem with using |

This PR adds persistence for dialog bounds (position and size) for the Quick Open, Scene Tree dialogs etc. similar to how it is handled in the Create Dialog, as a lightweight alternative for #106648
Close godotengine/godot-proposals#5005
The previous PR introduced a
session_idto make dialog bounds restoration work in-game. However, that approach still has some unresolved issues and maybe requires further adjustments to integrate.This PR proposes a less intrusive solution that aligns with the current implementation of Create Dialog, allowing this feature to be completed sooner. A more comprehensive refactor, either of the existing approach or at the project level, can be considered in the future.