From cb42643393a7283edd6b8a61b951524e46441696 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 17 Sep 2025 16:43:24 +0200 Subject: [PATCH] Fix graphical artifact in Wacom calibration UI Resolves: RHEL-4088 --- ...calibrator-Avoid-clearing-background.patch | 26 +++++++++++++++++++ gnome-control-center.spec | 9 ++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0001-calibrator-Avoid-clearing-background.patch diff --git a/0001-calibrator-Avoid-clearing-background.patch b/0001-calibrator-Avoid-clearing-background.patch new file mode 100644 index 0000000..a152b6a --- /dev/null +++ b/0001-calibrator-Avoid-clearing-background.patch @@ -0,0 +1,26 @@ +From f447619873b2a4374a238cd6ea49b740ca0a4ced Mon Sep 17 00:00:00 2001 +From: Carlos Garnacho +Date: Wed, 17 Sep 2025 06:58:52 +0200 +Subject: [PATCH] calibrator: Avoid clearing background + +This is already implicitly done for us as part of the widget redraw. +--- + panels/wacom/calibrator/cc-clock.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/panels/wacom/calibrator/cc-clock.c b/panels/wacom/calibrator/cc-clock.c +index b39ddac..8e73d97 100644 +--- a/panels/wacom/calibrator/cc-clock.c ++++ b/panels/wacom/calibrator/cc-clock.c +@@ -89,8 +89,6 @@ cc_clock_draw (GtkWidget *widget, + gtk_widget_get_allocation (widget, &allocation); + angle = cc_clock_get_angle (CC_CLOCK (widget)); + +- cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR); +- cairo_paint (cr); + cairo_set_operator (cr, CAIRO_OPERATOR_OVER); + + /* Draw the clock background */ +-- +2.51.0 + diff --git a/gnome-control-center.spec b/gnome-control-center.spec index 05e37eb..12f22b7 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -14,7 +14,7 @@ Name: gnome-control-center Version: 40.0 -Release: 43%{?dist} +Release: 44%{?dist} Summary: Utilities to configure the GNOME desktop License: GPLv2+ and CC-BY-SA @@ -86,6 +86,9 @@ Patch25: power-handle-unknown-power-profile.patch # https://issues.redhat.com/browse/RHEL-4111 Patch26: subscription-manager-translations.patch +# https://issues.redhat.com/browse/RHEL-4088 +Patch27: 0001-calibrator-Avoid-clearing-background.patch + BuildRequires: chrpath BuildRequires: cups-devel BuildRequires: desktop-file-utils @@ -275,6 +278,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center %dir %{_datadir}/gnome/wm-properties %changelog +* Mon Dec 22 2025 Carlos Garnacho - 40.0-44 +- Fix graphical artifact in Wacom calibration UI + Resolves: RHEL-4088 + * Wed Nov 05 2025 Felipe Borges - 40.0.43 - Add translations to subscription manager interface Resolves: RHEL-4111