Bug 221724 - okular bug in presentation mode pdf shows only as a small window
Summary: okular bug in presentation mode pdf shows only as a small window
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 23:27 UTC by Mark
Modified: 2010-03-22 10:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
pdf in presentation mode (8.35 KB, image/png)
2010-01-07 23:28 UTC, Mark
Details
.kdemod4/share/config/okularpartrc (221 bytes, application/octet-stream)
2010-01-08 00:06 UTC, Mark
Details
.kdemod4/share/config/okularrc (1.67 KB, application/octet-stream)
2010-01-08 00:07 UTC, Mark
Details
local kwinrc (4.30 KB, application/octet-stream)
2010-01-08 01:09 UTC, Mark
Details
local kwinrulesrc (163 bytes, application/octet-stream)
2010-01-08 01:10 UTC, Mark
Details
/usr/share/apps/kwin/default_rules/fsp_workarounds_1.kwinrules (6.49 KB, application/octet-stream)
2010-01-08 01:20 UTC, Mark
Details
/usr/share/apps/kwin/default_rules/plasma_desktop_containment.kwinrules (214 bytes, application/octet-stream)
2010-01-08 01:21 UTC, Mark
Details
/usr/share/kde4/services/kwinrules.desktop (16.31 KB, application/octet-stream)
2010-01-08 01:22 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2010-01-07 23:27:25 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

* What happens: 
A pdf opened in presentation mode opens a black screen with a smaller white rectangle saying 'Title: ..', when i click, it moves to the first (and other pages of the pdf file), BUT only a tiny window is shown (like 1/10 of screen size). 

* Reproducible: always

* Steps to reproduce: open a pdf and go to presentation mode

* Attachements: a screenshot

* Backends: 
[marek@beruska ~]$ yaourt -Qs ghostscript
extra/ghostscript 8.70-3
     An interpreter for the PostScript language
extra/gsfonts 8.11-5
     Ghostscript standard Type1 fonts

Thank you :)

* Output from commandline (not very useful though):

[marek@beruska ~]$ okular  books/scott_chacon_pro_git.pdf                                      
okular(9578): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)"                                                                                                    
okular(9578): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)"                                                                                                    
okular(9578)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/tmp/kdecache-marek/ksycoca4"                                                                                                  
okular(9578)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:                                     
okular(9578)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:                                     
okular(9578)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/pdf" ,  "okular/Generator"  : returning  1  offers                                                                                 
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@0                           
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@1                           
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 358x512@0 async == true                                                                                                     
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@0                           
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@1                           
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 358x512@1 async == true                                                                                                     
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@1                           
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=4 84x120@0                            
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 84x120@0 async == true
okular(9578)/kdeui (KNotification) KNotification::slotReceivedId: 0
okular(9578)/kdeui (KNotification) KNotification::close: 0
okular(9578)/kdeui (KNotification) KNotification::~KNotification: -2
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=1 403x576@0
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=1 403x576@1
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=1 403x576@0 async == false
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=1 403x576@1 async == true
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@2
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 358x512@2 async == true
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@2
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=1 403x576@2
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=1 403x576@3
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=1 403x576@2 async == false
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=1 403x576@3 async == true
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@3
okular(9578)/okular (app) Okular::Document::requestPixmaps: request id=3 358x512@3
okular(9578)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 358x512@3 async == true
okular(9578)/kio (bookmarks) KBookmarkManager::saveAs: KBookmarkManager::save  "/home/marek/.kdemod4/share/apps/okular/bookmarks.xml"
okular(9578)/kparts KParts::Part::~Part: deleting widget Sidebar(0x83422d0) ""
[marek@beruska ~]$
Comment 1 Mark 2010-01-07 23:28:44 UTC
Created attachment 39667 [details]
pdf in presentation mode

pdf in presentation mode
Comment 2 Albert Astals Cid 2010-01-07 23:36:54 UTC
Happens with all pdf or only one?

Also the ghostscript version is quite irrelevant to render pdf files...
Comment 3 Mark 2010-01-07 23:43:57 UTC
for me, it happens with all pdfs i try.

@ghostscript: sorry, I don't see to the details, don't know how to get more info on the bug..

