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

Fix dock layout restore (#1565) #1567

Merged
merged 11 commits into from
Mar 7, 2023
Merged

Conversation

wladimirleite
Copy link
Member

Fixes #1565.
I also made a few minor code changes in App class, most of them to simplify code related to layout creation.

Regarding to the issue itself, as the layout manager allows a lot of different configurations, the applied solution should work on any scenario, although I only tested a few of them.

In most common configurations, the "new" panels (created after the last time layout was saved) should be in locations similar to the original layout.
In the worst cases, it should still make these "new" panels visible, so the user can see them, but probably it will need to be placed in a better position by the user.

@lfcnassif
Copy link
Member

Thank you @tc-wleite!

Copy link
Member

@lfcnassif lfcnassif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested, working fine, thank you @tc-wleite!

@lfcnassif lfcnassif merged commit 375d683 into master Mar 7, 2023
@lfcnassif lfcnassif deleted the #1565_FixDockLayoutRestore branch March 7, 2023 22:06
This pull request was closed.
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.

Layout restore prevents panels added in newer IPED versions to be visible
2 participants