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 676194 - "Set for all users" breaks color correction
"Set for all users" breaks color correction
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Color
3.4.x
Other Linux
: Normal major
: ---
Assigned To: Richard Hughes
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-16 20:44 UTC by Cosimo Cecchi
Modified: 2012-05-17 19:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cosimo Cecchi 2012-05-16 20:44:55 UTC
To reproduce:
- add a color profile to a display in the Color panel of System Settings
- click on "Set for all users", a polkit dialog will ask for your password and complete succesfully
- log out
- the GDM screen doesn't have color correction (first bug, but not the interesting one)
- log in as your previous user
- there's no color correction on the display

Opening up the Color panel again shows no profiles at all for the display; in .xsession-errors I see this line repeated 4-5 times after login

(gnome-settings-daemon:5678): color-plugin-WARNING **: failed to set xrandr-Lenovo Group Limited gamma tables: failed to generate vcgt

and when I open up the Color panel I see

(gnome-control-center:5979): color-cc-panel-WARNING **: /var/lib/colord/icc/GCM - LENOVO - 7465CTO (2010-08-09).icc is not usable by this user

Removing the file from /var/lib/colord/icc and restarting colord restores things back to normal (i.e. the session profile is applied again and the Color panel shows the list of available profiles for the display).
Comment 1 Richard Hughes 2012-05-16 21:26:51 UTC
Hopefully this fixes things (in colord):

commit c786626694a2a286b55e1f09424b248bbae93584
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed May 16 22:05:40 2012 +0100

    Fix InstallSystemWide() by not writing a private file
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=676194

:100644 100644 8f84178... 40a33c1... M  src/cd-profile.c
Comment 2 Cosimo Cecchi 2012-05-17 19:41:42 UTC
Thanks for the quick fix, works fine with git master.
Closing this - I opened bug 676271 and bug 676273 for two other related bugs.