05 December 25, 14:18
Quote:25.12.025.12.1
- Fixed PDF export from markdown preview now renders in color instead of grayscale (for #3399 (opens new window))
- The printer color mode is now explicitly set to color when exporting notes as PDF
- Added comprehensive protection against overwriting notes with empty or corrupted content (for #3400 (opens new window))
- Notes with more than 100 bytes of content are now protected from being overwritten by empty files
- Protection applies when loading notes from disk (
)Code:updateNoteTextFromDisk
- Protection applies when creating notes from files (
)Code:createFromFile
- Protection applies when writing notes to disk (
)Code:storeNoteTextFileToDisk
- Protection applies when storing note text in memory (
)Code:storeNewText
- Additional safeguards prevent loading files that have suspiciously shrunk by more than 90%
- Warning messages are logged when protection is triggered to help with troubleshooting
- This prevents data loss from file corruption, sync conflicts, external program errors, and accidental deletions
- Small notes under 100 bytes can still be intentionally cleared without restrictions
- A lot of refactoring was done to fix build warnings for Qt6, while maintaining compatibility with Qt5 and older Qt6 versions (for #3403 (opens new window))
- Added more Croatian, Chinese Simplified translation (thank you, milotype, sr79368142)
Source
More at Home Site


![[-]](https://www.geeks.fyi/images/collapse.png)

