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 791158 - gcm fails to show example images
gcm fails to show example images
Status: RESOLVED FIXED
Product: gnome-color-manager
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-color-manager-maint
gnome-color-manager-maint
: 791878 792546 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-12-03 10:25 UTC by mattia.b89
Modified: 2018-01-15 21:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Set PKGDATADIR to gnome-color-manager (1.05 KB, patch)
2017-12-03 20:14 UTC, Piotr Drąg
committed Details | Review

Description mattia.b89 2017-12-03 10:25:22 UTC
when I go into gnome-control-center -> devices -> colour -> view details (of any device listed) -> from sRGB/to sRGB, no image is shown.

Log tells me:
$ gcm-viewer[1901]: failed to load viewer-example-00.png: Failed to open file '/usr/share/gnome-software/figures/viewer-example-00.png': No such file or directory

in fact, they are in the gcm folder (which logically should they be...)

$ find /usr/share/gnome-color-manager/figures/
/usr/share/gnome-color-manager/figures/
/usr/share/gnome-color-manager/figures/viewer-example-01.png
/usr/share/gnome-color-manager/figures/viewer-example-02.png
/usr/share/gnome-color-manager/figures/viewer-example-03.png
/usr/share/gnome-color-manager/figures/viewer-example-00.png

I'm using Arch Linux x86_64, gnome 3.26.2

googling I found also this bug report, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878648
Comment 1 Piotr Drąg 2017-12-03 20:14:03 UTC
Created attachment 364865 [details] [review]
build: Set PKGDATADIR to gnome-color-manager

It’s most probably because of a copy-paste error in meson.build. This simple on-liner patch should fix it, although I haven’t tested it.
Comment 2 Piotr Drąg 2017-12-05 16:01:44 UTC
Comment on attachment 364865 [details] [review]
build: Set PKGDATADIR to gnome-color-manager

Richard accepted it on IRC, pushed: https://git.gnome.org/browse/gnome-color-manager/commit/?id=275b4ef55dd95b3842724a94f77115f87f79f8c2

It will be included in the next release (3.28). Please reopen the bug if it’s still broken then.
Comment 3 Piotr Drąg 2017-12-22 17:48:06 UTC
*** Bug 791878 has been marked as a duplicate of this bug. ***
Comment 4 Piotr Drąg 2018-01-15 21:23:28 UTC
*** Bug 792546 has been marked as a duplicate of this bug. ***