[opensuse] what is the significance of the max preview size setting in dolphin?
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files? -- Per Jessen, Zürich (13.8°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 14 of July 2011 09:08:08 Per Jessen wrote:
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files?
Because it may take a long time to generate the preview, depending on the file type. This is especially important for remote files, because generating the preview may require to transfer the entire file. Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 14/07/11 07:08, Per Jessen wrote:
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files?
To generate a preview the whole file has to be read and parsed. So if you have a directory full of very large files it can be quite slow reading them all, and it would take a lot of memory and cpu time. The "max preview size" tries to give you a way to avoid that. Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Tejas Guruswamy wrote:
On 14/07/11 07:08, Per Jessen wrote:
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files?
To generate a preview the whole file has to be read and parsed. So if you have a directory full of very large files it can be quite slow reading them all, and it would take a lot of memory and cpu time. The "max preview size" tries to give you a way to avoid that.
Thanks Tejas - do you happen to know if the previews are cached? I would basically like to set a very/reasonable high limit to produce previews for virtually everything (to stop users from complaining about inconsistent previews), but if they're not cached, that's out of the question. -- Per Jessen, Zürich (13.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 14 July 2011 08:45:52, Per Jessen wrote:
Tejas Guruswamy wrote:
On 14/07/11 07:08, Per Jessen wrote:
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files?
To generate a preview the whole file has to be read and parsed. So if you have a directory full of very large files it can be quite slow reading them all, and it would take a lot of memory and cpu time. The "max preview size" tries to give you a way to avoid that.
Thanks Tejas - do you happen to know if the previews are cached? I would basically like to set a very/reasonable high limit to produce previews for virtually everything (to stop users from complaining about inconsistent previews), but if they're not cached, that's out of the question.
I think they are cached in ~/.thumbnails (not sure). However, once the previews are made they always appear immediately. I have set my max size to 75MB, because I have a lot of large files. It doesn't take very long to generate the images, but I have a quite fast computer (Intel i7 950 3GHz, 16 GB Memory). I don't know is if the thumbnails are managed actively (if they are deleted when the file is deleted or changed.) Daniel -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com erotic nudes: http://www.guapamania.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Daniel Bauer wrote:
On Thursday 14 July 2011 08:45:52, Per Jessen wrote:
Tejas Guruswamy wrote:
On 14/07/11 07:08, Per Jessen wrote:
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files?
To generate a preview the whole file has to be read and parsed. So if you have a directory full of very large files it can be quite slow reading them all, and it would take a lot of memory and cpu time. The "max preview size" tries to give you a way to avoid that.
Thanks Tejas - do you happen to know if the previews are cached? I would basically like to set a very/reasonable high limit to produce previews for virtually everything (to stop users from complaining about inconsistent previews), but if they're not cached, that's out of the question.
I think they are cached in ~/.thumbnails (not sure). However, once the previews are made they always appear immediately.
Ah yes, I was thinking about thumbnails - it looks like that is where they are kept.
I have set my max size to 75MB, because I have a lot of large files. It doesn't take very long to generate the images, but I have a quite fast computer (Intel i7 950 3GHz, 16 GB Memory). I don't know is if the thumbnails are managed actively (if they are deleted when the file is deleted or changed.)
If not, that directory would soon take up a lot of space. Well, I see no reason why not to set the preview filesize limit quite high (like you have too). What would be nice though would be to have thumbnails for remote files stored remotely/per-directory such that a 2nd user browsing a remote (group-)directory would not have to wait for the preview to be generated. Or one could perhaps even pre-generate previews at night. -- Per Jessen, Zürich (14.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 14/07/11 16:29, Tejas Guruswamy wrote:
On 14/07/11 07:08, Per Jessen wrote:
PDF documents for instance can be quite sizeable, is there any reason why I shouldn't set the preview size limit to 100Mb for local files?
To generate a preview the whole file has to be read and parsed. So if you have a directory full of very large files it can be quite slow reading them all, and it would take a lot of memory and cpu time. The "max preview size" tries to give you a way to avoid that.
Regards, Tejas
While this is not about PDF files, only today I was trying to edit a directory containing photos which I scanned in in TIFF format 3 years ago. I was editing the directory to delete photos which were duplicates and/or copies of photos which I was adjusting for flaws/contrast/etc. I am using GNOME 3 (oS 11.4) and the 'default' viewer, through Nautilus, Eye of Gnome to view and then delete/keep the images. 3 image files, which I scanned in and had no trouble with at the time, to view/rotate caused Eye of Gnome to suddenly close - it seems that it just couldn't handle the size of the files. The 3 image files were around the 400MB size. (They were 3 or 4 photos scanned in as a set which I then split up into individual photos.) Nautilus is set to 'preview' files less than 4GB big. As I mentioned, I was using Eye of Gnome thru Nautilus, but the same thing happened when I used Eye or Gnome on its own to try and view those files - Eye of Gnome simply just closed down..... BC -- Paradise is like Hell and neither is too far from you because both are creations of your mind and therefore both are already inside you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
auxsvr@gmail.com
-
Basil Chupin
-
Daniel Bauer
-
Per Jessen
-
Tejas Guruswamy