Bug 338991 - PDF viewing under parallels in a double-monitor 3840x1200 configuration exhibits stretched behavior
Summary: PDF viewing under parallels in a double-monitor 3840x1200 configuration exhib...
Status: RESOLVED DUPLICATE of bug 336018
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.19.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-10 20:35 UTC by Jason Tiller
Modified: 2014-09-10 21:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Source PDF for displaying problem (15.72 KB, application/pdf)
2014-09-10 21:03 UTC, Jason Tiller
Details
Screenshot of rendering problem (137.04 KB, image/png)
2014-09-10 21:04 UTC, Jason Tiller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Tiller 2014-09-10 20:35:27 UTC
Okular displays all PDFs files as landscape and they appear stretched.  I've attached an example screenshot.

This problem has been reported before, however all of the previous bugs have been marked closed, but I am still plagued with this issue, despite running versions that the same as or later than those in which the issue has been fixed.  I only created this bug because I was unable to find a way to reopen any of the duplicate bugs (none of which were created by me).

These two are almost identical descriptions of my problem:

https://bugs.kde.org/show_bug.cgi?id=334781
https://bugs.kde.org/show_bug.cgi?id=333456

This marked as a duplicate of the above:

https://bugs.kde.org/show_bug.cgi?id=334226

This is more specific to a 4K display, but seems to represent a common theme:

https://bugs.kde.org/show_bug.cgi?id=338145

Reproducible: Always

Steps to Reproduce:
1.  Open any PDF in Okular.
2.  Observe stretched rendering.
3.  Despair.



Actual Results:  
I've attached the observed behavior (stretched PDF rendering) as well as the PDF file I used.

Expected Results:  
Rendering should have been in portrait mode.
Comment 1 Jason Tiller 2014-09-10 21:02:39 UTC
I added this comment to one of the closed bugs:

Late 2013 MBP
NVIDIA GeForce GT 750M 2048 MB
Kubuntu 14.04 VM
KDE 4.13.3
Okular 0.19.3
Parallels Build 9.0.2425
2 external monitors (1920x1200 each)
Parallels provides a single 3840x1200 display to Kubuntu
libkscreen1:amd64/trusty-updates 1.0.5-0ubuntu1~ubuntu14.04

Here is the output of 'kscreen-console debug':
>>>>>
START 
Config::current() took 4 milliseconds 

========================xrandr --verbose========================== 

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 3840 x 1200, maximum 3840 x 1600
default connected primary 3840x1200+0+0 (0x91) normal (normal) 0mm x 0mm
	Identifier: 0x59
	Timestamp:  232386
	Subpixel:   no subpixels
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1920x1200 (0x64)  138.2MHz
        h: width  1920 start    0 end    0 total 1920 skew    0 clock  
72.0KHz
        v: height 1200 start    0 end    0 total 1200           clock  
60.0Hz
  1920x1080 (0x65)  124.4MHz
        h: width  1920 start    0 end    0 total 1920 skew    0 clock  
64.8KHz
        v: height 1080 start    0 end    0 total 1080           clock  
60.0Hz
  1600x1200 (0x66)  115.2MHz
        h: width  1600 start    0 end    0 total 1600 skew    0 clock  
72.0KHz
        v: height 1200 start    0 end    0 total 1200           clock  
60.0Hz
  1680x1050 (0x67)  105.8MHz
        h: width  1680 start    0 end    0 total 1680 skew    0 clock  
63.0KHz
        v: height 1050 start    0 end    0 total 1050           clock  
60.0Hz
  1600x1000 (0x68)   96.0MHz
        h: width  1600 start    0 end    0 total 1600 skew    0 clock  
60.0KHz
        v: height 1000 start    0 end    0 total 1000           clock  
60.0Hz
  1400x1050 (0x69)   88.2MHz
        h: width  1400 start    0 end    0 total 1400 skew    0 clock  
63.0KHz
        v: height 1050 start    0 end    0 total 1050           clock  
60.0Hz
  1344x1008 (0x6a)   81.3MHz
        h: width  1344 start    0 end    0 total 1344 skew    0 clock  
60.5KHz
        v: height 1008 start    0 end    0 total 1008           clock  
60.0Hz
  1280x1024 (0x6b)   78.6MHz
        h: width  1280 start    0 end    0 total 1280 skew    0 clock  
61.4KHz
        v: height 1024 start    0 end    0 total 1024           clock  
60.0Hz
  1440x900 (0x6c)   77.8MHz
        h: width  1440 start    0 end    0 total 1440 skew    0 clock  
54.0KHz
        v: height  900 start    0 end    0 total  900           clock  
60.0Hz
  1280x960 (0x6d)   73.7MHz
        h: width  1280 start    0 end    0 total 1280 skew    0 clock  
57.6KHz
        v: height  960 start    0 end    0 total  960           clock  
60.0Hz
  1344x840 (0x6e)   67.7MHz
        h: width  1344 start    0 end    0 total 1344 skew    0 clock  
