#1877 "preview selection" using "windowed viewer" steals focus on each recompile


Steps to reproduce:

  • Select text
  • Rightclick --> "Preview Selection/Parentheses"
  • Use toolbar "Windowed Viewer"
  • Change text
  • wait for recompilation

Outcome: the viewer window gets the focus.
Expected Outcome: the editor keeps the focus

The current behaviour is unfortunate, since small typing pauses cause the recompilation and thus steal the focus from the editor. To continue typing, the focus needs then to be changed back to the editor manually.


  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-08-18

    this use case is not intended nor desired. I am not sure if I want to actively inhibit it, I definitely don't want to build in a special code path for it ...
    The preview is spposed to stay in the embedded viewer and there is just works fine.

  • Markus

    Markus - 2016-08-19

    There is a use case for a dual monitor setup. Having TeXstudio on one monitor and the picture (in the windowed fullscreen viewer) is my usual workflow.
    Usually I use an external pdf-viewer. But with the extremely fast "Inline Preview", this workflow is not possible because of the focus-issue.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks