#650 PDF Viewer

None
closed
nobody
None
5*
2013-01-10
2012-11-29
Klaus
No

It seems I have a problem with the newest release of TeXstudio 2.5.1
The PDF Viewer window is created much too large.
Even if it already exists and has been brought to adequate size, it resizes upon recompile
sometimes (may even depend on built project).
This is not influenced by Preferences>Preview>Scale Option or Scaling.

Machine latest update of Lion on Mac.

Discussion

  • Have you tried resizing it and then immediately restart texstudio
    afterwards?

    That should set a new default size..

     
  • Klaus
    Klaus
    2012-11-29

    Just tried following cycle
    - open TexStudio
    - run (double arrow): the (too large) Viewer opens
    - resize viewer
    - quit
    - start Texstudio
    - restore session (if I only open the document same effect)
    - run (double arrow)
    - the (too large) Viewer opens (initial size not resized)
    - resize again
    - run (double arrow)
    - the Viewer resizes to the too large size (independent of whether I use run from editor window or from viewer window

     
  • Robert
    Robert
    2012-11-30

    Hi Klaus. I'm an OSX user as well. What happens if you try to embed the viewer? On my system, it defaults to the size I specify (large or small) when I disengage the embedded viewer and restart TXS. Like you state, it does seem to forget the way I last had it at (but it goes to a smaller size).

     
  • Robert
    Robert
    2012-11-30

    After playing around more, it seems that TXS does two different things:
    1. Open TXS
    2. Open the viewer
    3. Resize viewer
    4. Close TXS
    In that case, it memorizes the size and position of the viewer upon reopening. On the other hand, if I
    1. Open TXS
    2. Open the viewer
    3. Embed the viewer
    4. Close TXS
    the next time I open TXS and the viewer, it defaults to some other size (in my case a smaller size).

     
  • The default pdf viewer size is set by hidden options in the texstudio.ini file, e.g.:

    Geometries\PdfViewerLeft=70
    Geometries\PdfViewerTop=75
    Geometries\PdfViewerWidth=1000
    Geometries\PdfViewerHeight=580

    does it change the lines, if you resize the viewer and restart?
    Or otherwise, does changing the ini changes the viewer of a newly started texstudio?

    Perhaps there is something else in the viewer window that forces a larger size.
    Tim suggested it might be that issue http://sourceforge.net/p/texstudio/discussion/907840/thread/33800b35
    Or do you have some sub window activated in the viewer (e.g. search, fonts...)

     
    • Priority: 1 --> 5*
     
  • Klaus
    Klaus
    2012-12-02

    Kind of strange: First thing I tried was to do the embedding to see how it behaves.

    • It expanded the previewer somewhat, but after a short pause, it snapped back.
      Established that I could not see a big problem with the embedded viewer, I went back
      to the non-embedded (internal) viewer. Since then I could not reproduce the problem.
      I will get back as soon as I can reproduce the problem.

    Thanks for the tips..!

    BTW: I also tried the thing with different path-lengths. (I.e., moving the directories around so I get smaller paths) In my case did not change a thing, but perhaps the paths were to small to start with. Also in the non-embedded mode only the name is shown over the viewer. The path is only shown over the editor, so I would not expect it to be the culprit..

    Klaus

    Klaus

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-12-03

    Independent of the viewer mode, the name is shown in statusbar for approximately 2 seconds.

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-12-05

    Is this fixed now?

     
  • Klaus
    Klaus
    2012-12-08

    I would not call it fixed, as I am not aware that I did anything specific to resolve it.
    But I was not able to reproduce the problem either.
    So, the only remaining (minor) annoyance is that the pdf window sometimes hops around a bit. But it does no longer expand across most of the screen (I usually have the window flush right with the edge of the screen and it then sometimes hops to the left, opening a gap to the screen border, but this is also currently not clearly reproducable :(
    I also tried the advice above:
    at least currently the information in the texstudio.ini file is updated, when I resize and restart.
    So, probably right now, it is best to simply close it..

    Klaus

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-12-09

    • status: open --> closed
    • milestone: -->
     
  • Tim Hoffmann
    Tim Hoffmann
    2012-12-09

    assume fixed. Please report if there are still issues.

     
  • Klaus
    Klaus
    2013-01-10

    I do not know what caused it, but it seems the problem is back.
    It accepts all sizing, but as soon as I compile, briefly the status bar shows the full length of the path, this leads the viewer to expand (either if it is the independent viewer, or for embedded viewer). Then I can resize, but with the next compile, when the path is displayed it happens again..

     
  • Tim Hoffmann
    Tim Hoffmann
    2013-01-10

    Which TXS version and which OS are you using?

     
  • Klaus
    Klaus
    2013-01-10

    Sorry, I should have checked first: the new release 2.5.2 fixes this.

     
  • Klaus
    Klaus
    2013-01-10

    Wow, you guys are fast to reply!
    Great project ! Great help !

     
  • Robert
    Robert
    2013-01-10

    Yes. This one can be closed. I tested it on Lion as well and things are fine.