50.4KHz
        v: height  840 start    0 end    0 total  840           clock  
60.0Hz
  1360x768 (0x6f)   62.7MHz
        h: width  1360 start    0 end    0 total 1360 skew    0 clock  
46.1KHz
        v: height  768 start    0 end    0 total  768           clock  
60.0Hz
  1280x800 (0x70)   61.4MHz
        h: width  1280 start    0 end    0 total 1280 skew    0 clock  
48.0KHz
        v: height  800 start    0 end    0 total  800           clock  
60.0Hz
  1024x768 (0x5a)   47.2MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock  
46.1KHz
        v: height  768 start    0 end    0 total  768           clock  
60.0Hz
  800x600 (0x5b)   28.8MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock  
36.0KHz
        v: height  600 start    0 end    0 total  600           clock  
60.0Hz
  640x480 (0x5c)   18.4MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock  
28.8KHz
        v: height  480 start    0 end    0 total  480           clock  
60.0Hz
  1024x640 (0x5d)   39.3MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock  
38.4KHz
        v: height  640 start    0 end    0 total  640           clock  
60.0Hz
  960x600 (0x5e)   34.6MHz
        h: width   960 start    0 end    0 total  960 skew    0 clock  
36.0KHz
        v: height  600 start    0 end    0 total  600           clock  
60.0Hz
  848x480 (0x5f)   24.4MHz
        h: width   848 start    0 end    0 total  848 skew    0 clock  
28.8KHz
        v: height  480 start    0 end    0 total  480           clock  
60.0Hz
  800x500 (0x60)   24.0MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock  
30.0KHz
        v: height  500 start    0 end    0 total  500           clock  
60.0Hz
  640x400 (0x61)   15.4MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock  
24.0KHz
        v: height  400 start    0 end    0 total  400           clock  
60.0Hz
  3840x1200 (0x91)  276.5MHz *current
        h: width  3840 start    0 end    0 total 3840 skew    0 clock  
72.0KHz
        v: height 1200 start    0 end    0 total 1200           clock  
60.0Hz
  2560x1600 (0x62)  245.8MHz
        h: width  2560 start    0 end    0 total 2560 skew    0 clock  
96.0KHz
        v: height 1600 start    0 end    0 total 1600           clock  
60.0Hz
  2048x1536 (0x63)  188.7MHz
        h: width  2048 start    0 end    0 total 2048 skew    0 clock  
92.2KHz
        v: height 1536 start    0 end    0 total 1536           clock  
60.0Hz
 

========================Outputs=================================== 

KScreen version:  1.0.2.1 
Screen: 
	maxSize: QSize(3840, 1600) 
	minSize: QSize(640, 400) 
	currentSize: QSize(3840, 1200) 

-----------------------------------------------------
 
Id:  89 
Name:  "default" 
Type:  "Unknown" 
Connected:  true 
Enabled:  true 
Primary:  true 
Rotation:  1 
Pos:  QPoint(0,0) 
MMSize:  QSize(0, 0) 
Size:  QSize(3840, 1200) 
Clones:  None 
Mode:  "145" 
Preferred Mode:  "145" 
Preferred modes:  () 
Modes:  
	 "92"    "640x480"   QSize(640, 480)   60 
	 "93"    "1024x640"   QSize(1024, 640)   60 
	 "94"    "960x600"   QSize(960, 600)   60 
	 "95"    "848x480"   QSize(848, 480)   60 
	 "100"    "1920x1200"   QSize(1920, 1200)   60 
	 "96"    "800x500"   QSize(800, 500)   60 
	 "101"    "1920x1080"   QSize(1920, 1080)   60 
	 "102"    "1600x1200"   QSize(1600, 1200)   60 
	 "97"    "640x400"   QSize(640, 400)   60 
	 "103"    "1680x1050"   QSize(1680, 1050)   60 
	 "98"    "2560x1600"   QSize(2560, 1600)   60 
	 "99"    "2048x1536"   QSize(2048, 1536)   60 
	 "104"    "1600x1000"   QSize(1600, 1000)   60 
	 "105"    "1400x1050"   QSize(1400, 1050)   60 
	 "106"    "1344x1008"   QSize(1344, 1008)   60 
	 "107"    "1280x1024"   QSize(1280, 1024)   60 
	 "108"    "1440x900"   QSize(1440, 900)   60 
	 "109"    "1280x960"   QSize(1280, 960)   60 
	 "110"    "1344x840"   QSize(1344, 840)   60 
	 "111"    "1360x768"   QSize(1360, 768)   60 
	 "112"    "1280x800"   QSize(1280, 800)   60 
	 "90"    "1024x768"   QSize(1024, 768)   60 
	 "145"    "3840x1200"   QSize(3840, 1200)   60 
	 "91"    "800x600"   QSize(800, 600)   60 
EDID Info:  
	Unavailable 

========================Configurations============================ 

Configs in:  "/home/jtiller/.kde/share/apps/kscreen/" 
Number of files:  4 

