Bug 331737 - Viewing pdf stored on removable media after suspend
Summary: Viewing pdf stored on removable media after suspend
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.18.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 14:57 UTC by sundoulos2
Modified: 2014-05-09 09:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sundoulos2 2014-03-04 14:57:06 UTC
Scenario: pdf opened in okular for viewing. The file is located on removable media, in this case an SD card. The laptop suspends. After waking up, the pdf does not display correctly. The current page displays until zoom is changed, then it goes blank. Scrolling forward/backward displays blank pages. Reloading (F5) the file makes it work correctly again. Behavior is the same whether using okular as a standalone or viewing the pdf in konqueror. djvu files display properly after suspend/wake but pdf's do not.
Comment 1 sundoulos2 2014-03-19 14:21:21 UTC
Displaying pdf's in okular works as expected with files stored on a USB drive. It is files stored on an SD card (identified as mmcblk*).
Comment 2 Luigi Toscano 2014-05-08 16:27:05 UTC
We tried on two systems with SD card with Ubuntu 14.04 which ships Okular 0.19; after suspend and resume the PDF document was still visibile and browsable. Could you please try with the latest version (at least of Okular, and maybe also of the distribution)?
Comment 3 sundoulos2 2014-05-09 01:19:46 UTC
Okular 0.19 behaves the same as 0.18.2 on Kubuntu 13.10 on my Acer laptop. The new version makes no difference. I can't easily try 14.04 (I don't want to upgrade right now) but I do know kernel 3.13 doesn't fix it. Running a mainline kernel does fix the problem. Got the hint on that from Kovid Goyal over at Calibre. Apparently it's primarily a kernel issue, not an application bug; Kovid did come up with a workaround for Calibre. I haven't tried earlier versions but Okular works properly with both 3.15rc3 and 3.15rc4 mainline kernels.
Comment 4 Albert Astals Cid 2014-05-09 09:52:22 UTC
Well, let's be practical, we have two different laptops with Ubuntu 14.04 and okular 0.19 and it works so if it doesn't work for you its 99.99% not the fault of okular but something on the lower layers kernel driver, hardware, etc so it's not much we can do to fix it, so i'm going to close this bug.

Thanks for caring about Okular :)