Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Breeze for GTK Breeze for GTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • Breeze for GTKBreeze for GTK
  • Merge requests
  • !19

Merged
Created Mar 22, 2021 by Marco Rebhan@dblsaikoContributor

Use colors more similar to the Qt theme for GTK2 scrollbars

  • Overview 0
  • Commits 2
  • Changes 1

The scrollbar should use View Inactive Text/View Hover Decoration colors and a transparent version of the View Foreground color as it does for the Qt style. This fixes the scrollbar being "inverted" (see comparison below) and instead uses the mouseover the

Now (Qt: left to right, unfocused, unfocused mouseover bar, focused, focused mouseover bar, and below GTK: unfocused, focused)

This is a comparison of the Qt version (left to right: unfocused, unfocused mouseover, focused, focused mouseover), the GTK2 theme this MR creates (left to right: unfocused, focused; it doesn't seem possible to make it more accurate to the Qt behavior) and the current upstream GTK2 behavior (same as above) for two different themes: Breeze and Hello Dark. It's way more obvious for the latter that something is different because the colors are swapped.

image

I'd say this is close enough, and an improvement over what was before.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: scrollbar-fix