Bug 430545 - Typewriter annotation box width not respected
Summary: Typewriter annotation box width not respected
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 20.12.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-18 16:17 UTC by Viktor
Modified: 2021-10-15 14:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor 2020-12-18 16:17:14 UTC
SUMMARY
The typewriter annotation tool asks you to first chose a rectangular area and then write. The problem is that it respects only the height of the initially drawn box but the width gets strechted depending on the length of the text. Also the pop-up text input field does not wrap text which makes very difficult writing longer notes. 

EXPECTED RESULT

I would expect the text to always respect the width and only push the height if the font size is too large for the written text. I would also expect the text input field to behave like any other such field by wrapping the text.

Ideally, we would be able to write directly in the drawn box in the document like it is for Foxit Reader, for instance. This way we can see how the length of the text and the font size compare to the available space in real time.

SOFTWARE/OS VERSIONS
Ubuntu 20.04
has been the case for all versions of Okular so far (.deb and flatpak)
Comment 1 Andrei Popescu 2021-10-15 14:40:33 UTC
I second this report.

Wanted to put text annotations into PDF and it is quite inconvenient to do with Typewriter annotations currently. The width box cuts off lengthy text, and I think there shouldn't be any width box in the first place. Editors such as Xournal seem to be able to do that. Okular edits in-place as well, but only when the box has already been created before.