Bug 488376 - Okular not displaying some de facto standard annotation icons
Summary: Okular not displaying some de facto standard annotation icons
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 24.05.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 18:26 UTC by nilskemail+kde
Modified: 2024-06-12 16:42 UTC (History)
2 users (show)

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


Attachments
A screenshot of the de-facto standard annotation icons which are not supported (42.67 KB, image/png)
2024-06-11 18:26 UTC, nilskemail+kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nilskemail+kde 2024-06-11 18:26:30 UTC
Created attachment 170385 [details]
A screenshot of the de-facto standard annotation icons which are not supported

SUMMARY
Okular does not display the Check, Star, RightArrow, RightPointer, UpArrow, UpLeftArrow, and CrossHairs icons

STEPS TO REPRODUCE
1. Open http://mirrors.ctan.org/macros/latex/contrib/pdfcomment/doc/pdfcomment.pdf
2. Scroll to section 1.2.4

OBSERVED RESULT
Of the non-mandatory icons, only Circle and Cross are shown (though the others are clickable - so they are simply invisible).

EXPECTED RESULT
The other icons should also be supported, or at least a fallback icon should be displayed.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
- Chromium simply displays them with the Comment icon.
- PDF.js displays them as "[Star Annotation]" etc.
Comment 1 Sune Vuorela 2024-06-12 07:23:55 UTC
Hi

This is a bug in Poppler, and can and should be fixed there.

https://gitlab.freedesktop.org/poppler/poppler/-/blob/master/poppler/Annot.cc#L2690 is where extensions needs to happen and matching icons in whatever language this is https://gitlab.freedesktop.org/poppler/poppler/-/blob/master/poppler/Annot.cc#L2636 needs to be created.
Comment 2 Albert Astals Cid 2024-06-12 15:31:37 UTC
As Sune says nothing to change in Okular.
Comment 3 nilskemail+kde 2024-06-12 16:42:22 UTC
Reported upstream as https://gitlab.freedesktop.org/poppler/poppler/-/issues/1492