Bug 475244 - (Request) Improve freehand line rendering during writing and group lines into one annotation
Summary: (Request) Improve freehand line rendering during writing and group lines into...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 23.08.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-05 14:05 UTC by italo
Modified: 2023-10-05 14:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description italo 2023-10-05 14:05:49 UTC
SUMMARY
***
To me, Okular is almost perfect as a pdf reader and annotator, but the way the freehand line just doesn't render properly while writing can be a bit annoying (I used to correct some homework using Okular and writing sentences felt strange, even with a stylus) and having a new annotation for every stroke instead of grouping them into just one feels strange while it also fills the document with a lot of blank annotations.

I wonder how many people actually use this feature and what for. Maybe the way it works can be a bit annoying just to me and I assume changing these behaviors or even adding others features like an eraser could be challenging or even pointless considering everyone's use case. I don't understand how complex of a change would be to alter the backend of how the freehand works, so I leave this here, but I believe that theses changes could add value to the program, even improving the experience of a future mobile version.

I hope this can be well received, as it is my first time writing a request. I wish all the best to the KDE devs and appreciate all the effort put into these apps.
***

STEPS TO REPRODUCE
1. Open any PDF file
2. Select freehand annotation tool
3. Use a mouse or stylus to create some lines or write a word that needs more than one line

OBSERVED RESULT
*While the line is created, it isn't smooth and doesn't have any anti-aliasing. After the line is finished, it is rendered properly, but the result is unpredictable during the writing. 
*If another line is created, it will be considered a new annotation, making a signature or sentence, for example, be considered a lot of annotations instead of just one.   

EXPECTED RESULT
* The line could be properly rendered during the writing of the line instead of the end.
* All the lines in the same page or during the time that the freehand tools is selected could be grouped into just one note or there could be an option to group a selection of lines into one note.

SOFTWARE/OS VERSIONS
Linux: 6.5.5-arch1-1
KDE Plasma Version:  5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Display server protocol: Wayland