GNOME Bugzilla – Bug 674890
[PATCH] Fix the colord support in GtkPrinterCups when the PPD is loaded async
Last modified: 2012-04-30 10:21:43 UTC
Created attachment 212897 [details] [review] test patch, works for me After testing 3.4.0 the colord integration seems to be broken. It seems now the PPD is loaded async, or perhaps there was a race in the existing code that seems to be triggered. Using GNOME 3.4 no color profiles are shown to the user and the color profile is always marked as "Unavailable" (although they are still used). This seems to be a recent regression. The attached patch fixes the problem by refreshing the printer when details-acquired is fired, which seems an obviously correct thing to do. Please review. Thanks.
The following fix has been pushed: bf71b88 Fix the colord support in GtkPrinterCups when the PPD is loaded async
Created attachment 213085 [details] [review] Fix the colord support in GtkPrinterCups when the PPD is loaded async If the PPD is not available when the printer is loaded then the PPD options are not available and we can't get the correct qualifier to use with colord. When the PPD becomes available, refresh the profile title to reflect reality.