Skip to content

macOS: Always visible legacy scrollbar lacks the correct background with semi-transparency #9248

@mitchellh

Description

@mitchellh

Discussed in #9247

Originally posted by iamEvanYT October 17, 2025

Issue Description

When using ghostty tip after @mitchellh's macOS scrollbar commit, you can see that the background does not use the correct background as everything else.

Expected Behavior

It should show the same background as everything else.

Actual Behavior

The scrollbar's background is transparent, and does not use the background color specified.

Screenshot 2025-10-17 at 5 34 20 PM

Reproduction Steps

  1. Set "Scrollbar Behavior" to "Always" in macOS System Settings
  2. Open Ghostty
  3. Run for run in {1..1000}; do echo "line"; done to get the scrollbar to appear

Ghostty Logs

No response

Ghostty Version

Ghostty 1.3.0-main+a2e95ce7b

Version
  - version: 1.3.0-main+a2e95ce7b
  - channel: tip
Build Config
  - Zig version   : 0.15.2
  - build mode    : .ReleaseFast
  - app runtime   : .none
  - font engine   : .coretext
  - renderer      : renderer.generic.Renderer(renderer.Metal)
  - libxev        : kqueue

OS Version Information

macOS Tahoe 26.0.1

(Linux only) Display Server

None

(Linux only) Desktop Environment/Window Manager

No response

Minimal Ghostty Configuration

background-opacity = 0.9

Additional Relevant Configuration

No response

I acknowledge that:

  • I have reviewed the FAQ and confirm that my issue is NOT among them.
  • I have searched the Ghostty repository (both open and closed Discussions and Issues) and confirm this is not a duplicate of an existing issue or discussion.
  • I have checked the "Preview" tab on all text fields to ensure that everything looks right, and have wrapped all configuration and code in code blocks with a group of three backticks (```) on separate lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiGUI or app issue regardless of platform (i.e. Swift, GTK)os/macos

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions