Bug 348258

Summary: Only document styles are saved when no space left on /tmp
Product: [Applications] calligrawords Reporter: Jaime Torres <jtamate>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jaime Torres 2015-05-26 17:54:28 UTC
The bug #172195 is still present in calligra words.
compiled from master, last commit
commit 522733ca7b024f48db42cd022d0f872fe72fbe16
Date:   Fri May 22 09:55:15 2015 +0200




Reproducible: Always

Steps to Reproduce:
1. open an .odt file
2. fill the /tmp directory (hopefully a tmpfs partition)
3.save as the .odf in a filesystem with space.



Actual Results:  
Only the document styles are saved.

Expected Results:  
A warning about the lack of space in /tmp or being able to write the document completely.
Comment 1 Justin Zobel 2022-10-17 00:40:51 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Jaime Torres 2022-10-17 12:36:06 UTC
Still present with calligra words compiled today (KDE frameworks Versión 5.100.0 and Qt 5.15.6).

The contents of the saved .odt file when /tmp is full are: 
unzip ../prueba.odt 
Archive:  ../prueba.odt
 extracting: mimetype                
  inflating: settings.xml            
  inflating: content.xml             
  inflating: styles.xml              
  inflating: meta.xml                
  inflating: Thumbnails/thumbnail.png  
  inflating: META-INF/manifest.xml

But content.xml only contains the office:automatic-styles
 </office:automatic-styles>
</office:document-content>