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

--- Comment #4 from Sebastian <sebastian_stei...@gmx.de> ---
First of all, I've filed a bug at Poppler:
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1616 
Even a command line tool like pdftoppm suffers from the same problem. 
Takes a minute when reading from Samba share and only a few seconds when
reading from local disk. 

(In reply to Sune Vuorela from comment #3)
> Try change that constant in poppler to something fairly larger and see what
> happens ? 

Unfortunately, I don't really know how to build Okular with a custom Poppler
library so that it doesn't use the libraries installed from the package
repository. 
In Debian, Okular seems to depend on libpoppler-qt5-1 which depends on
libpoppler126 and I guess the last one is the library I had to patch? 

(In reply to Sune Vuorela from comment #3)
> I do think that working on 256 bytes increments might have been
> the right thing back in the days of floppy drives ... ?

I totally agree! 

Even for a local disk 256 bytes seem very small, given that HDD/SSD sectors
nowadays are 4K / 4096 bytes at once.
And it seems to be fatal for remote mounts with some latency.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to