Bug 62105 - thumbnails shouldn't be stored into the document
Summary: thumbnails shouldn't be stored into the document
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-10 14:30 UTC by Jérôme
Modified: 2014-02-26 19:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
~30% of the compressed size is the preview of this Draw document (11.40 KB, image/png)
2013-07-17 17:34 UTC, Jérôme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme 2013-03-10 14:30:28 UTC
I think that the thumbnails should be handled by the file browser cache (Nautilus, Dolphin, Windows file explorer, ...) instead of storing it into the LibreOffice document.

Storing a thumbnail :
- increases storage size (data backups, documents exchange through a network, ...)
- increases cpu usage (slow downs saving/reading a file, increases energy consumption, ...)
Comment 1 Jérôme 2013-07-14 16:53:43 UTC
I posted a comment to upstream Open Document File format committee :
https://lists.oasis-open.org/archives/office-comment/201307/msg00000.html
Comment 2 Petr Mladek 2013-07-17 12:27:52 UTC
The thumbnails are there for the user convenience. IMHO, it is only small part of the disk space and energy that is spent in this are these days. I mean all the windowmanager effects, complex graphics, and design. I am afraid that the world goes this ways.

Regarding the disk space. It would be great if you could provide some static. It wonder how big part the thumbnail takes in normal documents in average.

Regarding the cpu usage, it is questionable. In fact, the bundled thumbnail is an optimization here. It is produced only once, from already preprocessed data and then used on many systems. If it is not there and user want the thumbnails, the windowmanager would need to run LO on all systems working with the file, do the rendering and producing the thumbnail for the system cache. Again, it would be interesting to see some statistic numbers here.

Jérôme, could you please provide some statistic that would support your idea?
Comment 3 Jérôme 2013-07-17 17:34:13 UTC
Created attachment 82558 [details]
~30% of the compressed size is the preview of this Draw document
Comment 4 Jérôme 2013-07-17 17:45:43 UTC
The storage cost depends on the usage :

- the local desktop disk is often a cheap storage with possibly no backup (in enterprise for example),

- the storage of a user or a group is an expensive storage (the final archived size can be multiplied by ~20 with archives rotation, humans are paid to perform the storage and check it, a long term storage use expensive technology or it requires frequent backup refresh of older backups, ...).


I think that preview should be stored only on cheap storage. However a document file is usually stored on an expensive storage.


Note that a document sent by email will use the network bandwidth for image preview which can be easily created by the recipient. Moreover, the document will be copied into the "inbox" folder of the recipient and also into the "sent" folder of the sender. The mailboxes of the sender and the recipient will be possibly backed up (expensive storage) and they will possibly reach their size quota.


Note that there are users who never use preview image (detailed view of the Microsoft Windows file explorer for example).
Comment 5 Petr Mladek 2013-07-18 08:25:16 UTC
I understand your arguing but I still do not see the statistic. Yes, you could create a document where the preview takes 30% of the file but is it a typical document? By a statistic, I expect result from many (>100) random real life documents. It should be a rich gallery provided by different type of users. It is not easy to get them. But if you opened this bug, I expect that you had access to some storage that included many documents.

As I said, the preview was there for the user convenience. It also allows to show it without rendering the document on each user machine. Many other things are done for the user experience, e.g. formatting, pictures, animations.

Could you please provide a real statistic?
Comment 6 QA Administrators 2014-02-02 02:06:24 UTC
Dear Bug Submitter,

Please read the entire message before proceeding.

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 7 Jérôme 2014-02-02 21:47:43 UTC
I will provide statistics within the 6 coming months.
Comment 8 QA Administrators 2014-02-26 19:30:55 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided):

a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. 
Please do not:
a) respond via email 
b) update the version field in the bug or any of the other details on the top section of FDO