Bug 449725 - Black Writing in blue annotation box not readable
Summary: Black Writing in blue annotation box not readable
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2022-02-07 00:55 UTC by Malte
Modified: 2024-03-09 12:21 UTC (History)
2 users (show)

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


Attachments
blue post-it note, unreadable (8.51 KB, image/png)
2022-02-07 00:55 UTC, Malte
Details
said file (46.62 KB, application/pdf)
2022-02-22 23:09 UTC, Albert Astals Cid
Details
Screenshot how annotation is displayed for me (125.94 KB, image/png)
2022-02-25 09:19 UTC, Malte
Details
Comparison of Okular, Evince, and Master PDF Editor (27.23 KB, application/pdf)
2023-11-06 16:31 UTC, Juergen Spitzmueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte 2022-02-07 00:55:12 UTC
Created attachment 146368 [details]
blue post-it note, unreadable

Hello and thanks for the great work upfront!

When I receive documents with blue annotations in the text (annotated with different software), which open as a blue post-it note, the black font on the blue pop-up is not readable until highlighted by selecting the text (screenshot attached).
This is obviously annoying to do for multiple annotations and unfortunately I did not find a way to change colors (the accessibility options unfortunately do not change the colors of the pop-ups).

Is there any fix to this? I experienced it on Ubuntu Mate 20.04 (but a colleague on the main Ubuntu as well), Okular versions 19 from the ppa and 20.12.3 from snapcraft. Building from source unfortunately fails for me (complaining that it doesn't find installed KF5 packets). 

I am happy to supply any helping information and hope this can be fixed (in the future).
Best regards
Malte
Comment 1 Albert Astals Cid 2022-02-07 17:31:58 UTC
Can you share a document that shows such a problem?
Comment 2 Bug Janitor Service 2022-02-22 04:36:44 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
mark the bug 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 3 Malte 2022-02-22 14:27:17 UTC
Hello Albert, 
thanks for your reply! Sorry that it took me so long to get back with the requested document. I don't have access to the software personally and wasn't able to share the document I always got comments in. But now I have an example with different annotations from acrobat adobe. Firefox and Adobe itself display the comments properly, but in Okular it is very hard to read unless highlighted by text selection. 
For blue post-it notes, okular lets you change the background color (although this is more work than highlighting the text), but this type of comment is not categorized it seems. 

I uploaded a document and screenshots to my nextcloud here:
https://lenhart.ddnss.de/nextcloud/s/fwj7cgsDzx9dHe2
(I didn't find a way to attack documents directly here in the bug tracker)

Apologies again for the long waiting time, and I hope this helps.
Comment 4 Albert Astals Cid 2022-02-22 23:09:41 UTC
Created attachment 147064 [details]
said file
Comment 5 Albert Astals Cid 2022-02-22 23:11:27 UTC
Honestly i can read it relatively well, but i can also see it's not optimal.

Also you're comparing apples to oranges, you're showing Adobe's tooltip and Okular's edit dialog. Okular's tooltip is also better at readibility.
Comment 6 Malte 2022-02-25 09:18:50 UTC
Hi,
yes, that is true, the tooltips in Okular are also better readable (I only discovered them after I upgraded to 20.12, have they been there before? Unfortunately the Ubuntu 20.04 LTS ships older versions, and I wasn't able to compile the newest one from source due to some arcane dependencies in reasonable time..)

And yes, it _is_ possible to read it black on blue, but that might also depend on the used monitor and how good ones eyes and text recognition skills are. Without zooming into the screenshot (don't know if you saw that in my nextcloud, but I just discovered the attachment option here again and will upload a screenshot how I see the post-it note), I have to get my head as close as 30cm to the monitor in order to read it properly (and I don't have a particular bad sight I'd say).

I don't know if there is an easy fix for this, unfortunately I don't have the time/skill to investigate myself at the moment. 
Thanks for having a look :-)
Comment 7 Malte 2022-02-25 09:19:55 UTC
Created attachment 147111 [details]
Screenshot how annotation is displayed for me

Annotation how I see it, Okular 20.12.x on Ubuntu 20.04
Comment 8 Juergen Spitzmueller 2023-11-06 16:31:24 UTC
Created attachment 162903 [details]
Comparison of Okular, Evince, and Master PDF Editor

I think a rather straighforward way to address this is to make the text widget part of the annotation use a lighter color or even white, as is the case in many other PDF viewers (see evince and Master PDF Editor here for comparison; Acrobat also has a white text field).

I agree with the OP that the text in the blue notes (and also in some other of the darker colors) is hardly readable.