The internal viewer always steals focus when displayed in windowed mode. I modified the pdf-view command to txs:///view-pdf-internal --windowed --no-focus
but I also tried txs:///view-pdf-internal --no-focus
... none worked, the viewer always steals focus.
I'm using v2.8.8 on Windows 8.1 x64 Pro.
Anonymous
fixed: hg 4885 (e080db6d3597)
Thanks! Is there a snapshot (binary) of this available anywhere?
I'm writing a lot of latex at the moment for a deadline and could use less mouse clicks.
Here you are:
http://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20SVN/texstudio2.8.9_snapshot_2015-01-22_win_qt5.4.0.exe/download
Hi, I'm posting this here as it's related but I can create a new ticket if needed.
The focus does indeed remain in the editor (using 2.9.4 hg 5006) but the viewer window comes in front of the editor window (foreground). If I have them next to each other it doesn't matter, but on smaller screens that's not always an option, and the viewer overlaps the editor while the focus and caret are active in the editor, which is awkward and one has to press Alt-Tab twice ...
It would be great if you could put the viewer window behind the editor window when
--no-focus
is used and add an option like--foreground
or--fg
if the user really wants the viewer window in front of the editor window while the focus remains on the editor window.Last edit: Mast B. 2015-04-23
hg 5072 (078fa04bd0fc) fixes --no-focus and implements options new options:
--foreground
(default) and--no-foreground
These kind of "smart" changes of defaults for on option depending on another option are hard to understand for the user. Additionally, it would make the code more complex. So we won't do this. Please use
--no-focus --no-foreground
explicitly if you want that behavior.