shimmerproject / Greybird

Desktop Suite for Xfce
https://shimmerproject.org
Other
413 stars 74 forks source link

Problem with bad scrollbar #279

Open Golddouble opened 4 years ago

Golddouble commented 4 years ago

How to reproduce: Please note that I have the following setting in /home/user/.config/gtk-3.0/settings.ini:

[Settings]
gtk-primary-button-warps-slider = false

First: I would like to distinguish the following two scroll modes:

Scroll mode 1: Left-click on the scroll bar, hold the mouse button and move the scroll bar to a desired position.

Scroll mode 2: Left-click far below the scrollbar and keep the mouse button pressed. It scrolls automatically page by page.

In thunar: When I want to apply "Scroll mode 1"and I don't catch the scrollbar exactly, but place the mouse a little to the right or left of it, it will fall by mistake into the "Scroll mode 2". Scrollbar Greybird Thunar

But in Featherpad, this is not a problem. There it is as desired.

This is a request to solve this behaviour in thunar, so that it is like in Featherpad. Please just broaden the behavior that we have when we hit the scrollbar exactly a little to the right and left beyond the scrollbar.

Thank you.

DarkTrick commented 2 years ago

If I understand correctly, this is the style we could use:

/* 
  Create a shadow, that works visibly as border.
  Exchange `margin` settings with an invisible border.
*/
scrollbar slider{
    margin: 0px;    
    border: 3px solid rgba(255,0,255,0.0);
    box-shadow: 0px 0px 1px 1px #828282 inset; /* real color: darken($bg_color, 30%)*/

    /* increase width/height about the amount of the shadow size */
    min-width: 9px;
    min-height: 9px;
}

Could you test that and see if it solves your problem?

How to test: