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

Starting up windowed mode & fullscreen mode. #876

Closed
Keatah opened this issue Nov 27, 2020 · 8 comments
Closed

Starting up windowed mode & fullscreen mode. #876

Keatah opened this issue Nov 27, 2020 · 8 comments

Comments

@Keatah
Copy link

Keatah commented Nov 27, 2020

Is there a way to start Applewin in windowed mode while still specifying -fs-height=768 on the command line?

I most always want to start in windowed mode, but occasionally switch to fullscreen and have it properly scale to my display. And using -fs-height=768 scales it perfectly the way I want but at the same time forces fullscreen.

@tomcw
Copy link
Contributor

tomcw commented Nov 27, 2020

Currently -fs-height=<best|nnnn> implicitly forces AppleWin to start in full-screen mode.
Also -f starts AppleWin in full-screen mode, but there's no complementary "start in windowed mode".

So perhaps a new cmd line switch to start in windowed mode, eg. -no-full-screen.
Also add -full-screen as an alias for -f.

@tomcw
Copy link
Contributor

tomcw commented Apr 18, 2021

@Keatah: I've released AppleWin 1.30.0.0, which adds a new cmd line switch to start in windowed mode: -no-full-screen. Please try it and confirm.

@tomcw tomcw closed this as completed Apr 18, 2021
@Keatah
Copy link
Author

Keatah commented Apr 19, 2021

It partly works. It does indeed start in desktop mode. The new issue is that it now scales and distorts the desktop while in windowed mode. I believe the desktop resolution should be left alone. Or only change it when Applewin is in fullscreen mode.

Well don't fret over it. I can workaround with a batchfile or two setting different registry entries as needed.

@tomcw tomcw reopened this Apr 19, 2021
@tomcw
Copy link
Contributor

tomcw commented Apr 19, 2021

Ah, I understand better now:

If using -fs-height=768 together with -no-full-screen then start-up in regular Windowed mode (retaining your current resolution), but if you switch to full-screen then change the resolution (eg. to height=768 in this case).

Since you are the only one requesting this, then I think it's fine to change the behaviour in the next release to what you are asking for.

@tomcw tomcw modified the milestones: 1.30.0, 1.30.1 Apr 19, 2021
@Keatah
Copy link
Author

Keatah commented Apr 19, 2021

Yes Thanks.

tomcw added a commit that referenced this issue May 31, 2021
…olution when not full-screen (#876)

. NB. whenever switching back to non-full-screen, then it will restore the default desktop resolution.
. Allow -no-full-screen to be placed before -fs-height=<best|nnnn> (previously it only worked when placed afterwards)
@tomcw
Copy link
Contributor

tomcw commented May 31, 2021

@Keatah - try this new AppleWin 1.30.2.0 which should resolve this issue. Let me know.

@Keatah
Copy link
Author

Keatah commented Jun 1, 2021

@tomcw - Yes. I'm pleased with how it works now.
Thanks to you and the team for continued work on this important piece of software.

@tomcw
Copy link
Contributor

tomcw commented Jun 6, 2021

Great - thanks for confirming.

@tomcw tomcw closed this as completed Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants