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

Force game-client to remember the last client-window position during reboot #2503

Open
PaveMentman opened this issue Feb 23, 2024 · 3 comments
Labels
enhancement issue type P5 Future Priority S:Help wanted Development needed

Comments

@PaveMentman
Copy link

PaveMentman commented Feb 23, 2024


What feature or enhancement would you like to add?

Making the game-client to remember the last position of the window would eliminate the unintentional borderless-full-screen-window getting stuck on smaller display-monitor due setting higher resolution-setting of the window than of the desktop / display-monitor-resolution.

How would this feature benefit the gameplay of CorsixTH?

Less hassle to move around the game-client-window for multi-monitor-setups.
Case in point of someone else experiencing this issue:
https://www.reddit.com/r/corsixTH/comments/vqhsk5/windows_10_is_there_a_way_to_move_the_window_when/


What version of CorsixTH are you using?

pre 0.68.0


@PaveMentman PaveMentman added the enhancement issue type label Feb 23, 2024
@lewri
Copy link
Member

lewri commented Feb 24, 2024

Happy to have this considered and probably very possible.

In Windows we do write a few registry values on install, it could well also be stored in the registry there. Not sure about how MacOS and Linux would support it (if at all). However, this likely will be via C++ so I can't pick this one up.

@lewri lewri added P5 Future Priority S:Help wanted Development needed labels Feb 24, 2024
@PaveMentman
Copy link
Author


There is indeed a slew of ways to implement this.
To name couple of common examples:

  • It could be an option in settings-menu with "Fixed Window Position" like "OpenXcom" has as a last-resort.
  • Or a perhaps a simple dropdown-box to select the monitor itself especially when suing Borderless-Window-mode.

Perhaps in future there could also be a "launcher"-window with all the important display-setting to make especially the first-time booting to be as hassle-free as possible.


@Alberth289346
Copy link
Contributor

One thing to consider that a single computer may also get this problem if you change the monitor

So rather than save settings by computer system, maybe detect a change in display and act on that?
Not sure what would be desired then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issue type P5 Future Priority S:Help wanted Development needed
Projects
None yet
Development

No branches or pull requests

3 participants