-
-
Notifications
You must be signed in to change notification settings - Fork 23.8k
Open
Description
Tested versions
- Reproducible in 4.4.1.stable (Linux)
- Reproducible in v4.2.2.stable (Linux)
- Didn't seem to happen in Windows on my actual project (haven't tried MRP on Windows), so may be related to Linux window manager in use (I'm on Linux Mint Cinnamon, X11)
System information
Godot v4.4.1.stable - Linux Mint 22.1 (Xia) on X11 - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4060 Ti (nvidia; 570.144) - AMD Ryzen 7 7700X 8-Core Processor (16 threads)
Issue description
Noticed a strange issue that has quite a specific scenario where it happens. I'm working on a tool app. When I maximize the window and restore it back ("un-maximize"), and then click/focus a text field (such as TextEdit or LineEdit), Godot suddenly maximizes the window again for no apparent reason.
Steps to reproduce
Open main.tscn, run the app. NOTE: "Embedded game view" must be disabled.
- Maximize the window (for me double clicking on title bar works, also the Maximize-button)
- Restore the window (un-maximize)
- Click on text fields (or focus with Tab)
- Window goes back to maximized state!
- Does not happen always, but most of the time.
- Do steps 1 and 2, but click on the button
- Nothing happens, works as intended.
Interestingly, if the window is moved after step 2, clicking on a text field will not trigger the bug.
Minimal reproduction project (MRP)
precup
Metadata
Metadata
Assignees
Type
Projects
Status
For team assessment