Results 1 to 3 of 3

Thread: LibreOffice scroll bars

  1. #1
    Join Date
    Dec 2008
    Location
    NSW, Australia
    Posts
    65

    Default LibreOffice scroll bars

    And another grump about LibreOffice 6, or at least the Leap 42.3 repository version... the black arrows at each end of the scroll bars have disappeared. Does anyone know how to get them back?

    LO doesn't seem to honour the scroll-related variables set in the KDE system-settings either, though it does honour others. On this system at least it scrolls by six lines with the mouse-wheel scroll distance to '2' in the system settings.

    It's nice to have window decorations more or less like the ones set in the system settings, but I'm now wondering whether I should go back to the ODF version.

    DL

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,585
    Blog Entries
    14

    Default Re: LibreOffice scroll bars

    Systemsettings - Styles - GNOME (GTK) styles. Pick another one than the stock Breeze. LO is not built with Qt, like KDE, but with GTK.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Dec 2008
    Location
    NSW, Australia
    Posts
    65

    Default Re: LibreOffice scroll bars

    Quote Originally Posted by Knurpht View Post
    Systemsettings - Styles - GNOME (GTK) styles. Pick another one than the stock Breeze. LO is not built with Qt, like KDE, but with GTK.
    Ahh, many thanks for that prod...! In my meanderings I've heard "GTK" mentioned in the same breath as "LibreOffice" a few times but only have a hazy idea of the architecture behind it all.

    LibreOffice 6 appears to use GTK-3. None of the installed themes in Leap 42.3 restored the scrollbar arrows, however I've discovered that /usr/share/themes/Breeze/gtk-3.0/gtk.css can be edited to change the lines containing "GtkScrollbar":
    Code:
      scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
        -GtkScrollbar-has-backward-stepper: false;
        -GtkScrollbar-has-forward-stepper: false;
        background: none; }
    so the Breeze steppers are both true.

    et voilà, arrows!! What's more, they appear to honour the mouse scroll distance set in the system settings.

    DL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •