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
Odd Window positioning behaviour (MacOS) #4791
Comments
Tried re-ordering logical screens to be one continuous row..
...but same result As soon as the mmGUIFrame is created with (x:5331, y:-157, w:1431, h:802), I check the Window size via:
but get: However......
The window is correctly placed, but the toolbar still has extra padding. Something must be screwing up in mmGUIFrame of wxFrame that is causing this odd positioning and sizing. ...the quest continues. |
Only way I could find of fixing the toolbar padding issue, which only seemed to appear on retina Mac screens was to change wxToolBar to wxAuiToolBar, which seemed the right way to go anyway. @vomikan Can you please check for no ill effects on Windows. |
First run on Windows 7: |
Note that detaching the toolbar sets height correctly... until it is reattached mmex_YAjRjZfqTA.mp4 |
It's OK for me for any sizes. |
Put on hold until wxWidgets team can comment on the window positioning issue. |
Yep. All good under Win 7 now. |
Having the toolbar sized to fit the tools allows it to be moved to the right if needed and allows us to add another toolbar if needed, e.g for access to reports or whatever. |
OK. Understood. |
wxWidgets team have fixed the window positioning error, so we can pick up in next wxWidgets release.... wxWidgets/wxWidgets@5c5d5f5 |
Confirmed. Fixed in wx3.2.1. |
When re-opening MMEX the application recognizes that it can fit into one of the attached monitors and then opens in the X,Y position BUT it opens at another location. In addition to opening on the wrong display, the toolbar then has additional margin padding
On my setup the windows are reported as:
In reality, the screens are laid out as:
The saved position that the application is trying to recover to is:
saved dimensions : x:-3087, y:-1232, w:1850, h:993, maximized:false
this should restore to screen 2 but actually restores across screens 0 and 1, as shown below in yellow
Needs a bit of investigation....
The text was updated successfully, but these errors were encountered: