summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRik Mills <rikmills@kubuntu.org>2017-03-20 11:37:20 (GMT)
committerRik Mills <rikmills@kubuntu.org>2017-03-20 11:37:20 (GMT)
commit484c2edd702d2c80b111614348ab023b949d8ad7 (patch)
treeaeb90312d3dea4b5fe4bcedca0ff9aaa41d49b94
parentc619ebb05e750571ea72c6f669ca2bcd6ffe50e9 (diff)
Set no stepper button for GTK3 scrollbars - temp fix for firefox 52 onwards
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/kubuntu_no_gtk3_scrollbar_stepper.patch38
-rw-r--r--debian/patches/series1
3 files changed, 46 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b357003..a096f76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+breeze-gtk (5.9.3-0ubuntu2) UNRELEASED; urgency=medium
+
+ * Set no stepper button for GTK3 >= 3.20 scrollbars. Workaround for
+ broken Firefox scrollbars in Firefox 52 onwards.
+
+ -- Rik Mills <rikmills@kubuntu.org> Mon, 20 Mar 2017 11:35:28 +0000
+
breeze-gtk (5.9.3-0ubuntu1) zesty; urgency=low
* New upstream bugfix release (5.9.3)
diff --git a/debian/patches/kubuntu_no_gtk3_scrollbar_stepper.patch b/debian/patches/kubuntu_no_gtk3_scrollbar_stepper.patch
new file mode 100644
index 0000000..b36f1b4
--- /dev/null
+++ b/debian/patches/kubuntu_no_gtk3_scrollbar_stepper.patch
@@ -0,0 +1,38 @@
+Description: Set no stepper button for GTK3 scrollbars
+ This is a temporary workaround to mitigate broken scrollbars in
+ mozilla GTK3 based applications in GTK3 >= 3.20. Firefox v52
+ onwards etc.
+Author: Rik Mills <rikmills@kubuntu.org>
+Bug: https://bugs.kde.org/show_bug.cgi?id=377008
+Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1343802
+
+Index: breeze-gtk-5.9.3/Breeze-dark-gtk/gtk-3.20/gtk.css
+===================================================================
+--- breeze-gtk-5.9.3.orig/Breeze-dark-gtk/gtk-3.20/gtk.css
++++ breeze-gtk-5.9.3/Breeze-dark-gtk/gtk-3.20/gtk.css
+@@ -3123,8 +3123,8 @@
+ * Scrollbars *
+ **************/
+ scrollbar {
+- -GtkScrollbar-has-backward-stepper: true;
+- -GtkScrollbar-has-forward-stepper: true;
++ -GtkScrollbar-has-backward-stepper: false;
++ -GtkScrollbar-has-forward-stepper: false;
+ background-color: #31363b;
+ border-width: 3px 0px;
+ border-color: #31363b;
+Index: breeze-gtk-5.9.3/Breeze-gtk/gtk-3.20/gtk.css
+===================================================================
+--- breeze-gtk-5.9.3.orig/Breeze-gtk/gtk-3.20/gtk.css
++++ breeze-gtk-5.9.3/Breeze-gtk/gtk-3.20/gtk.css
+@@ -3123,8 +3123,8 @@
+ * Scrollbars *
+ **************/
+ scrollbar {
+- -GtkScrollbar-has-backward-stepper: true;
+- -GtkScrollbar-has-forward-stepper: true;
++ -GtkScrollbar-has-backward-stepper: false;
++ -GtkScrollbar-has-forward-stepper: false;
+ background-color: #eff0f1;
+ border-width: 3px 0px;
+ border-color: #eff0f1;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..264542d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_no_gtk3_scrollbar_stepper.patch