Skip to content

fix(toast): show toasts when no bottom bar has docked yet - #878

Merged
A-EDev merged 1 commit into
mainfrom
fix/toast-hidden-without-bottom-bar
Dec 5, 2026
Merged

A-EDev merged 1 commit into
mainfrom
fix/toast-hidden-without-bottom-bar

Conversation

@A-EDev

@A-EDev A-EDev commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Toasts were placed with bottom: max(24px, var(--app-bottom-inset)). That variable is only written once a bottom bar (music mini player, Play On dock, playing elsewhere bar) reserves room, so before that the whole value was invalid and bottom fell back to auto.
  • With bottom: auto the toast host sat at the top of the window and the toast, anchored to the host's bottom edge, was drawn just above it, out of sight.
  • The variable now falls back to 0px, as every other use of it already does, so toasts sit 24 px above the window's bottom edge until a bar docks.

Related issue

Closes #877

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Documentation
  • Build, packaging, or CI

Validation

  • pnpm test: 617 files, 3504 tests passed
  • pnpm build: passed
  • cargo fmt --manifest-path src-tauri/Cargo.toml --all -- --check
  • cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features
  • cargo test --manifest-path src-tauri/Cargo.toml --all-targets --all-features
  • I smoke-tested the affected desktop behavior.

No Rust files changed, so the cargo checks were not run. Smoke test on macOS (Apple Silicon), dev build on a fresh test profile with no bottom bar docked: with the fix the toast measured top 835 / bottom 893 in a 917 px tall viewport (visible, bottom right). With the old value applied to the same toast it measured top -58 / bottom 0, above the window. Linux was not tested.

Screenshots or recordings

Risk and compatibility

Frontend only, one CSS value. No migrations, database, permission, playback, network or background work changes.

  • No new secrets, private data, telemetry, or broad Tauri permissions were introduced.
  • User-facing documentation was updated where needed.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Breaking changes and upgrade steps are clearly documented.

@A-EDev
A-EDev merged commit 4d77069 into main Dec 5, 2026
11 checks passed
@A-EDev
A-EDev deleted the fix/toast-hidden-without-bottom-bar branch December 5, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: In-app toast notifications no longer show in nightly builds

1 participant