Bug 348296 - why pop-up notes are big? i can't manipulate them between letters. I wish to have small pop-up notes so it will be easy to manipulate them between letters
Summary: why pop-up notes are big? i can't manipulate them between letters. I wish to ...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-05-27 10:25 UTC by adilgourinda
Modified: 2023-12-04 06:46 UTC (History)
7 users (show)

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


Attachments
the problem is the space that take the pop-up (318.27 KB, image/png)
2015-09-19 00:05 UTC, sebastian
Details
the same image in a big size (58.79 KB, image/png)
2015-09-19 00:06 UTC, sebastian
Details
the solution wich i suggest (355.50 KB, image/png)
2015-09-19 00:07 UTC, sebastian
Details
in big size (99.12 KB, image/png)
2015-09-19 00:08 UTC, sebastian
Details
*** (58.79 KB, image/png)
2015-09-19 00:11 UTC, sebastian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adilgourinda 2015-05-27 10:25:43 UTC
why pop-up notes are big? i can't manipulate them between letters. I wish to have small pop-up notes so it will be easy to manipulate them between letters

Reproducible: Always


Actual Results:  
i can't add informations in text

Expected Results:  
have small pop-up notes in way that i can manipulate them between lettres
Comment 1 Albert Astals Cid 2015-07-09 20:33:10 UTC
I don't understand what your complain is, could you attach a screenshot with maybe some arrows, text added later with an image editor pointing to what you think its too big?
Comment 2 Christoph Feck 2015-07-18 21:56:48 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 sebastian 2015-09-19 00:05:23 UTC
Created attachment 94640 [details]
the problem is the space that take the pop-up
Comment 4 sebastian 2015-09-19 00:06:17 UTC
Created attachment 94641 [details]
the same image in a big size
Comment 5 sebastian 2015-09-19 00:07:20 UTC
Created attachment 94642 [details]
the solution wich i suggest
Comment 6 sebastian 2015-09-19 00:08:26 UTC
Created attachment 94643 [details]
in big size
Comment 7 sebastian 2015-09-19 00:11:33 UTC
Created attachment 94644 [details]
***
Comment 8 Andrew Crouthamel 2018-09-25 21:52:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Tobias Deiminger 2018-09-26 10:18:36 UTC
(In reply to Andrew Crouthamel from comment #8)
> This bug has been in NEEDSINFO status with no change for at least 15 days

The bug shouldn't be in NEEDSINFO. Description + screenshots made it clear enough, we can decide if the request is valid now.

Sebastian wants to annotate a very particular text location with a popup note. But the note icon is too big to fit inside white space between glyphs or lines and therefore the icon hides some text. Sebastian suggests to have smaller notes.

I see two possible solutions.

1. Make the icon resizable, just like other annotation types. I've already done a poppler patch to enable this, but after some discussion it got stale. I don't know why. Any interest to pick it up again? See https://gitlab.freedesktop.org/poppler/poppler/issues/379.

2. Implement "NoZoom" behavior for the icons (see PDF reference, "Annotations flags"), as Adobe Reader does. Then the icon is always the same size regardless of zoom level. If you zoom in enough the icon gets small enough relative to document text to fit inside gaps.

As a workaround one could use another annotation tool, like highlighter. Anyway, IMO the request is valid.
Comment 10 Oliver Sander 2018-09-26 15:00:56 UTC
I agree with what Tobias said.

Also, there is a third option: The pdf standard allows for FreeText annotations with a callout line.  That should look pretty much like the mockup in the third attachment.

Besides, Tobias' two options are not mutually exclusive, right?  Ideally we should implement both.
Comment 11 Andrew Crouthamel 2018-09-26 17:47:19 UTC
Thank you for the update. I've gone ahead and changed the status.
Comment 12 Tobias Deiminger 2018-09-26 20:25:54 UTC
(In reply to Oliver Sander from comment #10)
> Also, there is a third option: The pdf standard allows for FreeText
> annotations with a callout line.
Sadly that's not an option, because popup notes are not of subtype FreeText, but subtype Text. PDF doesn't specify callout lines for the latter, does it? Anyway, callout lines would be a nice feature for inline notes (=FreeText), it could become a separate wish.

> Besides, Tobias' two options are not mutually exclusive, right?  Ideally we
> should implement both.
Yeah, ideally we'll have them both (though, no idea what would be the preferred default in that imaginary future).

Resizing should be quite straight to implement. It's actually little change in code, proofing it with PDF reference quotes, and some thoughts about regressions in poppler downstream projects (e.g., how would evince be affected when the poppler patch gets applied).

NoZoom could become a bigger adventure, afaikt there's not much prepared for it as of now.