novelWriter icon indicating copy to clipboard operation
novelWriter copied to clipboard

"Go to Document" is able to remove focus from document

Open HeyMyian opened this issue 8 months ago • 1 comments

Reproduce:

  1. Open a document in the Editor.
  2. If the Document Viewer is open, close it.
  3. Focus the Editor.
  4. View -> Go to Document.

Contrary to what it says, this will remove the focus from the Editor. If Editor and Document Viewer are open side by side, this toggles between the two panels. But if only one of them is open, "Go to Document" will toggle focus on and off without anything else (to my knowledge?) gaining focus.

I suggest that in this case, the Editor or Document Viewer will simply keep their focus.

HeyMyian avatar Jun 28 '24 17:06 HeyMyian