Bug 358059 - Inline note text not fully visible
Summary: Inline note text not fully visible
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.24.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 09:38 UTC by Simone Gaiarin
Modified: 2017-07-23 12:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example of not fully visible text in inline note (14.61 KB, image/png)
2016-01-16 10:03 UTC, Simone Gaiarin
Details
Too big rectangle (91.13 KB, image/png)
2017-07-23 12:05 UTC, Simone Gaiarin
Details

Note You need to log in before you can comment on or make changes to this bug.
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