Summary: | pdf documents not shown: page size = inf | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Luis Silva <lacsilva> |
Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid |
Priority: | NOR | ||
Version: | 0.18.95 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/okular/a7f3a1ac37af94af5078051ceb5b310fb93194ed | Version Fixed In: | 4.13.0 |
Attachments: |
Screenshot illustrating the problem.
Output of "kscreen-console bug" |
Description
Luis Silva
2014-03-28 18:16:42 UTC
Created attachment 85814 [details]
Screenshot illustrating the problem.
Do you know how to recompile okular? Would you able to compile it adding kDebug() << "Output size is " << szMM; after the line QSize szMM = selectedOutput->sizeMm(); in core/utils.cpp ? I just recompiled master () which has the patch you asked me to apply. Here is the output on the command line: okular(14783): BEGIN: Loading backend This backend is only for XRandR 1.1, your version is: 1 . 4 okular(14783) BackendLoader::init: Skipping "XRandR 1.1" backend okular(14783) BackendLoader::init: Loading "XRandR" backend okular(14783): END__: Loading backend [Took: 0.038s] okular(14783) Okular::Utils::realDpi: Found widget at output # 83 okular(14783) Okular::Utils::realDpi: Output size is QSize(0, 0) okular(14783) Okular::Utils::realDpi: Output DPI is QSizeF(inf, inf) I'm compiling from master (8ee72f). Thanks this is useful :) One more thing, can you please run kscreen-console bug on a terminal and attach the output? Created attachment 85895 [details]
Output of "kscreen-console bug"
I just added the output you requested. Something else that might help and that I had not noticed before: the file preview widget in kile (okular based) is working perfectly fine. The document preview in kbibtex (also okular based), however, simply does not work. I hope this information helps. Git commit a7f3a1ac37af94af5078051ceb5b310fb93194ed by Albert Astals Cid. Committed on 02/04/2014 at 22:42. Pushed by aacid into branch 'KDE/4.13'. Protect us against broken drivers/screens Some drivers screens return 0x0 as their screen size so we can't use it to calculate the dpi Related: bug 332494 FIXED-IN: 4.13.0 M +17 -9 core/utils.cpp http://commits.kde.org/okular/a7f3a1ac37af94af5078051ceb5b310fb93194ed |