View Mode Does Not Persist In New Window Preview

Created on 9 June 2023, over 1 year ago
Updated 22 June 2023, over 1 year ago

Problem/Motivation

When launching preview in a new window, the view mode resets. This previously persisted.

Steps to reproduce

* Edit a node.
* Toggle preview on.
* Change view mode to something other than full.
* Click on 'new window' button.
* In the resulting preview tab notice that the view mode has been reset to full even though it should be a different view mode.

Proposed resolution

View mode should persist in a new window.

Remaining tasks

* Track down this regression and fix it.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brianperry

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @brianperry
  • πŸ‡ΊπŸ‡ΈUnited States cosmicdreams Minneapolis/St. Paul

    This is likely because we're not doing enough to store the state of the preview pane. Perhaps we need to push the pane's state into the state that is persisted in the tempStore (Form State).

    Next Steps

    Study how view mode state is persisted and if we need to store it in form state.

Production build 0.71.5 2024