Skip to content

feat(menus): make panel visibility state persistent across sessions#66

Open
philippe-ynput wants to merge 4 commits intodevelopfrom
persistent-panel-visibility
Open

feat(menus): make panel visibility state persistent across sessions#66
philippe-ynput wants to merge 4 commits intodevelopfrom
persistent-panel-visibility

Conversation

@philippe-ynput
Copy link
Contributor

Changelog Description

Add functionality to remember which panels were open and automatically restore them on startup. Panel visibility is stored in RV settings and read during initialization to reopen previously visible panels.

Additional review information

None.

Testing notes:

  1. start with this step
  2. follow this step

Add functionality to remember which panels were open and automatically
restore them on startup. Panel visibility is stored in RV settings
and read during initialization to reopen previously visible panels.

Signed-off-by: philippe-ynput <philippe@ynput.io>
@philippe-ynput philippe-ynput self-assigned this Feb 5, 2026
@philippe-ynput philippe-ynput added the type: enhancement Improvement of existing functionality or minor addition label Feb 5, 2026
Copy link
Contributor

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

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

Does not work for me.

Move panel visibility restoration from constructor to the
session-initialized event to avoid timing issues. Use QTimer.singleShot
for opening panels and add DockCloseFilter to track panel visibility
via Qt events instead of checking visibility after opening.

Guard against writing panel visibility settings during application
shutdown to prevent always invisible state.

Signed-off-by: philippe-ynput <philippe@ynput.io>
@philippe-ynput
Copy link
Contributor Author

@BigRoy you will need https://github.com/ynput/ayon-review-desktop/pull/47 to test this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants