Bug 358059

Summary: Inline note text not fully visible
Product: [Applications] okular Reporter: Simone Gaiarin <simgunz>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: gassaf
Priority: NOR    
Version: 0.24.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Example of not fully visible text in inline note
Too big rectangle

Description Simone Gaiarin 2016-01-16 09:38:40 UTC
Sometimes if the rectangle to define the inline note that we draw is too small the text is not fully visible.

See example:
http://imagebin.ca/v/2TdonipPjwXU

Reproducible: Always

Steps to Reproduce:
1. Draw a very small rectangle
2. Type a lot of text
3.

Actual Results:  
Text partially hidden

Expected Results:  
Text fully visible
Comment 1 Simone Gaiarin 2016-01-16 10:03:26 UTC
Created attachment 96672 [details]
Example of not fully visible text in inline note
Comment 2 Simone Gaiarin 2017-05-03 07:10:11 UTC
Given that someone gave some love to the inline note I bump this bug which is related.
Comment 3 Gilbert Assaf 2017-07-23 11:50:45 UTC
If you hover over such a rectangle with your mouse (Version 1.0.3), you can see the whole text. 
Otherwise this issue could only be fixed, if a minimum rectangle size, depending on the containing text is introduced. I bet this will upset some users.
Comment 4 Simone Gaiarin 2017-07-23 12:05:19 UTC
When I wrote opened the bug I think that the main problem was that:
- if the user drew a too small rectangle, the resulting rectangle produced by okular was too small, so the text was hidden
- the inline note was not resizable, so one had to keep the text half hidden

I've just tested with Okular 1.1.3 and now:
- the inline note is resizable 
- the default rectangle size produced by okular when the user draws a too small rectangle, is high enough to show all the text.
(Then a user can resize it down and hide the text, which is fine).

From this point of view the bug seems solved.

Now there is another minor bug, that is that the rectangle produced by okular is way too big (see attachment), but this is another bug.
Comment 5 Simone Gaiarin 2017-07-23 12:05:45 UTC
Created attachment 106795 [details]
Too big rectangle