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

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.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”}
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”}
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”}
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):





Additional context (OPTIONAL):
nothing to add

2 Likes

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.

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

1 Like

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.

3 Likes