On macOS the expressive refresh indicator ignored a trackpad pull that
started while it was still refreshing or closing. The list then bounced
past its top edge like a plain scroll, and under the pinned large header
that showed as the title staying put above an empty gap. Pushing a pull
back before letting go also scrolled the list by the whole push, since
the indicator and the list both took it.
AppRefreshIndicator now stops a macOS list at its top edge instead of
bouncing, and while a pull is under way a push back only shrinks the
indicator; the list scrolls once the pull is gone.
Pages that refresh also answer the new Refresh command: Cmd/Ctrl+R and
View > Refresh run the indicator of the page on screen. The Mornye
Library uses AppRefreshIndicator so the command reaches it too.
The synced lyrics view only followed playback while the app was resumed.
On desktop, focusing another app's window makes the app inactive while
its window stays on screen, so the lyrics froze on the last line until
the window was focused again.
An inactive app now counts as on screen, the same as a phone under a
system overlay; hidden and paused still stop the view. A lifecycle
change that keeps the view on screen no longer re-syncs it, so moving
focus between windows leaves the lyrics running as they are.
Go to Album always pushed a new album page, so choosing it from a track
on the album already shown stacked a second copy of the same page.
Album pages now record which album their route shows. The shared push
helper skips the push when the page on top already shows that album; it
still dismisses a modal such as Now Playing first. An album without a
provider matches the same id from any provider, since a track's source
can name the provider the page resolved on its own.
The lyrics view was created each time the panel opened and stayed hidden
until it had scrolled to the playing line. In a debug build that took
longer than the open animation, so the panel slid in empty and the
lyrics popped in at the end.
Now Playing keeps the lyrics view laid out and following playback while
the panel is closed or shows Up Next; it is not painted then. Opening the
panel only fades and slides a list that is already on the playing line,
also after the song moved on while the panel was closed. Up Next still
cross-fades with the lyrics when one replaces the other.
Turning lyrics on in the desktop Now Playing mounts a fresh lyrics view
each time. Its list first laid out at offset 0, so the opening frame
painted the start of the lyrics, the next frame an estimated offset, and
only the third frame the playing line. The view now lays the list out
without painting it until the first jump to the playing line lands. This
only applies before the list's first layout, so a list that is already
on screen keeps its lines while it moves.
The panel also slid by fractional pixel offsets while it faded, so the
lyric text was drawn between device pixels on every frame. The slide now
snaps to whole device pixels.
The cover beside the lyrics passed its animated width as the decode
width, so every frame of the resize decoded the cover again at a new
size. It now decodes once at its largest size.
DesktopNowPlaying takes an optional metadata controller factory, as
NowPlayingScreen does, so the new test can supply timed lyrics.
Online album, playlist and Library folder rows (phone tiles and the
desktop table) and Library search song rows now show the current track
the way Library and album rows do: a primaryContainer fill, the
equalizer glyph, and on phones the pill shape. Search and folder play
buttons pause and resume the current track instead of restarting it.
Mornye rows are unchanged.
Rows now match the player by the file they play rather than by media id
alone. Every queued item carries its file as its source, while its id
depends on where the queue started (a download row, a Library row, or
the path itself from a playlist). Library rows, downloaded and local
album rows and both tables compare files when both sides know one, so
a local track queued from a playlist marks the local album table too,
and an id another source happens to share never marks a row.
Catalog rows have no file of their own. The current item's download or
Library record is resolved once per track change, and a catalog row
matches on that record's id, on equal ISRCs, or on its catalog id
together with the same title and artist. A catalog id alone, or a title
and artist alone, never marks a row, and rows stay unmarked while the
record resolves.
The desktop songs table takes each row's playback provider instead of
a media id.
The phone album header already colors itself from its cover, but the
Material desktop header kept the app scheme, so album, playlist, folder
and artist pages on desktop lost the artwork accent the design rules ask
for.
The desktop detail header now scopes the cover scheme (the artist image
on artist pages) to the artwork and details beside it through
PlayerArtworkTheme, the helper the player surfaces already use, and
publishes it as the HeaderPalette. A cached cover shows its scheme from
the first frame, a new one moves the whole scheme at once on the effects
spring (or in one step under reduced motion), and black and white covers
get the neutral scheme. The toolbar, track rows and the rest of the page
keep the app scheme. The subtitle and artist actions are now built under
that scope so they read the header colors. Mornye is unchanged.
Replace the bundled Google Sans Flex (v4.004, weight axis only, 277,596
bytes) with a trimmed build of the official variable font v5.000 from
the Google Fonts repository (google/fonts, ofl/googlesansflex, commit
bd8f81dd). The weight (wght 1-1000), width (wdth 25-151) and rounded
(ROND 0-100) axes stay variable; optical size and slant are pinned to
their defaults (opsz 18, slnt 0) with the fontTools instancer. The new
file is 571,544 bytes. Its defaults are wght 400, wdth 100 and ROND 0,
and it covers every codepoint of the old file with the same features
(including tnum), vertical metrics and advance widths for text.
The font is licensed under the SIL Open Font License 1.1. Ship the
license as assets/fonts/GoogleSansFlex-LICENSE.txt and register it with
the license registry next to Inter's.
The Material text theme now gives the display, headline and title roles
ROND 100 when the bundled family is in use. Body and label roles keep
ROND 0 for crisp reading text and small labels. Only ROND is set, so
the engine still derives wght from each style's fontWeight. System and
imported fonts get no axes, and the Mornye style is unchanged.
The Library's letter and month sections showed their label in a chip
centered between two rails, which sat away from the rows it names.
Material headers are the start-aligned primary title again, as in
Mornye, and the sections no longer carry the month data that only the
chip used.
Each slot sprang to its width on its own, so when the desktop Now
Playing panel narrowed the slots kept their old widths for the length
of the spring and pushed repeat out of the row, and an overshoot while
it widened did the same by a few pixels. One spring now moves all three
slots, and they scale down together whenever they would run wider than
the room. Widening and the press squish still spring.
The desktop selection toolbar left Remove RG and the delete button each
alone on a row. Delete is now a compact toolbar pill, filled with the
error role, that shares a row with Remove RG, delete first. Phones keep
the full-width delete button.
Right-clicking a song outside the selection made it the selection and
opened the selection toolbar under the menu, and choosing Play or Show
details left that toolbar open.
That selection now belongs to the menu: the toolbar stays closed while
the menu is open, closing the menu without a choice ends the selection,
and Play and Show details end it like the queue and playlist actions.
Bulk actions (re-enrich, convert, delete) keep it and bring the toolbar
back. showContextMenu reports whether a row was chosen, and
SelectionModeMixin.showSelectionMenu applies this on the album, folder
and artist pages; the Library and its search results do the same.
Local album phone rows already knew the current track for their play
button but did not pass it to the tile, so they lacked the current row
fill and equalizer glyph that Library and downloaded album rows show.
The playback controls test settles with bounded pumps, since the glyph
loops while a row plays.
Material 3 Expressive puts expression in state changes: the playing row
should read at a glance, and selection should use its own solid role
instead of a faded primary container.
- Add NowPlayingIndicator, a 16dp three-bar equalizer that moves while
playing, freezes while paused, stays still under reduced motion and
stops its ticker under a disabled TickerMode.
- Desktop songs table (Material): rows with a media id follow
mediaItemPlaybackUiProvider one row at a time. The current row fades
to primaryContainer on the effects spring, takes onPrimaryContainer
text with a bold title, and shows the glyph in place of the track
number, or over the artwork when the table has no number column. Row
height and columns stay put. A selected current row keeps the
secondaryContainer fill. Hover is the 8% state layer of the content
color.
- TrackCard (Material): the current row fills with primaryContainer,
rounds its ends into a pill on the spatial spring through a clip
inside its margin, shows the glyph before the trailing control and can
round its artwork toward a circle. Other rows keep their connected
corners. Selected rows use solid secondaryContainer.
- Library list and table rows and downloaded album rows pass their
media id; downloaded album rows now show the real play and pause
state and toggle the current track instead of restarting it. Local
album table rows pass their media id too.
- Album and Library row play buttons use a tonal secondaryContainer
container on Material.
Mornye keeps its rows as before.
M3EButtonGroup autofocuses its first segment. On desktop that took focus
from the shortcuts' idle node, so Space pressed the segment instead of
toggling playback on the Library songs and albums pages, in Settings rows
with a segmented choice and in the equalizer.
MaterialExpressiveScope can now keep its child from taking focus as it
mounts. The group's segments stay unfocusable until the mounting frame's
autofocus pass has run, then Tab and clicks reach them as before.
Also drops two unneeded imports from the songs table test.
The Material full player, mini player, desktop player bar and desktop Now
Playing now take their ColorScheme from the current cover through a local
PlayerArtworkTheme, as DESIGN.md principle 3 asks. The app chrome around
them, and the downloads popover hosted in the bar, keep the app scheme.
The bar keeps its surfaceContainer tier, so resting chrome stays calm; the
play buttons use the cover's primary and onPrimary.
The scope shows a cached scheme on the first frame, keeps the previous
cover's scheme while the next one resolves, falls back to the app scheme
without readable art, and moves the whole scheme with one controller and
ColorScheme.lerp on the effects spring (a static swap under reduced
motion). Each cover change starts one palette job, shared through the
CoverPalette cache. With AMOLED on, the page background stays pure black.
CoverPalette gains an opt-in neutral scheme: a cover whose source color
has an HCT chroma of 12 or less gets a monochrome scheme instead of
Score's fallback blue or a muddy tint. The Material player and Material
headers (CoverPaletteBuilder) opt in; Mornye keeps the tonal scheme, so
its surfaces render as before.
DESIGN.md asks Material library toolbars for a connected button group
instead of loose buttons, date-grouped lists for a centered date chip
between short rails, and related controls to share one silhouette.
- Sort, Filters and the list/grid switch on the Songs, Singles and
Albums pages form one connected M3EButtonGroup with nothing selected.
Sort keeps the current order as its label, Filters keeps its label,
badge and long-press reset, and the view switch keeps its tooltip.
The group is 44dp on phones and 40dp on desktop, and a padded hit
area keeps the 48dp target. The desktop sort menu still opens below
the sort button. Mornye and reduced motion keep separate buttons.
- Section headers become a centered chip on secondaryContainer between
two outlineVariant rails, with primaryContainer for the current month.
Sections remember their month, so the header does not parse labels.
The header stays opaque for pinning and keeps its header semantics.
- Material empty Library pages drop the Home button, which repeats the
navigation destination; the empty Playlists page offers Create
playlist instead.
Desktop sheet dialogs had one 560dp width for every task, so a crash
report or the metadata editor wrapped tightly while short prompts
floated in empty space. AppSheetDialog now takes a size class (compact
440dp, medium 560dp by default, wide 720dp), threaded through the sheet
helpers. The metadata editor, crash report and re-enrich review open
wide. On Material the dialog corner comes from the sheet radius token,
the body's scrollbar stays visible, and a titled header ends with a
close button. Material alert dialogs stay within the M3 280 to 560dp
range, starting at the compact width on desktop.
Settings sliders showed their value inline or not at all. A shared
SliderValueHeader puts the value with its unit in a secondaryContainer
pill at the end of the title row, used by music haptics, normalization
pre-amp, AutoMix, lyrics size and the equalizer tone sliders. These
already save on release; lyrics size and the equalizer keep live writes
because their preview needs every step. Mornye keeps its inline labels.
The player details sheet called showModalBottomSheet with Flutter's
drag handle on Material phones. It now opens through
showAppScrollableBottomSheet with the shared handle, shape and header
naming the track, and lists the tags in one group instead of a titled,
outlined card. Mornye keeps its glass details on both platforms.
Settings groups blended white or black over the page instead of using a
container tier, and search results, their skeleton and the About and
Donate cards copied that tone. Groups and grouped rows now use
surfaceContainer, so the tier alone separates them from the page and the
reduced motion card drops its outline.
AMOLED tiers keep the M3 dark tone steps around the container. The old
low tier sat almost on black, which would hide menus now that they use it.
Menus share the M3 Expressive standard skin: popup and anchored menus sit
on surfaceContainerLow with the control radius and 12dp rounded items,
matching M3EMenuPopup. Checked rows in the desktop context menu take the
tertiaryContainer selected fill.
Info cards and unselected choice chips use solid container tiers instead
of faded copies. Mornye renders as before.
The Songs tab (the Library's all filter) kept the phone month-grouped
TrackCard tiles on desktop in list mode: three lines of text and chips
per song, which read as a phone list in a desktop window. Only the Albums
tab's singles view and the album, playlist and folder pages used the
desktop table.
Route the desktop list mode of the all filter through the songs table,
with the section page's collection entries and the active downloads
leading it as list cells. The cover grid stays for grid mode, and
phones keep the sectioned cards. Lead cells form their own run on
desktop, since the table follows them.
A downloaded track's source is the service its audio came from, which
can be a fallback such as YouTube Music in the device's region. Go to
Artist in the player and artist links on download history rows searched
that service first. They now use the user's search provider and the
metadata provider priority, as the track metadata screen already did.
A Keyboard Shortcuts page, shown on desktop under App, lists playback,
navigation and panel shortcuts with Command or Control for the host.
It reads the bindings the app registers, so it follows any change to
them, and shows a command and its destination number in one row.
Material desktop pages kept the phone metrics: 48dp touch rows, 56dp
row artwork, 16dp settings row padding, a 120dp collapsing header, and
lists stretched across the whole window. The selection bar was the
phone sheet with its drag handle, tap hint and two-line pill grid.
Register AppTokens.desktop for Material on desktop (M3 density -2 for
rows, row artwork and the page header; radii, motion and the 48dp
control target unchanged), lower the Material songs table row to 44dp,
and center Material lists past 1280pt (the M3 large window class plus
the rail) while Mornye keeps Music's full-width pane. The desktop
selection toolbar drops the handle and tap hint, lays its actions in a
wrapping row of 40dp buttons, and keeps the destructive action at its
own width.
On desktop the Material style still opened phone bottom sheets: the song
page's More button, the search sort options, explore and discography
actions, batch convert, the playlist picker, quick actions, the download
service picker, the metadata editor's option pickers and the cue split
sheet all called showModalBottomSheet directly.
The song page now opens its items as a menu anchored under the More
button on Material desktop, through the same context menu machinery as
the Library's right-click menus, while phones keep their sheet and
Mornye keeps its popover. The remaining call sites go through
showAppModalBottomSheet, which already presents a centered dialog on
desktop. The adapter gains a mornyeGlass switch, mirroring the dialog's,
for content that draws its own glass (batch convert, the playlist
picker, the discography sheet and the floating download picker on
phones), so phone appearance stays as it was.
A test opens the Material song page menu on desktop and on a phone and
checks for the anchored menu or the sheet.
SQLite reads "" as an identifier. The sqlite3 build Windows and Linux
bundle disables the legacy fallback that treats it as a string, so
startup history maintenance and orphan cleanup failed there with
'no such column'. macOS uses the system SQLite and hid the bug.
Show all only asked for the Library tab, which in Mornye reopens the
page it showed last, such as Songs. Mornye now opens its Downloads
sidebar page through a new library link request; Material keeps the
Library tab.
The Mornye phone player lays lyrics out under its controls and masks that
part, but the no-lyrics message centered in the whole area. On short
screens the Search online button fell under the controls and could not
be scrolled into view. The layout now reports the covered height, and
the message centers in the visible part and scrolls when it does not
fit.