Bug 389709 - LibreOffice (gtk3) page scrollbars broken with breeze-gtk ('regular'; Breeze-Dark works fine)
Summary: LibreOffice (gtk3) page scrollbars broken with breeze-gtk ('regular'; Breeze-...
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 5.11.95
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: scionicspectre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-31 17:37 UTC by Andreas Sturmlechner
Modified: 2018-08-30 05:07 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.12.7
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner 2018-01-31 17:37:13 UTC
Dragging the scrollbar does not work, it will light up on click but does not move a bit. Left-clicking on the scrollbar to scroll it page up or down only works in a very narrow area near the scrollbar, it is the same vertically and horizontally. This only happens with the combination of regular 'Breeze' theme and a particular left-click setting, see below.

Reproduced with LO-5.4.4.2 as well as LO-6.0.0.3, at least in Calc and Writer, same in breeze-gtk-5.11.5 as well as breeze-gtk-5.11.95.

Steps to reproduce:
1.: Switch GTK3 Theme to Breeze ('regular')
2.: Switch Behaviour of 'On left-clicking the scroll bar:' to 'Scroll one page up/down' if it isn't the default
3.: Start libreoffice (use 'SAL_USE_VCLPLUGIN=gtk3 libreoffice' if default is kde)
Comment 1 Elia Devito 2018-02-28 17:08:15 UTC
identical behaviour on fedora

news?
Comment 2 Yann-Kaelig 2018-03-28 16:32:30 UTC
Same issue.

Operating System: Obarun (Arch)

KDE Plasma Version: 5.12.3
KDE Frameworks Version: 5.44.0
Qt Version: 5.10.1
OS Type: 64-bit

LibreOffice: 6.0.2-2 ( Writer, Calc, Draw, Impress, MAth )
Breeze-gtk 5.12.3-1
Comment 3 Alexander Kernozhitsky 2018-08-27 15:20:44 UTC
As for me, the following patch fixed the issue:

--- gtk.css.old 2018-07-31 15:32:44.000000000 +0300
+++ gtk.css     2018-08-27 18:19:33.273586541 +0300
@@ -3189,8 +3189,8 @@
   border-color: @theme_bg_color;
   margin: 0px; }
   scrollbar button {
-    min-width: 5px;
-    min-height: 5px;
+    min-width: 14px;
+    min-height: 14px;
     margin: 0px;
     padding: 0px 0px;
     border: none;
Comment 4 Alexander Kernozhitsky 2018-08-27 15:22:27 UTC
BTW, the sizes of scrollbar button are OK in breeze-dark, so the issue is not reproducible there.
Comment 5 Andrius Štikonas 2018-08-27 23:40:18 UTC
(In reply to Alexander Kernozhitsky from comment #4)
> BTW, the sizes of scrollbar button are OK in breeze-dark, so the issue is
> not reproducible there.

Can you submit the patch to phabricator? Otherwise, I think it might take longer until breeze developers merge it.
Comment 6 Alexander Kernozhitsky 2018-08-28 05:12:40 UTC
> Can you submit the patch to phabricator? Otherwise, I think it might take longer until breeze developers merge it.

Done. Created https://phabricator.kde.org/D15110.
Comment 7 Nate Graham 2018-08-30 05:00:52 UTC
Git commit 43f2cb7c2334f5438d20ebf1ac04432a18ce5edf by Nathaniel Graham, on behalf of Alexander Kernozhitsky.
Committed on 30/08/2018 at 05:00.
Pushed by ngraham into branch 'Plasma/5.12'.

Fix scrollbars in LibreOffice

Summary:

Reviewers: davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D15110

M  +2    -2    Breeze-gtk/gtk-3.20/gtk.css

https://commits.kde.org/breeze-gtk/43f2cb7c2334f5438d20ebf1ac04432a18ce5edf