Thank you, Mark
Comment 4 Mark 2010-01-07 23:48:25 UTC
Sorry, I replied on bugzila, not here..
In my case this happens on all pdfs. 

@ghostscript: sorry, didn't know. 
I wonder how could i get more details about the bug? 
Thanks, Mark


On Thursday 07 of January 2010 23:36:57 Albert Astals Cid wrote:
> https://bugs.kde.org/show_bug.cgi?id=221724
> 
> 
> 
> 
> 
> --- Comment #2 from Albert Astals Cid <tsdgeos terra es>  2010-01-07
>  23:36:54 --- Happens with all pdf or only one?
> 
> Also the ghostscript version is quite irrelevant to render pdf files...
>
Comment 5 Mark 2010-01-08 00:06:00 UTC
Created attachment 39668 [details]
.kdemod4/share/config/okularpartrc
Comment 6 Mark 2010-01-08 00:07:23 UTC
Created attachment 39669 [details]
.kdemod4/share/config/okularrc
Comment 7 Albert Astals Cid 2010-01-08 00:43:44 UTC
Which okular version are you using?

Which window manager are you using?
Comment 8 Albert Astals Cid 2010-01-08 00:50:41 UTC
Can you also attach the kwinrc and kwinrulesrc files? Both the ones of your local config and global config if they exist
Comment 9 Mark 2010-01-08 01:07:14 UTC
kwin & okular versions: 
[marek@beruska config]$ okular -v
Qt: 4.6.0
KDE Development Platform: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Okular: 0.9.80

[marek@beruska config]$ kwin -v
Qt: 4.6.0
KDE Development Platform: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
KWin: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))


On Friday 08 of January 2010 00:44:45 Albert Astals Cid wrote:
> https://bugs.kde.org/show_bug.cgi?id=221724 
> 
> --- Comment #7 from Albert Astals Cid <tsdgeos terra es>  2010-01-08
>  00:43:44 --- Which okular version are you using?
> 
> Which window manager are you using?
>
Comment 10 Mark 2010-01-08 01:09:25 UTC
Created attachment 39670 [details]
local kwinrc
Comment 11 Mark 2010-01-08 01:10:42 UTC
Created attachment 39671 [details]
local kwinrulesrc
Comment 12 Mark 2010-01-08 01:20:26 UTC
Created attachment 39672 [details]
/usr/share/apps/kwin/default_rules/fsp_workarounds_1.kwinrules

following 3 files i foud containing name kwinrules in /usr/share/
..nothing for kwinrc
dunno where global might be? (archlinux)
Comment 13 Mark 2010-01-08 01:21:21 UTC
Created attachment 39673 [details]
/usr/share/apps/kwin/default_rules/plasma_desktop_containment.kwinrules
Comment 14 Mark 2010-01-08 01:22:14 UTC
Created attachment 39674 [details]
/usr/share/kde4/services/kwinrules.desktop
Comment 15 Albert Astals Cid 2010-01-08 01:45:35 UTC
Nothing suspicious

Do you have desktop effects enabled, does it work if you disable them?
Comment 16 Mark 2010-01-08 02:23:35 UTC
No, it's not related to desktop effects, but I found out that: 
*open a document and go to presentation = bug
*open a document, go to another page, then presentation = no bug!
...or maybe not. I can sometimes reproduce it, sometimes not. (both w/ effects 
on/off). 

On Friday 08 of January 2010 01:45:38 Albert Astals Cid wrote:
> https://bugs.kde.org/show_bug.cgi?id=221724
> 
> 
> 
> 
> 
> --- Comment #15 from Albert Astals Cid <tsdgeos terra es>  2010-01-08
>  01:45:35 --- Nothing suspicious
> 
> Do you have desktop effects enabled, does it work if you disable them?
>
Comment 17 Pino Toscano 2010-01-08 02:28:00 UTC
(In reply to comment #4)
> Sorry, I replied on bugzila, not here..

Better use bugzilla's interface, otherwise sucky gmail quoting spams. Thanks.
Comment 18 Albert Astals Cid 2010-01-22 00:19:22 UTC
Just for the sake of completeness could you attach a pdf that has this problem for you?
Comment 19 Mark 2010-03-22 10:17:38 UTC
Hello, trying this from kde 4.4.1, the bug is gone. 
Great job, thank you :)