Skip to content

[switch-views:] If only the editor is visible: The shortcut editor-↔-sidebar puts the focus on two places #18

@ralf3u

Description

@ralf3u

Steps to reproduce

  1. Only the editor is visible
  2. Press the shortcut switch-views-(editor-↔-sidebar)
  3. Click on the tab-title Preview
  4. Press twice the shortcut switch-views-(editor-↔-sidebar)

Result
The Preview-tab is visible.
The Preview-tab-title is not in focus.
a) The frame or border of the sidebar is in focus because editor is not visible. Reason: If I press 1x the arrow-left-key, then the content-area of the preview is in focus.
b) Instead of doing a) do this:
The tab of the editor is still in focus, because I can tab-browse with Ctrl+PageUP/PageDown in the editor, although the editor is not visible.

Expectation
The focus should be only on one place.

Possible solution
What about to unfocus the editor when the editor is not visible?

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