Skip to content

Principia window got saved off-screen, no way to recover #1677

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

Closed
kiracofe8 opened this issue Jan 13, 2018 · 2 comments
Closed

Principia window got saved off-screen, no way to recover #1677

kiracofe8 opened this issue Jan 13, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@kiracofe8
Copy link

Not sure how, but the main Principia window got saved off the screen in one of my games. i.e., the relevant part of the .sfs file looked like the below. That puts the window off the screen. So when I load the game, I can't see the window. Switching between space center, tracking station, map view, vessel view, etc. does not bring the window back, nor does quitting KSP and restarting and reloading the game. Only way to get the window back is to manually edit the .sfs file in a text editor and change main_window_x and main_window_y and reload the game.

Suggest maybe a check when the game is first loaded that the main window is visible.

SCENARIO
{
name = PrincipiaPluginAdapter
scene = 5, 7, 8
show_main_window_ = True
main_window_x_ = 1407
main_window_y_ = 911

Using KSP 1.2.2 with Cristoffel on Debian Linux.

@pleroy
Copy link
Member

pleroy commented Feb 3, 2018

#1611 was supposed to fix this "once and for all". Apparently it didn't.

Sorry, something went wrong.

@pleroy pleroy added the bug label Feb 3, 2018
@eggrobin
Copy link
Member

eggrobin commented Feb 3, 2018

It was supposed to fix it for the flight planner window, and as far as I know it did (once and for all!).
This is the main window; as I commented on #1611, it would make sense to have that logic common to all windows...

Sorry, something went wrong.

@pleroy pleroy self-assigned this Feb 4, 2018
@pleroy pleroy added this to the Cohen milestone Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants