Bug 436861

Summary: Window for Text Comments is to small
Product: [Applications] okular Reporter: kojid
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: 677ee1vp, aacid
Priority: NOR    
Version: 21.04.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: This is a demo of the issue

Description kojid 2021-05-10 08:18:49 UTC
SUMMARY
Window for Text Comments is to small, cutting off text

STEPS TO REPRODUCE
1. Select Text Comment tool
2. Write text in a normal length
3. Click Ok and see that the text box is too small, cutting off text

OBSERVED RESULT
Text is being cut off

EXPECTED RESULT
The size of the box should be big enough to show all text


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ZorinOS 16 based on Ubuntu 20.04 LTS
KDE Frameworks 5.81.0
Qt 5.15.3
Comment 1 Albert Astals Cid 2021-05-10 21:43:42 UTC
Can you attach a screenshot (or screencast) of what you mean?
Comment 2 kojid 2021-05-11 06:12:55 UTC
Created attachment 138313 [details]
This is a demo of the issue
Comment 3 Albert Astals Cid 2021-05-11 17:25:49 UTC
Ah, yes, i see what you mean, usually it's the other way around, you're not expected to only click, but draw the rectangle on where you want the text to appear, and then the text is encase in it, but i guess for the "only click" case, it would make some sense to default to the size that fits.

Not as easy to do as one would think though since there's lots of layers in between.