n370 / texmaker

Automatically exported from code.google.com/p/texmaker
0 stars 0 forks source link

Internal PDF Viewer shows wrong aspect ratio, 2 screens, virtual machine #1366

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a virtual machine (virtual box) with linux (xubuntu) on a windows host 
with 2 monitors.
The virtual machine uses 2 screens. (one for each monitor, both monitors have 
the same resolution 1920x1080)
I have installed the latest Texmaker 4.3 an created a document.

If I let the internal PDF Viewer display any PDF, it will deformed as the 
screenshot shows.
The aspect ratio of a document is correct in presentation mode, but not in the 
normal mode.

It looks like there was someone with a similar problem here:
http://tex.stackexchange.com/questions/154610/internal-pdf-viewer-of-texmaker-de
forms-the-preview-pdf

Original issue reported on code.google.com by basti.sc...@gmail.com on 17 Sep 2014 at 7:13

Attachments:

GoogleCodeExporter commented 9 years ago
Edit: I used Texmaker 4.3 with Qt5

Original comment by basti.sc...@gmail.com on 17 Sep 2014 at 7:16

GoogleCodeExporter commented 9 years ago
Same with real screen and external window for the viewer. Cant attach screen 
shot because of quota.

I made some test, switching windows (main and viewer) between the laptop screen 
(1366x788) and the external screen (on VGA; 900x1400 / 1400x900), and then 
pressing F1 to render:
A - viewer on external, main on external:  aspect ratio is ok
D - viewer on laptop, main on laptop:  aspect ratio is ok
B - viewer on external, main on laptop: aspect ratio is incorrect
C - viewer on laptop, main on external: aspect ratio is ok

I first though it was because it calculates the ratio from the one where main 
window is but it was invalidated by C. Can't be because it calculates the ratio 
on the first screen, because of A.

Without looking at the code (no much time), I think it can be because it 
calculates the ratio on the first screen on the list of screens where all 
texmaker windows are.

Original comment by ld.black...@gmail.com on 22 Jul 2015 at 5:01

popadi commented 7 years ago

I can confirm I (still) have the same problem, but only when using my virtual machine with Ubuntu.