Menu

#803 --no-focus does not work for internal viewer

None
closed
nobody
None
5*
2015-04-25
2014-12-28
Mast B.
No

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.

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2015-01-11

    fixed: hg 4885 (e080db6d3597)

     
  • Tim Hoffmann

    Tim Hoffmann - 2015-01-11
    • status: open --> closed
    • Group: -->
     
  • Mast B.

    Mast B. - 2015-01-22

    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.

     
  • Mast B.

    Mast B. - 2015-04-23

    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
  • Tim Hoffmann

    Tim Hoffmann - 2015-04-25

    hg 5072 (078fa04bd0fc) fixes --no-focus and implements options new options: --foreground (default) and --no-foreground

    It would be great if you could put the viewer window behind the editor window when --no-focus

    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.

     

Anonymous
Anonymous

Add attachments
Cancel