# Defold editor main window auto-resize when opening pop-up

**URL:** <https://forum.defold.com/t/defold-editor-main-window-auto-resize-when-opening-pop-up/75747>\
**Category:** Bugs\
**Created:** [January 22, 2024, 9:25am UTC](https://forum.defold.com/t/defold-editor-main-window-auto-resize-when-opening-pop-up/75747 "2024-01-22T09:25:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vampiloup](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vampiloup/32/34713_2.png) [@Vampiloup](https://forum.defold.com/u/Vampiloup)\
**Post date:** [January 22, 2024, 9:25am UTC](https://forum.defold.com/t/defold-editor-main-window-auto-resize-when-opening-pop-up/75747/1 "2024-01-22T09:25:16Z")

</div>

I’m not sure if that’s a bug, but it’s weird

**Describe the bug (REQUIRED)**  
When I code in the Defold software, some orders I give will open a pop-up (like the “new folders” or the “preferences” ones).  
When the pop-up open, the main GUI resize to around one quarter (half length, half height), BUT the windows manager still think it’s full size : If I “maximize” the windows, the window goes ful screen, and immediately return to its one qiarter size.  
After size, I can maximize it again.

**To Reproduce (REQUIRED)**  
Steps to reproduce the behavior:

1. Open Defold.
2. maximize Defold window if not done.
3. Use the click-right/new folder on a Assets element, or the Preference option in the File menu.
4. Bug (?) : The GUI windows resize to 1/4 of my screen
5. Close the pop-up.
6. Re-maximize the screen, either by double-clicking on the window title bar or using the “maximise” option in its right click menu.
7. Bug 2 (?) : The GUI window maximise, then immediately return to 1/4.

After that, I can maximise it again for good (or, at least, until I open a new pop-up.

**Expected behaviour (REQUIRED)**  
The GUI window size doesn’t change when a pop-up open.

**Defold version (REQUIRED):**

- Version [1.6.3]  
But I had the same problem with the last one.

**Platforms (REQUIRED):**

- Platforms:  
Linux

- OS:  
Manjaro (every thing updated).  
XFCE until January 10  
KDE with Plasma.

Same bug

- Device: Desktop  
Ryzen 5 2600x  
with a radeon 570x from AMD until december,  
with a RTX 3060 12gb now

same bug

**Minimal repro case project (OPTIONAL):**  
Alway bug. Even with the default project template.

**Logs (OPTIONAL):**  
Please provide relevant logs from engine, editor or build server. Learn where the logs are stored [here](https://defold.com/manuals/getting-help/#log-files).2024-01-22 08:22:39.120 254 [JavaFX-Launcher] WARN javafx - Unsupported JavaFX configuration: classes were loaded from ‘unnamed module @6fc411a6’  
2024-01-22 08:22:40.867 2001 [Thread-3] INFO com.defold.libs.ResourceUnpacker - deleting old unpack dirs from /home/**/.Defold/unpack  
2024-01-22 08:22:40.886 2020 [Thread-3] INFO com.defold.libs.ResourceUnpacker - Already unpacked for the editor version 0d35fc89aabab0456ef2ee7572f0571314b97121  
2024-01-22 08:22:40.892 2026 [Thread-3] INFO com.defold.libs.ResourceUnpacker - defold.unpack.path=/home/**/.Defold/unpack/0d35fc89aabab0456ef2ee7572f0571314b97121  
2024-01-22 08:22:44.866 6000 [Timer-1] INFO editor.updater - {:line 303, :message “Checking for updates”, :url “[https://d.defold.com/editor2/channels/editor-alpha/update-v4.json](https://d.defold.com/editor2/channels/editor-alpha/update-v4.json)”}  
2024-01-22 08:22:45.041 6175 [Timer-1] INFO editor.updater - {:line 310, :message “No update found”}  
2024-01-22 08:22:53.689 14823 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe [git, --version],/usr/bin  
2024-01-22 08:22:53.727 14861 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘git version 2.43.0’  
2024-01-22 08:22:53.727 14861 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2024-01-22 08:22:53.727 14861 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe [git, config, --system, --edit],/usr/bin  
2024-01-22 08:22:53.732 14866 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘/etc/gitconfig’  
2024-01-22 08:22:53.732 14866 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2024-01-22 08:22:53.797 14931 [JavaFX Application Thread] INFO util.http-server - {:line 103, :msg “Http server running”, :local-url “[http://localhost:42811](http://localhost:42811)”}  
2024-01-22 08:22:53.867 15001 [clojure-agent-send-off-pool-0] INFO editor.boot-open-project - {:line 399, :message “project loaded”}  
2024-01-22 08:22:54.087 15221 [JavaFX Application Thread] INFO editor.defold-project - {:line 919, :message “Cached save data in system cache.”, :total 42, :retained 8, :unretained 34, :limit 20000}  
2024-01-22 09:22:45.041 3606175 [Timer-1] INFO editor.updater - {:line 303, :message “Checking for updates”, :url “[https://d.defold.com/editor2/channels/editor-alpha/update-v4.json](https://d.defold.com/editor2/channels/editor-alpha/update-v4.json)”}  
2024-01-22 09:22:45.173 3606307 [Timer-1] INFO editor.updater - {:line 310, :message “No update found”}  
2024-01-22 09:41:21.292 4722426 [JavaFX Application Thread] INFO editor.defold-project - {:line 919, :message “Cached build targets in system cache.”, :total 121, :retained 17, :unretained 104, :limit 20000}  
**Workaround (OPTIONAL):**

If there is a workaround, please describe it here.  
Resizing manualy

**Screenshots (OPTIONAL):**

 ![Screenshot_20240122_102144](https://forum-defold-uploads.b-cdn.net/original/3X/1/a/1a268ec4d3bad9a14560ffdcf296738ccd421f49.png)  
 ![Screenshot_20240122_102209](https://forum-defold-uploads.b-cdn.net/original/3X/a/8/a8d211814705a9073399bc2d66f57573aee4695d.png)  
 ![Screenshot_20240122_102230](https://forum-defold-uploads.b-cdn.net/original/3X/d/a/da211a7eba8f96925f3a58e17a3854f7587d0166.png)  
 ![Screenshot_20240122_102259](https://forum-defold-uploads.b-cdn.net/original/3X/9/7/977c256c2b5e763bb4b452d40d8b48162578384b.png)  
 ![Screenshot_20240122_102307](https://forum-defold-uploads.b-cdn.net/original/3X/d/b/dbf3d39ba55aa022a91e8bf1034448e6012a6249.png)

**Additional context (OPTIONAL):**  
nothing to add

---

<div class="post-metadata">

**Author:** ![Vampiloup](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vampiloup/32/34713_2.png) [@Vampiloup](https://forum.defold.com/u/Vampiloup)\
**Post date:** [January 22, 2024, 9:28am UTC](https://forum.defold.com/t/defold-editor-main-window-auto-resize-when-opening-pop-up/75747/2 "2024-01-22T09:28:30Z")

</div>

NB : The “one quarter of the screen size” if when I open Defold on my big screen. on the “little one”, the ratio is al ittle bigger.  
Sorry, didn’t see that.

---

<div class="post-metadata">

**Author:** ![vlaaad](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vlaaad/32/10538_2.png) [@vlaaad](https://forum.defold.com/u/vlaaad)\
**Post date:** [January 22, 2024, 9:57am UTC](https://forum.defold.com/t/defold-editor-main-window-auto-resize-when-opening-pop-up/75747/3 "2024-01-22T09:57:00Z")

</div>

Thanks for the report, I added it to the github issue that tracks the problem: [Creation dialog resize Defold main form. · Issue #7814 · defold/defold · GitHub](https://github.com/defold/defold/issues/7814)

---

<div class="post-metadata">

**Author:** ![Vampiloup](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vampiloup/32/34713_2.png) [@Vampiloup](https://forum.defold.com/u/Vampiloup)\
**Post date:** [January 22, 2024, 10:19am UTC](https://forum.defold.com/t/defold-editor-main-window-auto-resize-when-opening-pop-up/75747/4 "2024-01-22T10:19:37Z")

</div>

Oh, I didn’t see there was already a track.

Thank you.

I found a “workaround” : The main form doesn’t resize if I resize it manually to the full screen. It’s not exactly a “maximize”, but the main form doesn’t resize from that.

---

<div class="post-metadata">

**Author:** ![ludo\_moonone](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/ludo_moonone/32/37396_2.png) [@ludo\_moonone](https://forum.defold.com/u/ludo_moonone)\
**Post date:** [September 19, 2024, 9:35am UTC](https://forum.defold.com/t/defold-editor-main-window-auto-resize-when-opening-pop-up/75747/5 "2024-09-19T09:35:01Z")

</div>

The problem stil persist today, but thx for the workwaround Vampiloup, this save my day!
