https://bugs.kde.org/show_bug.cgi?id=414763

            Bug ID: 414763
           Summary: Scrollbar width change on hover changes GNOME Terminal
                    text area size
           Product: Breeze
           Version: 5.17.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: gtk theme
          Assignee: uhh...@gmail.com
          Reporter: kenn...@whitecape.org
  Target Milestone: ---

SUMMARY

Using the Breeze-Dark GTK theme, the vertical scrollbar in GNOME Terminal seems
to be 3 pixels wide.  Hovering over it increases the size to 6 pixels wide. 
This causes the available text area in my terminal to shrink by a single
letter, making the terminal re-layout the text while hovered over the
scrollbar.

There are two main effects:

1. Passing the mouse over the scrollbar causes the terminal contents to jump
(original, different while over scrollbar, back to original state again).
2. Grabbing the scrollbar handle is difficult because the narrower terminal
leads to more lines being used for the text, which means the scrollbar handle
actually gets longer or shorter.

STEPS TO REPRODUCE
1. Set Breeze-Dark under GNOME Tweaks > Appearance
2. Open GNOME Terminal
3. Type ls a few times to fill up the terminal so there is a scrollbar
4. Hover over the scrollbar with the mouse.

OBSERVED RESULT

Scrollbar becomes wider, text area becomes 1 character narrower, text jumps
wildly.

EXPECTED RESULT

Text does not jump while hovered over scrollbar.

SOFTWARE/OS VERSIONS
OS: Arch Linux [testing]
KDE Plasma Version: 5.17.3
Qt Version: 5.13.2
GTK Version: 3.24.12+32+g39e28ab933

ADDITIONAL INFORMATION

Editing /usr/share/themes/Breeze-Dark/gtk-3.0/gtk.css to change min-width from
3px to 6px in the scrollbar sections fixes the issue, by making the scrollbar
never change size.  I assume resizing is an intentional breeze style choice,
though, so maybe there's a better fix that preserves that behavior.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to