libreoffice will creat a thumbnail when open a encrypted file,the thumbnail is large enough to check the thumbnail's content,so the encrypted file will leak it's message. So,i think libreoffice shouldn't creat encrypted file's thumbnail .
I always save my passwords in encrypted ODS files,so i think it's a big bug.
*** This bug has been marked as a duplicate of bug 80755 ***