-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fullscreen option does not work: cannot return to windowed mode #1638
Comments
This options is mainly irritating, the application is still usable. Just cannot move the application to another screen when using multiple monitors 😄 |
It works for me. Pressing Esc also works. draw.io-23.1.5-windows-installer.exe |
same problem, "Esc" pressure don't fix. Win 10 22H2 |
After the update |
I did it, just delete appdata |
I also encountered this problem and did some research. At first glance it looks like this: Whenever the position or size of a window is changed, its state, including full-screen mode, is written to %appdata%\draw.io\config.json. After the application is launched again, the data is read and if the window was full screen before, the window state is applied via setFullScreen(true) for the electron window in the main process. This prevents the fullscreen api from functioning from the renderer process. Accordingly, we cannot change the state of the fullscreen electron window from the renderer process and config.json does not change either. We are locked in this state. Accordingly, one solution for developers is to use additional ipc events to change the full-screen state in the main process from the renderer process. A temporary solution for users to avoid deleting all application data is to delete config.json and restart the application, this will reset the fullscreen state and window position. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This issue is all about Windows OS, I'd provide a Linux workaround here, similar to what @Corginyan said. rm ~/.config/draw.io/config.json |
The Fullscreen menu option will be fixed in the next release. |
12.4.0 |
Preflight Checklist
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
When using the option View -> Fullscreen, I can set the application to fullscreen. But when I select the option again (to exit fullscreen) it does not exit fullscreen. The tick mark does disappear, but application stays in fullscreen. Using local app on Win11.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the application to exit fullscreen mode when I click on fullscreen again and the tick mark is gone.
Screenshots
none
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: