feat(ui): persistent scrollbars, overflow fade cues, and header/frame polish #394

Merged
HumanBean merged 1 commit from Jer9/LongshotLauncher:feat/scroll-affordance-and-chrome-polish into main 2026-12-02 15:03:15 +00:00
Member

Summary

Makes scrollable views and active header/window chrome clearer across the launcher:

  • Persistent scrollbar & bottom overflow shadow (ui/scroll-view.slint): Keeps Fluent's NativeScrollView scrolling with vertical-scrollbar-policy: always-off and renders a persistent custom vertical scrollbar thumb whenever content overflows, plus a 48px #000000 bottom fade scrim (0% -> 65% -> 95%) whenever more content lies below.
  • Convert bare Flickables (ui/home.slint, ui/graphics-driver.slint): Replaces the raw Flickables in Home's short-window layout and GraphicsDriverDialog with ScrollView so both show the scrollbar thumb and bottom overflow shadow.
  • Header & frame polish (ui/main.slint): Adds a 3px mustard bottom accent bar on the active nav tab, a crimson hover background (#8f2424) on the Close (×) button, and a 1px Ink.line outer border when the window is neither maximized nor fullscreen.

Screenshots

Before (origin/main) vs After (feat/scroll-affordance-and-chrome-polish), rendered with MinimalSoftwareWindow using synthetic data:

  • pr3-compare-scroll.png (overflowing PageList / ScrollView with persistent thumb + bottom shadow)
  • pr3-compare-home-overflow.png (Home short-window overflow)
  • pr3-compare-driver-dialog.png (Graphics Driver dialog overflow)

Testing

  • cargo fmt --check passed.
  • cargo clippy --locked --all-targets -- -D warnings passed (0 warnings).
  • cargo test --locked controller::tests passed (1/1).
  • cargo build --locked passed on Windows 11.
## Summary Makes scrollable views and active header/window chrome clearer across the launcher: - **Persistent scrollbar & bottom overflow shadow (`ui/scroll-view.slint`):** Keeps Fluent's `NativeScrollView` scrolling with `vertical-scrollbar-policy: always-off` and renders a persistent custom vertical scrollbar thumb whenever content overflows, plus a `48px` `#000000` bottom fade scrim (`0% -> 65% -> 95%`) whenever more content lies below. - **Convert bare `Flickable`s (`ui/home.slint`, `ui/graphics-driver.slint`):** Replaces the raw `Flickable`s in Home's short-window layout and `GraphicsDriverDialog` with `ScrollView` so both show the scrollbar thumb and bottom overflow shadow. - **Header & frame polish (`ui/main.slint`):** Adds a `3px` mustard bottom accent bar on the active nav tab, a crimson hover background (`#8f2424`) on the Close (`×`) button, and a `1px` `Ink.line` outer border when the window is neither maximized nor fullscreen. ## Screenshots Before (`origin/main`) vs After (`feat/scroll-affordance-and-chrome-polish`), rendered with `MinimalSoftwareWindow` using synthetic data: - `pr3-compare-scroll.png` (overflowing `PageList` / `ScrollView` with persistent thumb + bottom shadow) - `pr3-compare-home-overflow.png` (Home short-window overflow) - `pr3-compare-driver-dialog.png` (Graphics Driver dialog overflow) ## Testing - `cargo fmt --check` passed. - `cargo clippy --locked --all-targets -- -D warnings` passed (0 warnings). - `cargo test --locked controller::tests` passed (1/1). - `cargo build --locked` passed on Windows 11.
feat(ui): persistent scrollbars, overflow fade cues, and header/frame polish
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Blocked by required conditions
CI / Rust formatting, lint and tests (pull_request) Blocked by required conditions
CI / Release packages and stable upgrades (pull_request) Blocked by required conditions
PR title / Conventional Commit title (pull_request) Blocked by required conditions
4eff58d919
Add a persistent custom scrollbar thumb and 48px bottom overflow shadow to ScrollView, convert bare Flickables in Home and GraphicsDriverDialog to ScrollView, and add an active-tab mustard accent bar, crimson Close hover, and 1px unmaximized outer border.

Assisted-by: Antigravity
Author
Member

Before (origin/main) vs After (PR #394) side-by-side comparisons (rendered with MinimalSoftwareWindow using synthetic data):

  1. pr3-compare-scroll.png: overflowing PageList / ScrollView with persistent scrollbar thumb + 48px bottom overflow shadow
  2. pr3-compare-home-overflow.png: Home short-window overflow
  3. pr3-compare-driver-dialog.png: Graphics Driver dialog overflow

pr3-compare-scroll.png

pr3-compare-home-overflow.png

pr3-compare-driver-dialog.png

Before (`origin/main`) vs After (`PR #394`) side-by-side comparisons (rendered with `MinimalSoftwareWindow` using synthetic data): 1. `pr3-compare-scroll.png`: overflowing `PageList` / `ScrollView` with persistent scrollbar thumb + `48px` bottom overflow shadow 2. `pr3-compare-home-overflow.png`: Home short-window overflow 3. `pr3-compare-driver-dialog.png`: Graphics Driver dialog overflow ![pr3-compare-scroll.png](https://git.magicbean.dev/attachments/8abe54c9-63aa-4713-8fda-cb5e5ac8348f) ![pr3-compare-home-overflow.png](https://git.magicbean.dev/attachments/739216e0-6da7-4b17-8e74-bea00f5bcc35) ![pr3-compare-driver-dialog.png](https://git.magicbean.dev/attachments/5581a28b-1ed3-4247-971a-b42068f63212)
HumanBean deleted branch feat/scroll-affordance-and-chrome-polish 2026-12-02 15:03:15 +00:00
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Blocked by required conditions
CI / Rust formatting, lint and tests (pull_request) Blocked by required conditions
CI / Release packages and stable upgrades (pull_request) Blocked by required conditions
PR title / Conventional Commit title (pull_request) Blocked by required conditions
Some workflows are waiting to be reviewed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/LongshotLauncher!394
No description provided.