From 4f3e9b4bb9a02f9aa332a3f7b8e3707744ec5f68 Mon Sep 17 00:00:00 2001 From: InstaZDLL Date: Fri, 23 Oct 2026 22:44:09 +0200 Subject: [PATCH] feat(ui): show just "QuickPlay" in the player's title bar The logo beside it already says WaveFlow and the about block gives the full name, so the bar leaves the room to the track's title. The OS window title stays "WaveFlow QuickPlay": the playlist window finds the player by it on Windows. --- src/app.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 82af694..16ad64a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -28,6 +28,11 @@ use crate::waveflow; pub const APP_ID: &str = "app.waveflow.quickplay"; pub const MAIN_TITLE: &str = "WaveFlow QuickPlay"; pub const PLAYLIST_TITLE: &str = "Playlist ยท WaveFlow QuickPlay"; +/// The name painted in the player's title bar. The logo beside it already +/// says WaveFlow and the about block gives the full name, so the bar keeps +/// the room; the OS title stays [`MAIN_TITLE`], which the playlist uses to +/// find the player. +const BAR_TITLE: &str = "QuickPlay"; /// A playlist that lands within this distance of where the player sent it /// is our own move arriving, not the user dragging it. const DOCK_TOLERANCE: f32 = 2.0; @@ -1253,7 +1258,7 @@ impl eframe::App for QuickPlayApp { match widgets::title_bar( ui, t, - MAIN_TITLE, + BAR_TITLE, subtitle.as_deref(), Some(view.always_on_top), true,