Bug 465683

Summary: RTL annotation typing is slow and consumes high CPU
Product: [Applications] okular Reporter: medin <med.medin.2014>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 22.12.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: RTL annotation typing is slow and consumes high CPU

Description medin 2023-02-13 19:41:08 UTC
Created attachment 156204 [details]
RTL annotation typing is slow and consumes high CPU

Typing in Arabic takes long time for the letters to appear and if you type fast the whole Okular becomes frozen and starts to consume high CPU, and you should wait for several seconds to see the typed letters. See attached video for more info.

NB: At random times, if you type quickly multiple RTL annotations, Okular enters a state of memory leak and you should kill the entire app to use it again.