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

MW4 presents itself as a small window only #253

Closed
pieterkoolen opened this issue Aug 5, 2022 · 12 comments
Closed

MW4 presents itself as a small window only #253

pieterkoolen opened this issue Aug 5, 2022 · 12 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@pieterkoolen
Copy link

Yesterday evening mw4 showed itself in a normal format which I could minimize/maximize on screen.
Tonight only a small window appeared. Restarting my PC did not bring any improvement.
I use an Eagle4 Pro under Windows 10.
No changes were made since last night.
What to do?
18362DF2-8319-48FB-AADB-1D8E686E3511

@mworion
Copy link
Owner

mworion commented Aug 6, 2022

Hi Pieter,
does the screenshot show the small window or the window you normally expected.
Did you change DPI High definition scaling on windows itself since the last start ?
If so, in the windows run script there are entries for font and dpi scaling, which could change the appearance if windows setting changed. This are the last lines:

SET QT_SCALE_FACTOR=1 >> run.log 2>&1
SET QT_FONT_DPI=96 >> run.log 2>&1

Michel

@pieterkoolen
Copy link
Author

pieterkoolen commented Aug 6, 2022 via email

@pieterkoolen
Copy link
Author

pieterkoolen commented Aug 6, 2022 via email

@pieterkoolen
Copy link
Author

pieterkoolen commented Aug 6, 2022 via email

@pieterkoolen
Copy link
Author

pieterkoolen commented Aug 6, 2022 via email

@mworion
Copy link
Owner

mworion commented Aug 6, 2022

Hi Pieter,
good to hear that you found a good setup. The jump is somehow wired. If you don't mind, please post your config file (*.cfg) here. I try to check this if I see the jump, too.
Michel

@pieterkoolen
Copy link
Author

pieterkoolen commented Aug 6, 2022 via email

@mworion
Copy link
Owner

mworion commented Aug 6, 2022

Sorry,
if you just put it in the reply, it won't reach me. You have to drop it in the web interface...

@pieterkoolen
Copy link
Author

I dropped it in my repository.
Hope it works.
This is quite new technology for me

@mworion
Copy link
Owner

mworion commented Aug 11, 2022

Hi Pieter,
yes worked. Even simpler, you could drop it in this issue (will work as well).
So there is one topic I found which I will address in future from release 3.0 on, but not in the current 2.x:
When closing, MW4 stores the window positions for the next run regardless of the positions themself. In your config I saw some negative value, which indicate that you moved the main window a little bit left and top out of the screen for some pixels.
When opening MW4, it will set the windows position to the same values, which in windows does not really work. Also other platform like linux and Mac I've seen behave different.
As result some wired things happen.
In future I will limit the screen positions to the visible screen and move them accordingly so that the window managers don't see any negative or too large number.
Michel

@mworion mworion closed this as completed Aug 11, 2022
@mworion mworion self-assigned this Aug 11, 2022
@mworion mworion added enhancement New feature or request wontfix This will not be worked on labels Aug 11, 2022
@pieterkoolen
Copy link
Author

thx

@mworion
Copy link
Owner

mworion commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants