Bug 484519

Summary: Hand written annotations (Alt+8) not working correctly usign active stylus.
Product: [Applications] okular Reporter: luca.martinelli
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version: 23.08.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Example of annotation with finger (works as expected) and with active stylus (doesn't work)

Description luca.martinelli 2024-03-26 13:03:39 UTC
Created attachment 167794 [details]
Example of annotation with finger (works as expected) and with active stylus (doesn't work)

SUMMARY
Hand written annotations (Alt+8) not working correctly when entered with active stylus on a Microsoft Surface 9 pro and Lenovo IdeaPad Flex 5.
It seems the points of the line are duplicated and offsetted, leading to a zig-zag pattern.

STEPS TO REPRODUCE
1. Try to annotate with hand writing (Alt+8) a pdf file on a Surface 9 pro, or Lenvo IdeaPad Flex 5, using the active stylus.


OBSERVED RESULT
It seems the points of the line are duplicated and offsetted, leading to a zig-zag pattern. If you annotate with a finger or a passive stylus all works as expexted (see my attachment).

EXPECTED RESULT
A smooth line

SOFTWARE/OS VERSIONS
Windows 11


ADDITIONAL INFORMATION
See my attachment