alexandervdm / gummi

Simple LaTeX editor
https://gummi.app
MIT License
750 stars 95 forks source link

(Project) Focus lost on main text file, when a chapter is selected #182

Open justi153 opened 1 year ago

justi153 commented 1 year ago

Describe the bug When creating a project, I expect that my main file remains focus on Preview Panel, even when editing another chapter in a different file. What actually happens is that, when another file (i.e. chapter-1.text) is selected, the focus is set to that document, which, because the main file contain the settings of the file, I can't preview what is being writing.

To Reproduce Steps to reproduce the behavior:

  1. Create main text file.
  2. Create a project.
  3. Select the main text file as main.
  4. Add another chapter and add it to the project.
  5. Change to the chapter tex file.
  6. Lost focus on main tex file.

System: