Skip to content

Window location resets on restart for negative numbers #3

@hanjo

Description

@hanjo

Hi,

I have a multi-monitor setup. My second monitor is to the left of my primary monitor. This causes the x value of the position to become negative in the settings.yml:

  x: -960
  "y": 1561

Upon restart of the application, the x and "y" values are deleted from the configuration and the window's position is reset to the top left of my primary monitor.
I guess there is some check for validity of the parameters. In fact, negative values are valid in a multi-monitor setup. Would be great to get the validation procedure updated to consider this.

Thanks!

[ Edit ]
PS: I noticed I can save the window location as "formation". After restart I can restore a formation which works fine. So a good workaround for the time being, it seems the validation step does not apply here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions