Bug 480086

Summary: Okular cannot save more than one new typewriter note at a time in a PDF with Arabic fonts.
Product: [Applications] okular Reporter: testingwithfire
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: aacid
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: PDF with Arabic fonts

Description testingwithfire 2024-01-20 09:29:59 UTC
Created attachment 165066 [details]
PDF with Arabic fonts

SUMMARY
***
Okular cannot save more than one new typewriter note at a time on a PDF with Arabic fonts. You have to close and reopen Okular to restore save functionality. 

***

STEPS TO REPRODUCE
1.  Open the attached document
2. Create a typewriter note
3. Save the document
4. Add another typewriter note
5. Attempt to save the document. An error will appear saying  "File could not be saved in /tmp/okular.sCZbon. Try saving to another location."

OBSERVED RESULT

During any given session, Okular cannot save more than one new typewriter note at a time on a PDF with Arabic fonts. The error you get is  "File could not be saved in /tmp/okular.sCZbon. Try saving to another location." This error appears no matter where you try to save the file. 

You have to close and reopen Okular to add another typewriter note. 

EXPECTED RESULT

Okular should be able to save as many typewriter notes per open session as are added during that session. 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:  Manjaro Vulcan 23.1.3 / Gnome, cinnamon desktop

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2024-01-31 23:01:42 UTC
Works fine for me