Bug 405105 - Inserted text annotation tooltip text barely readable
Summary: Inserted text annotation tooltip text barely readable
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.6.2
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-05 09:12 UTC by smihael
Modified: 2020-04-06 03:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Barely readable black text on blue background (40.50 KB, image/jpeg)
2019-03-05 09:12 UTC, smihael
Details
attachment-4137-0.html (2.73 KB, text/html)
2019-03-05 09:43 UTC, smihael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smihael 2019-03-05 09:12:43 UTC
Created attachment 118568 [details]
Barely readable black text on blue background

In PDF documents with insertion annotations, black text is barely readable on blue background.
Comment 1 Yuri Chornoivan 2019-03-05 09:22:22 UTC
(In reply to smihael from comment #0)
> Created attachment 118568 [details]
> Barely readable black text on blue background
> 
> In PDF documents with insertion annotations, black text is barely readable
> on blue background.

Can you try the following procedure?

1. "Settings -> Configure Okular..." in the main menu.
2. The "Annotations" page, choose "Pop-up Note", then press "Edit".
3. Click on the blue color button and choose the other color (e.g. yellow).
4. Click "OK", then "OK".

Thanks in advance for your answer.
Comment 2 smihael 2019-03-05 09:43:58 UTC
Created attachment 118569 [details]
attachment-4137-0.html

Thanks, but this doesn't solve the problem with annotations that are
already in the pdf (i.e. someone wnot using Okular sends me annotated pdf
with reviews).
A possible solution (which is used in many other pdf viewers) would be to
leave the border of the pop-up in the same colour as the mark of the
annotation (in this case dark blue), but use a different colour (for
example by decreasing the saturation).

See:
https://www.foxitsoftware.com/blog/wp-content/uploads/2016/01/comment-format-tab.png
, http://www.verypdf.com/pdfstamp/pdf-stamping-notes.png

On Tue, 5 Mar 2019 at 10:22, Yuri Chornoivan <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=405105
>
> Yuri Chornoivan <yurchor@ukr.net> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |WAITINGFORINFO
>              Status|REPORTED                    |NEEDSINFO
>                  CC|                            |yurchor@ukr.net
>
> --- Comment #1 from Yuri Chornoivan <yurchor@ukr.net> ---
> (In reply to smihael from comment #0)
> > Created attachment 118568 [details]
> > Barely readable black text on blue background
> >
> > In PDF documents with insertion annotations, black text is barely
> readable
> > on blue background.
>
> Can you try the following procedure?
>
> 1. "Settings -> Configure Okular..." in the main menu.
> 2. The "Annotations" page, choose "Pop-up Note", then press "Edit".
> 3. Click on the blue color button and choose the other color (e.g. yellow).
> 4. Click "OK", then "OK".
>
> Thanks in advance for your answer.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Yuri Chornoivan 2019-03-05 09:50:12 UTC
Ok. Seems like the text color should be chosen as a complementary to the background. Something like this:

https://doc.qt.io/archives/qq/qq26-adaptivecoloring.html
Comment 4 Yuri Chornoivan 2019-03-06 17:45:07 UTC
It looks like this is Qt problem and there is nothing to do on Okular side.

See [1] for the details and screenshots.

[1] https://phabricator.kde.org/D19542