Bug 96282 - Selections demo: different background colors have no effect on GtkColorButton's chosen color
Summary: Selections demo: different background colors have no effect on GtkColorButton...
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-30 22:49 UTC by Jakub Alba
Modified: 2018-08-21 10:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
one.pdf (2.56 MB, application/download)
2016-05-30 22:49 UTC, Jakub Alba
Details
two.pdf (914.45 KB, application/download)
2016-05-30 22:50 UTC, Jakub Alba
Details

Description Jakub Alba 2016-05-30 22:49:28 UTC
Created attachment 124195 [details]
one.pdf

If I run glib/demo/poppler-glib-demo and open the tab "Selections", then no matter what PDF I open, the foreground color (black) and background color (fully transparent black) are always the same. You can compare e.g. first pages of one.pdf and two.pdf. Do I get it wrong or this really doesn't work?
Comment 1 Jakub Alba 2016-05-30 22:50:01 UTC
Created attachment 124196 [details]
two.pdf
Comment 2 Jakub Alba 2016-05-30 23:01:52 UTC
Preferably the fix should get rid of the warning about gtk_style_context_get_background_color(). Matthias Clasen (GTK+ dev) also advised on his blog to change the way of using gtk_style_get_context_color(), but after doing as he advised, I don't see a difference.
Comment 3 GitLab Migration User 2018-08-21 10:47:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/378.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.