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

Wrong window position (autocenter) #1272

Closed
alsopub opened this issue Sep 30, 2018 · 7 comments
Closed

Wrong window position (autocenter) #1272

alsopub opened this issue Sep 30, 2018 · 7 comments

Comments

@alsopub
Copy link

alsopub commented Sep 30, 2018

Version

Slic3r PE 1.41.1-beta

Operating system type + version

MacOS 10.9.5

Behavior

Previous versions remember window position and size.
New (beta) version trying to center window but do it wrong.
Here is some screenshots with different window size:

http://dl4.joxi.net/drive/2018/09/30/0003/3259/253115/15/5b5434cbcc.png
http://dl4.joxi.net/drive/2018/09/30/0003/3259/253115/15/de00d79e17.png
http://dl3.joxi.net/drive/2018/09/30/0003/3259/253115/15/408e1ade12.png

I think it's better to still remember window position.

@alsopub alsopub changed the title Wrong windows position (autocenter) Wrong window position (autocenter) Sep 30, 2018
@PatrikTheDev
Copy link

WTH do you use such old OSX? But it does happen to me on Mojave and High Sierra

@wabbitguy
Copy link

Some of the same thing here on (High Sierra 10.13.6) window size is correctly remembered between runs.

Position never is, window appears towards centre of the monitor and I have to drag back to top left.

@vojtechkral
Copy link
Contributor

Previous versions remember window position and size.

Yes, but it didn't work very well in situations with multiple screens or when screen configuration changed between Slic3r launches. Due to issues with wxWidgets internal implementation, it wasn't possible to reliably tell when the Slic3r window went outside of the screen when restoring its position - see issue #1116. I guess I should have made the maximized state persistent, though.

For the next release of Slic3r we'll use a newer version of wxWidgets and I hope I'll be able to fix this in a better way.

@wabbitguy
Copy link

@vojtechkral I just downloaded and tested the 1.41.1RC version. The window opens in the middle of the monitor (sort of). I can drag the window to the top left of the monitor, but next time I run the app it doesn't remember the new position it defaults back to the middle.

If I hold down the OPTION key and click on the green dot in the window (to expand to almost full screen) and then quit the app, next time it remembers this position and opens properly.

Resizing the window, however never gets saved.

Hence, I see the bug as a "window size/position changed" event that is not being saved when the user either repositions the window or resizes it.

Mel

@PatrikTheDev
Copy link

Sorry for off topic, @vojtechkral how far are you with the dev_native branch?

@vojtechkral
Copy link
Contributor

@Patrik-svobodik There's still a lot of work to be done.

I'll have a look at the window position persistence as part of dev_native, since we're using newer wxwidgets now...

@bubnikv
Copy link
Collaborator

bubnikv commented Jan 28, 2019

It will be fixed in the upcoming Slic3r 1.42.0-alpha4

@bubnikv bubnikv closed this as completed Jan 28, 2019
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

5 participants