Skip to content

Odd Window positioning behaviour (MacOS) #4791

@whalley

Description

@whalley

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

CleanShot 2022-07-06 at 17 06 32

On my setup the windows are reported as:

screen 0: x:0, y:25, w:1680, h:969, fit:false, primary:true
screen 1: x:-918, y:-1415, w:3440, h:1415, fit:false, primary:false
screen 2: x:-3478, y:-1415, w:2560, h:1415, fit:true, primary:false

In reality, the screens are laid out as:
CleanShot 2022-07-06 at 19 31 06

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
CleanShot 2022-07-06 at 19 31 06

Needs a bit of investigation....

Metadata

Metadata

Assignees

Labels

fixedmacrelated to OSX / MacOS

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions