Skip to content

Making sure the appBounds in the Settings are within the current virt…#287

Merged
Hirogen merged 1 commit intoLogExperts:Developmentfrom
SoftAllan:users/age/feature/configmanagerboundfix
Nov 13, 2023
Merged

Making sure the appBounds in the Settings are within the current virt…#287
Hirogen merged 1 commit intoLogExperts:Developmentfrom
SoftAllan:users/age/feature/configmanagerboundfix

Conversation

@SoftAllan
Copy link
Copy Markdown

This fix looks at the stored appBounds information and make sure that the values are within the current virtual desktop bounds. It can happen that when you work on different virtual desktops the stored information is out of bounds making it impossible to locate or restore the view position. This is now checked and if the values are out of bounds the default windows bound setting is used.
The check is done in the ConfigManager just after the settings has been loaded. If the values in the appBounds are out of bounds for the current virtuel desktop the appBounds are set to 0 values. The views already checks for null and right value = 0 and skip setting the Bounds if so. This makes windows use the default values of the views and therefore showing on the primary screen.

@Hirogen Hirogen self-requested a review June 21, 2023 20:59
@Hirogen Hirogen added this to the Release 1.9.1 milestone Jun 21, 2023
@Hirogen Hirogen merged commit edac32b into LogExperts:Development Nov 13, 2023
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

Successfully merging this pull request may close these issues.

3 participants