The toolbar button copied the active downloads and rebuilt on every queue
change; it now selects the count and progress, so it rebuilds only when the
ring or the count changes.
The table re-sorted every row on each build, including a selection click,
and the quality comparator parsed both labels in every comparison. Sort keys
are now computed once and the order is kept while the rows and sort stay
the same; hovering a row rebuilds only its fading actions.
SliverLayoutBuilder passes the full SliverConstraints, which change with the
scroll offset, so library and Explore grids, album, artist and desktop
toolbars, and the extension overview rebuilt on every scroll frame. A small
SliverLayoutInfoBuilder rebuilds only when the width or collapsed flag it
selects changes; the header back buttons are built once, and headers can take
a title listenable so a title flip rebuilds only the title.
The Windows and Linux runners now answer the window channel. They turn
the window into a frameless 360x140 panel that stays above other
windows, open it where it last sat (first at the top right of the work
area), move it when the panel is dragged, and restore the frame, size,
place and maximized state when it closes. On Wayland the compositor
decides the position and stacking, so there it only shrinks.
The mini player drag area now moves a framed window too, and the
shortcut is Ctrl+Shift+M on Windows and Linux, since Ctrl+Alt is AltGr
on many keyboard layouts. macOS keeps Opt+Cmd+M.
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 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.
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.
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.
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.
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.
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.
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.
Use directional insets, alignments, positions and borders so Arabic and
other RTL locales lay out from the right. Mornye chevrons use the
CupertinoIcons glyphs that match text direction, synced lyric voices
align to start and end, and transport controls, seek bars and progress
stay left to right as media timelines do.
Rows that scroll sideways drop the desktop scrollbar, except the library
search shelves, which have no paging arrows. Settings, the sidebar and
the lyrics and Up Next panels scroll without a bar.
The inspector grows from the trailing edge beside the content and slides
in when it floats over a narrow window, keeping the last panel on screen
while it leaves. Now Playing moves the cover column aside as the panel
fades in. Material uses the spatial spring and Mornye an iOS-like ease;
reduced motion skips both.
Desktop track and album lists now load with placeholder rows that use the
track table's columns, row height and quality column, so content does not
jump when it arrives. The track table geometry and the artist discography
tile size move to shared helpers that the placeholders reuse.
The rail opens compact, and the sidebar shortcut expands it in windows
wide enough for the extended rail. The menu button and the automatic
collapse are gone.
Now Playing covers the shell, sidebar included, over a backdrop drawn
from the artwork: the cover, title and transport on one side, and lyrics
or Up Next on the other, toggled from a capsule in the corner. The
timeline and transport line up with the cover's edges.
The macOS runner reports full screen to Flutter. Opening lyrics in a
full screen window, or entering full screen with lyrics open, shows
them in Now Playing instead of the side panel.
Music does not let its sidebar close, so the Mornye sidebar no longer
hides below 900pt or through the toolbar button, menu item and shortcut.
The shortcut and auto-collapse still apply to the Material rail.
A plain click now activates a row, as a tap does on a phone, instead of
selecting it and waiting for a double click. Cmd/Ctrl-click and
Shift-click still select, and the second click of a double click does
nothing, so a row never plays twice.
Desktop visual density shrinks the menu button to 40pt, so its fixed
24pt start padding left the icon 4pt off the destinations' axis. The
button is now centered over the collapsed rail width instead.
The rail draws its own destinations so one expansion value drives the
width, the indicators and the labels: pills grow around a fixed icon and
labels cross-fade instead of jumping when the layout changes. Expanded
pills hug their labels as M3 Expressive specifies and take the clicks
alone. A menu button collapses and expands the rail, which also follows
the window below 1200pt.
Home and Library have their own search fields, so the shell's search bar
stacked a second one above them. Rail pills now span the row, which is the
whole click target.
The macOS window now draws content under a transparent title bar with
the traffic lights centered in a 52pt row, and Flutter drag areas move
and zoom the window there.
Mornye on desktop follows Music: an inset 210pt sidebar panel tinted by
the page's artwork color, with Search, Home, Store, the Library pages,
All Playlists and each playlist, and an account row with Settings pinned
at the bottom. The sidebar hides completely from its button, the menu
or below 900pt, and the content then leaves room for the window
controls. The player is a floating 48pt glass capsule centered over the
content pane with shuffle, transport, repeat, the LCD, downloads,
lyrics, queue and a volume popover; pages scroll under it.
Material keeps its docked player bar, which now holds downloads, so the
top bar steps aside on Home instead of stacking a second search field.
The expanded rail spaces its indicators 8dp apart.
Desktop detail pages keep the plain pane background and place a
300pt-capped artwork at the list's left edge, with the title, the
artist in the accent color and a small meta line beside it and the
actions along its bottom edge. Mornye floats a glass back button and a
capsule with share and More over the pane; album songs use 46pt rows
with the number turning into a play button on hover. Pages leave room
for the floating player.
Album, playlist, folder and artist pages on desktop show the artwork beside left-aligned details under a pinned toolbar with the back control, in the same column as the songs. Table rows use desktop density (40 Mornye, 48 Material), show row actions on hover, selection or focus, and drop the quality column when no row has one.
Dropping music files or folders onto the window adds them as Library folders through the existing add-folder and scan path; a dropped file adds the folder that holds it. Uses desktop_drop 0.8.4. Tests cover the folder selection, the hover play button and the source-sorted table.
The Library Songs page shows the desktop table, sorted through the Library sort modes, and song rows and cards select on click, play on double click and open the selection's menu on right-click. Playlists, folders, albums, artists and queued downloads get menus, album tiles show a play button on hover, and the sort and filter choices open as menus on desktop.
Album, playlist, local album, downloaded album and collection folder screens list their songs in the desktop table, with right-click menus for the selection, Enter and double click to play or open, and Delete wired to the existing removal. The playlist cover options open as a menu on desktop.
Right-click, Shift+F10 and the Menu key open item menus (MenuAnchor on Material, MornyeContextMenu on Mornye). DesktopListScope adds Cmd/Ctrl+A, Escape, Delete and Enter to selectable lists, and SliverTrackTable shows sortable song columns. The album screen uses the table on desktop.
A mouse wheel only scrolls vertically and mouse drags do not scroll, so
mouse users could not reach the rest of a horizontal shelf. On desktop the
Home shelves, extension feed carousels and featured releases show back and
forward buttons while hovered, when more content lies that way.
Now Playing replaces the content pane instead of covering the window, and
Escape or the minimize button returns. Lyrics and Up Next open in a 340
inspector that sits beside the content from 1200 wide and floats over it
below that; the player bar buttons and Ctrl+Shift+L or U toggle it.
A downloads button with an overall progress ring opens a popover that
lists active downloads with progress and cancel, plus Show all for the
full queue in Library. Material shows it, with a search field that opens
search, in a new desktop top bar; Mornye keeps it in the player bar and
lists Settings as a content destination.