Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of the built-in PDF viewer panel will be reset after restarting TexStudio #3749

Open
Mrneet opened this issue Jul 30, 2024 · 10 comments
Open

Comments

@Mrneet
Copy link

Mrneet commented Jul 30, 2024

The panel size of the built-in PDF viewer will be reset every time I restart the TexStudio. It doesn't remember the size after I changed it.

Environment

  • TeXstudio: Since 4.8.0
  • Qt:
  • OS: Windows 10, 11
  • TeX distribution: texlive

Expected behavior

The panel size of the built-in PDF viewer will remember the size after I change it.

@arrkh
Copy link

arrkh commented Aug 19, 2024

If I remember correctly, the built-in viewer used to remember its width, so this seems to be a bug.

@sunderme
Copy link
Member

I see that txs remembers width on linux.

@Mrneet
Copy link
Author

Mrneet commented Aug 20, 2024

If I remember correctly, the built-in viewer used to remember its width, so this seems to be a bug.

You're right. It worked correctly in the previous version (4.7.3).

@sunderme
Copy link
Member

I don't see an issue on win11 with 4.8.2alpha4.

@yidit
Copy link

yidit commented Aug 21, 2024

I don't see an issue on win11 with 4.8.2alpha4.

Are you maximized? It does remember the panel size when not maximized, but when maximized the built-in PDF viewer panel size is reset.

@sunderme
Copy link
Member

what is your monitor set-up ?

@yidit
Copy link

yidit commented Aug 22, 2024

1920×1080
125% scaling

@arrkh
Copy link

arrkh commented Aug 22, 2024

I always use txs maximised, so I don’t know what happens when it is not. My set-up is 3840×2160 150% on one machine and 2×2560×1440 (100%?) on another machine.

@CROSS3R
Copy link

CROSS3R commented Sep 28, 2024

I still have the problem. downloaded the latest update 4.8.4

Does andybody has a solution to fix? its really annoying ;)

I don't see an issue on win11 with 4.8.2alpha4.

Are you maximized? It does remember the panel size when not maximized, but when maximized the built-in PDF viewer panel size is reset.

what do you mean by maximising the panel? its embedded and not a single window?

@octaeder
Copy link
Contributor

I can confirm for a standard setup:
txs 4.8.2 (installer exe) Qt 6.7.2, and current dev
Win 10, miktex
Display: 1920x1200, landscape, 60Hz, 24', scaling 100% (just in case someone needs all the details)
important: txs window is maximized (not full screen)

Have a look at following screenshots. I used a tool which shows the current mouse pointer coordinates which I moved over the black line separating the editor part from the viewer part (the circel shows a large zoom around the mouse pointer).

The main observation is that after closing txs, the black line is generally slightly shifted sideways the next time txs is started, even if the line was not touched beforehand.

start txs, line at position 1195:
image

move line to 1238:
image

end and start txs, line moves to 1190:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants