noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

[FEATURE] Configurable scrollbar width

Open rylos opened this issue 3 months ago • 1 comments

Submission checklist

  • [x] I have searched existing issues and confirmed this has not been requested before.
  • [x] I have checked existing pull requests for similar changes.

Feature type

Configuration / customization

Feature summary

Add a setting to control the width of the vertical (and horizontal) scrollbars used across Noctalia's panels — Settings, Control Center, launcher, notification list. Something like appearance.scrollbar_width, in pixels, defaulting to the current value so nothing changes for existing users.

Motivation / use case

The scrollbar is currently very thin. On a 2560x1440 display at 100% scale it is a small target to hit with the pointer: grabbing the thumb takes a deliberate aim, and it is easy to click the track instead. This is a comfort issue for everyday mouse use, and an accessibility one for anyone with reduced pointer precision.

Today the only way to make it bigger is appearance.ui_scale, which scales the entire interface — text, padding, icons — just to get a wider scrollbar. That is a large, unrelated change to accept for a small target-size problem.

Proposed solution

A single numeric setting under appearance, e.g.:

[appearance]
scrollbar_width = 12

applied wherever Scrollbar / ScrollView are drawn, so all scrollbars stay visually consistent (in the spirit of #1055, "Align the style of all scrollbars"). Keeping the current value as the default means no visual change unless the user opts in.

If a full numeric setting is more than you want to expose, a three-step choice (thin / normal / wide) in the Appearance tab would already solve the problem.

Alternatives considered

  • appearance.ui_scale — works, but scales the whole UI to fix one control.
  • Scrolling with the mouse wheel — fine most of the time, but not for jumping quickly through a long list such as the Settings pages.
  • No config-level workaround exists: there is no scrollbar key in settings.toml and no matching entry in assets/translations/en.json, and since v5 ships as a compiled binary this cannot be adjusted without rebuilding.

References / related projects

  • #1055 — "Align the style of all scrollbars"
  • #790 / #770 — hide the scrollbar in NScrollView/NListView when not needed

Additional context

Noctalia v5.0.0 (5.0.0_beta.8), Hyprland, Arch Linux, single 2560x1440 display at 100% scale, ui_scale at its default.

rylos avatar Aug 15 '26 22:08 rylos

In fact, using appearance.ui_scale doesn't scale the scrollbar — it's hardcoded to 6px 😅. I think I can try implementing this.

Qaaxaap avatar Aug 18 '26 13:08 Qaaxaap