After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750375 - Text selection is unreadable when a line is selected by double-clicking in the margin
Text selection is unreadable when a line is selected by double-clicking in th...
Status: RESOLVED INCOMPLETE
Product: evince
Classification: Core
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-04 03:32 UTC by charlesaymard
Modified: 2017-07-10 12:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description charlesaymard 2015-06-04 03:32:39 UTC
There is a bug in evince 3.16.1-1 on Arch using the Gtk theme numix-frost-light.

When selecting a section of black on white text, the text is rendered white and the selection highlighting background blue.
But when selecing a line for highlighting the text appears grey and is unreadable.
However, this only happens when selecting the line by double-clicking the right margin, but not when double-clicking the left margin, in which case the highlighting is correct.

screenshot of the right behaviour: https://userpage.fu-berlin.de/~danielro/correct-highlighting.png
and of the wrong: https://userpage.fu-berlin.de/~danielro/incorrect-highlighting.png

(In them the colours aren't quite true, but the important features come out.)

The document used is https://userpage.fu-berlin.de/~danielro/charity_simple-comments_RB.pdf
Comment 1 Germán Poo-Caamaño 2015-10-16 17:20:12 UTC
Could this be an issue in the theme?
Comment 2 charlesaymard 2015-10-16 21:35:32 UTC
I just tried several gtk themes (adwaita, high contrast, numix, arc) and the behabiour was consistent (that is on 3.18.0 now)
Comment 3 Germán Poo-Caamaño 2015-10-16 21:38:24 UTC
Thanks for the update. I am closing this bug as obsolete.
Comment 4 charlesaymard 2015-10-16 22:35:39 UTC
sorry for the ambiguity, i mean consistently between themes but broken
Comment 5 Germán Poo-Caamaño 2015-10-16 22:54:54 UTC
Ok, I see the issue now.

It has nothing to do the annotations, only with the way you select a line:

1. If you select a line within the boundaries of text, it works as expected.
2. If you select a line by double-clicking outside the boundaries (margin) of the text, you get a rectangle hiding the text.
Comment 6 Germán Poo-Caamaño 2015-10-16 22:56:23 UTC
Curiously, the odd behaviour happens when double-clicking on the right side. On the left side works well.
Comment 7 Germán Poo-Caamaño 2015-10-16 23:02:18 UTC
This is actually a bug in poppler (the library used by Evince to render PDF). Trying the same thing with poppler-glib-demo, the behaviour is the same.

Please, may you file a bug in poppler' bugzilla?
https://bugs.freedesktop.org/enter_bug.cgi?product=poppler
Comment 8 Germán Poo-Caamaño 2016-09-30 11:10:19 UTC
The document is no longer available. Did you file the bug in Poppler? (I cannot find it).
Comment 9 Alexandre Franke 2017-07-10 12:31:58 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!