[FEATURE REQUEST] Please add an option to control the new blur effect applied to buttons of minimized windows in tasklist widget
Dear XFCE developers,
Recently (I think since 4.16) the buttons belonging to minimized windows in tasklist get blur applied to them.
I find it much more difficult to read the text on the buttons with this effect.
I have been rebuilding xfce4-panel with the following patch to but I have to do this after every OS package update, which is unpleasant.
--- xfce4-panel-4.16.2.orig/plugins/tasklist/tasklist-widget.c
+++ xfce4-panel-4.16.2/plugins/tasklist/tasklist-widget.c
@@ -2655,6 +2655,7 @@ xfce_tasklist_button_icon_changed (WnckW
}
/* create a spotlight version of the icon when minimized */
+ /*
if (!tasklist->only_minimized
&& tasklist->minimized_icon_lucency < 100
&& wnck_window_is_minimized (window))
@@ -2667,6 +2668,7 @@ xfce_tasklist_button_icon_changed (WnckW
if (gtk_style_context_has_class (context, "minimized"))
gtk_style_context_remove_class (context, "minimized");
}
+ */
gtk_image_set_from_pixbuf (GTK_IMAGE (child->icon), pixbuf);
}
@@ -2700,6 +2702,7 @@ xfce_tasklist_button_name_changed (WnckW
else if (wnck_window_is_shaded (child->window))
name = label = g_strdup_printf ("=%s=", name);
}
+ /*
else
{
if ((!child->tasklist->only_minimized
@@ -2707,6 +2710,7 @@ xfce_tasklist_button_name_changed (WnckW
|| wnck_window_is_shaded (child->window))
gtk_style_context_add_class (ctx, "label-hidden");
}
+ */
gtk_label_set_text (GTK_LABEL (child->label), name);
gtk_label_set_ellipsize (GTK_LABEL (child->label), child->tasklist->ellipsize_mode);
Please, provide an option that would allow achieving the exact effect of this patch (even a hidden option accessible only by xfce4-settings-editor is perfectly fine).
I am aware of the label-decorations option, but it has a side effect of adding "[" and "]" around button labels, so it is not optimal.