Skip to content
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

How should MelonDS be opened and closed when the multiple windows feature is in use #2270

Open
heathbarpunch opened this issue Feb 5, 2025 · 0 comments

Comments

@heathbarpunch
Copy link

Using 1.0 RC on Windows 10 22H2 if I try to close MelonDS while it's using a second window with a launcher, in my case Launchbox, such as by using a script like:

$Esc::
{
WinClose, ahk_exe {{{StartupEXE}}}
}

Pressing escape only closes the secondary window and not the primary window. Pressing it a second time does indeed close the primary window but then on next startup of MelonDS only the primary window is open. If I'm not in full screen mode and have access to a mouse, such as while testing for setup, and I close the primary window directly I get a Windows MelonDS has stopped working message.

Image

which suggests to me that this is not the intended way to approach this issue. Additionally, if I use the -f flag for full screen in my startup command

Image

only the primary window is made fullscreen. If I have bound a key to toggle fullscreen under Config -> Input Hotkeys -> General hotkeys and press it while things are like this the primary screen comes out of fullscreen, but if I press it again both screens go into fullscreen as preferred but not as expected based off of the outcome of the -f flag.

Based on these behaviors it almost feels like I should allow melonDS to open stock without modifiers then:

  • Open a second window and move it to Display 2
  • Set Window 1 to Screen Sizing Top Only
  • Set Window 2 to Screen Sizing Bottom Only
  • Invoke Full screen

and then undo each of those steps on close, but as far as I can tell there aren't any flags or hotkeys to do the first 3 of those steps.

Am I missing something here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant