Improve macOS fullscreen workflow when running a project from the editor
- Dominant language
- C++
- Stars
- 6.3k
- Forks
- 455
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 129
Description
**Is your feature request related to a problem? Please describe (REQUIRED):**
Yes. This is related to the workflow of running and testing a project from the Defold editor on macOS.
When the Defold editor is used in fullscreen mode on macOS, the editor is placed in its own fullscreen Space. This is very useful on MacBooks, because it allows the editor to use the available screen space more efficiently.
However, when running a game from the fullscreen editor, the game opens as a separate window on another desktop/Space instead of being visible together with the editor. As a result, it is not possible to see the running game and the Defold editor console at the same time.
This is inconvenient because the editor console is often needed while testing the game: for logs, errors, debug output, and quick feedback during development. In the current workflow, I have to constantly switch between the game window and the fullscreen editor Space, or avoid using fullscreen mode entirely.
The workaround is to use Defold in windowed mode, but that wastes valuable screen space on a laptop.
**Describe the solution you'd like (REQUIRED):**
I would like Defold to provide a better workflow for running and testing a project while the editor is in fullscreen mode on macOS.
Possible solutions could include one or more of the following:
- allow the launched game window to appear together with, or above, the fullscreen Defold editor, if this is technically possible on macOS;
- provide an option to show the editor console/log output in the launched game window;
- provide a detached or floating console/log window that can be visible together with the running game;
- provide another macOS-friendly way to test a project while still being able to see the relevant console output.
The main goal is not necessarily to force a specific implementation, but to make it possible to run and test a game from a fullscreen Defold editor without losing access to the console output.
**Describe alternatives you've considered (REQUIRED):**
The main workaround is to not use fullscreen mode for the Defold editor. This allows the game window and the editor console to be visible at the same time, but it makes less efficient use of the available screen space, especially on MacBooks.
Another possible workaround is to run the project as an HTML5 build and open it in a browser. Some browsers can display small or floating windows over fullscreen applications, and the browser developer tools can be used for logs/debugging. However, this is not ideal:
- it changes the target platform from a native desktop build to HTML5;
- it depends on browser-specific behavior;
- not all browsers support this kind of floating-window workflow;
- it may require changing the default browser only for this workflow;
- the browser developer tools are not always as convenient as the Defold editor console;
- it does not solve the problem for native desktop testing.
Because of this, it would be useful to have an official Defold workflow for this case.
**Additional context (OPTIONAL):**
This issue is specific to the macOS fullscreen / Spaces workflow.
Example video 1: Defold editor in fullscreen mode
https://github.com/user-attachments/assets/70f9163b-6660-4e2b-b973-f22a585147c3
(It's not convenient to test a running game; there's no way to quickly check the console)
Example video 2: Defold editor in windowed mode
https://github.com/user-attachments/assets/1290ea9b-948e-4112-9d16-28e6e5436fe2
(It's convenient to test the game, and the console is clearly visible, but some valuable screen space is wasted because the editor isn't in full-screen mode)
Contributor guide
Assessment
This issue has not been assessed yet.