"9818de64370f5ade70de0b1d5ae2f7a6" 
"[
 {
  "enabled" : true,
  "id" : "23fa303221f6fd5b2b9a2120d43d6126",
  "metadata" :   {
   "fullname" : "xrandr-VBOX monitor-50332672",
   "name" : "VBOX0"
  },
  "mode" :   {
   "refresh" : 59.9997,
   "size" :    {
    "height" : 768,
    "width" : 1024
   }
  },
  "pos" :   {
   "x" : 0,
   "y" : 0
  },
  "primary" : true,
  "rotation" : 1
 },
 {
  "enabled" : true,
  "id" : "23fa303221f6fd5b2b9a2120d43d6126",
  "metadata" :   {
   "fullname" : "xrandr-VBOX monitor-50332672",
   "name" : "VBOX1"
  },
  "mode" :   {
   "refresh" : 59.9997,
   "size" :    {
    "height" : 768,
    "width" : 1024
   }
  },
  "pos" :   {
   "x" : 1024,
   "y" : 0
  },
  "primary" : false,
  "rotation" : 1
 }
]" 

"bec01ce334f997d58a626d2bff9857b3" 
"[
 {
  "enabled" : true,
  "id" : "86f2adaee1b59ea4715262a79bb0b2c8",
  "metadata" :   {
   "fullname" : "xrandr-VBOX monitor-78645120",
   "name" : "VBOX0"
  },
  "mode" :   {
   "refresh" : 59.9998,
   "size" :    {
    "height" : 1200,
    "width" : 1920
   }
  },
  "pos" :   {
   "x" : 1920,
   "y" : 0
  },
  "primary" : false,
  "rotation" : 1
 },
 {
  "enabled" : true,
  "id" : "86f2adaee1b59ea4715262a79bb0b2c8",
  "metadata" :   {
   "fullname" : "xrandr-VBOX monitor-78645120",
   "name" : "VBOX1"
  },
  "mode" :   {
   "refresh" : 59.9998,
   "size" :    {
    "height" : 1200,
    "width" : 1920
   }
  },
  "pos" :   {
   "x" : 0,
   "y" : 0
  },
  "primary" : false,
  "rotation" : 1
 }
]" 

"c21f969b5f03d33d43e04f8f136e7682" 
"[
 {
  "enabled" : true,
  "id" : "default",
  "metadata" :   {
   "name" : "default"
  },
  "mode" :   {
   "refresh" : 60.0,
   "size" :    {
    "height" : 1200,
    "width" : 1920
   }
  },
  "pos" :   {
   "x" : 0,
   "y" : 0
  },
  "primary" : true,
  "rotation" : 1
 }
]" 

"e6ceccfe81a71612052c8fb53ef86222" 
"[
 {
  "enabled" : true,
  "id" : "66bb4463cdb3c04be1cdbfde6831f368",
  "metadata" :   {
   "fullname" : "xrandr-VBOX monitor-50333014",
   "name" : "VBOX0"
  },
  "mode" :   {
   "refresh" : 59.9994,
   "size" :    {
    "height" : 768,
    "width" : 1366
   }
  },
  "pos" :   {
   "x" : 0,
   "y" : 0
  },
  "primary" : true,
  "rotation" : 1
 },
 {
  "enabled" : true,
  "id" : "66bb4463cdb3c04be1cdbfde6831f368",
  "metadata" :   {
   "fullname" : "xrandr-VBOX monitor-50333014",
   "name" : "VBOX1"
  },
  "mode" :   {
   "refresh" : 59.9994,
   "size" :    {
    "height" : 768,
    "width" : 1366
   }
  },
  "pos" :   {
   "x" : 1366,
   "y" : 0
  },
  "primary" : false,
  "rotation" : 1
 }
]" 
<<<<<

xrandr output:
>>>>>
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 3840 x 1200, maximum 3840 x 1600
default connected primary 3840x1200+0+0 0mm x 0mm
   1920x1200      60.0  
   1920x1080      60.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1600x1000      60.0  
   1400x1050      60.0  
   1344x1008      60.0  
   1280x1024      60.0  
   1440x900       60.0  
   1280x960       60.0  
   1344x840       60.0  
   1360x768       60.0  
   1280x800       60.0  
   1024x768       60.0  
   800x600        60.0  
   640x480        60.0  
   1024x640       60.0  
   960x600        60.0  
   848x480        60.0  
   800x500        60.0  
   640x400        60.0  
   3840x1200      60.0* 
   2560x1600      60.0  
   2048x1536      60.0  
<<<<<

Anything else I can do to help debug this?
Comment 2 Jason Tiller 2014-09-10 21:03:36 UTC
Created attachment 88648 [details]
Source PDF for displaying problem
Comment 3 Jason Tiller 2014-09-10 21:04:07 UTC
Created attachment 88649 [details]
Screenshot of rendering problem
Comment 4 Albert Astals Cid 2014-09-10 21:56:11 UTC

*** This bug has been marked as a duplicate of bug 336018 ***