Bug 125390 - Gtk3 theme settings with small sizes for scrollbars make them unusable
Summary: Gtk3 theme settings with small sizes for scrollbars make them unusable
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha1+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Scrollbars gtk3-themeing
  Show dependency treegraph
 
Reported: 2019-05-20 14:13 UTC by Ilhan Yesil
Modified: 2020-02-01 15:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample gtk file (190.37 KB, text/css)
2019-07-05 13:58 UTC, Ilhan Yesil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilhan Yesil 2019-05-20 14:13:57 UTC
Description:
If too small sizes are defined in a Gtk3 theme for scrollbars, the scrollbar can not be chatched by the mouse, if moving it over the thump.

Steps to Reproduce:
1. Choose a gtk3 theme, where small sizes are defined for scrollbars. If not available, change the theme breeze for example:
Open file /usr/share/themes/Breeze/gtk-3.20/gtk.css,
search for the section "Scrollbars" and set min-width and min-height to 5px

2. Open writer and try to grab the thump.


Actual Results:
Directly over the thump, it is not possible to use the mouse. Scrolling is only possible by mouse-wheels.

Expected Results:
The mouse should be able to grab the thump and move it by holding the left mouse button.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco Faulí 2019-06-10 16:10:06 UTC
Hello Ilhan,
Could you please mention a few gtk3 themes we could you for this test ?
Comment 2 Ilhan Yesil 2019-07-05 13:58:21 UTC
Created attachment 152592 [details]
Sample gtk file

This is my installation file /usr/share/themes/Breeze/gtk-3.20/gtk.css
where at line 3133 and 3134, I've changed the values from 14px to 5px.

    min-width: 14px;
    min-height: 14px;

to 

    min-width: 5px;
    min-height: 5px;
Comment 3 QA Administrators 2019-07-06 02:47:46 UTC Comment hidden (obsolete)
Comment 4 Kevin Suo 2020-02-01 15:08:51 UTC
I already encountered the same issue some days ago with gtk3 on Ubuntu 18.04 LTS, not only on Writer, but also in Calc. The horizental scroll bar in Calc is so tiny that I always clicked to the wrong position.

Now, I switched one of my laptap to Fedora 31. On Fedora 31, the scroll bar works much better.

Ubuntu 18.04 uses Gnome 3.24, while Fedora 31 uses Gnome 3.34.