Settings > Appearance > Animation speed plays the app's own motion from
half to twice its designed speed (issue 916 asks for faster navigation).
The motion presets, page pushes and pops, the player's opening and
closing, the tab switch and the springs a released drag settles on all
follow it. Lyrics and the seek bar keep time with the song, reduced motion
still wins, and the framework's built-in component motion is unchanged.
The default is the designed speed, where every preset is returned as it
was.
A switcher runs its leaving curve backwards. Given a spring, that held
the leaving child in place for most of the time and dropped it at the
end, so closing the lyrics faded the background before the words.
AppMotionSpec.leaving flips the curve, and every switcher fed by a
motion spec uses it.
Four sites chose the same pair by hand (Material's standard spatial
spring, Mornye's standard spring, nothing with reduced motion) for a
section, a card or a scroll that moves other content. AppMotion.surface
names it.
Switching between Lyrics and Up Next in the inspector cross-faded on a
fixed linear 180 ms in both styles. It now uses the effects spring of the
style; reduced motion still cuts.
Reversing the inspector mid-move swapped its curve and jumped. Its value
is now the pane's openness on screen: opening runs on the style's spring
from the current velocity, closing eases back from wherever the pane is,
and the pane beside the content still stops at its width.
Mornye's desktop Now Playing fade ends with the fade instead of waiting
for a movement it does not make. The sidebar tint and artwork, the
artwork hover, the volume popover, row actions, hover scrims, the header
title, the mini player lines and the Now Playing panel cross-fade use the
style's effects springs, and the scroll arrows page on a spring that stops
at its target. A closed Now Playing panel drops its queue at once.
The computer gave no sign that it played together with a phone, and its
Devices sheet still offered the usual choices, which would have moved
the queue under a running session.
While a session runs, the sheet shows a checked Play together row naming
the phone, no device is checked, and choosing this computer or that
phone ends the session there: the computer tells the phone, which stops
the device that was not chosen. This works whichever device owns the
queue. The player bar's Devices button names Play together and, in the
Material style, draws primary.
The row opens and closes with the reveal the phone's timing group uses,
now one widget. With reduced motion it no longer runs a size animation
of no length, which failed inside its own layout.
The offset of a song's synced lyrics is now the app-wide offset plus the
song's own. The player's lyrics menu opens a Lyrics timing sheet with
This song above All songs; the settings page keeps only the app-wide one.
Songs are keyed by title and artist, as Library, History and Link match a
song across devices, and a song in sync stores nothing. Every timed reader
uses the sum: the player lyrics in both styles, the lyric line preview,
the desktop mini player, lock screen lyrics, sharing and the mirrored
player.
One-line doc comments and inline comments that only repeat the name, the
type or the next statement of what they describe, in the Dart, Kotlin and
desktop runner sources. Comments that state a reason, a constraint, a
unit, a value set or a platform quirk stay. No code changes.
Share report sends the outcome and every section as plain text through the
system share sheet. Check authenticity, in the library track menu and among
the selection actions, reads the selected FLAC and WAV files one after
another and lists each song with its outcome, a summary of how many need a
look and a note when they differ in bit depth or sample rate; a finished
row opens its full report in place.
The words of a report now come from one place (HiResReportContent), so the
card, the shared text and the list cannot disagree. The new strings are
translated to Indonesian, five strings the first report left unused are
removed, and a C ABI test covers the desktop route of the whole-file
check.
Every desktop album and folder tile with a Play action built a full
IconButton subtree (style resolution, ink, tooltip, focus handling) at
opacity 0, so scrolling a large grid built one for every new tile even
though most are never hovered.
The button is now built when the pointer first enters the cover and then
stays, so its fade out runs as before. Until then a bare focus stop of
the same size holds its place in the Tab order; when Tab reaches it the
button is built and takes the focus, so keyboard users still reveal and
press it. The hidden button was already left out of the semantics tree by
its zero opacity, so screen readers see the same nodes.
Opening or closing Lyrics or Up Next, and every frame of a window
resize, ran the panel tween builder, which built a new cover column,
lyrics section and Up Next list each time. Through the lyrics section
that rebuilt every visible lyric row, even while hidden behind Up
Next, and the queue rebuilt all of its visible rows.
The lyrics and queue panels are now built once per panel change and
passed into the tween as its child, and the cover column is kept while
its track, scheme and decode size stay the same. The tween only places
them: the column width, the panel opacity and its whole-pixel slide.
The cover sizes itself from the column width with an AspectRatio, so
the column needs no per-frame size. The panel cross-fade still takes
its duration from where the motion stands when the panel changes.
The Material desktop Now Playing page took the artwork scheme without
fadesSurfaceOnly, so every frame of the scheme move on a track change
built a new ThemeData and rebuilt the whole page: backdrop, cover
column, the always mounted lyrics, the Up Next list and the buttons.
It now swaps the scheme in one step and only the page background,
painted by PlayerArtworkSurface, moves on the effects spring, as the
phone Now Playing page does since 7032c7b43. The background of a page
without a track goes through PlayerArtworkSurface too, so it still
fades instead of snapping. The Mornye page is unchanged.
Finish the right-to-left lyrics from PR #844 on the current lyrics code.
A line's direction now follows the Unicode paragraph rule: its first
strong letter decides, so a Latin line with one Arabic word stays left
to right, and digits, punctuation, marks, emoji or a byte order mark
decide nothing. A line without letters (an instrumental "..." or a gap)
takes its neighbour's direction. The scan is a rune loop over sorted
ranges with an ASCII fast path, in lib/utils/text_direction.dart, and
replaces the PR's any-RTL-character regex and its re-export from
player_lyrics.dart.
- The synced view works the directions out once per set of lyrics,
with its line keys, and lays every row out in its line's direction,
so the row cache, reveal, scale, backing vocals and duet alignment
follow it. Mornye's line measurement uses the same directions.
- The word sweep orders a word's runs by the line's direction and
sweeps each run the way it is laid out, so a Latin word inside an
Arabic line fills from its left.
- A translation or pronunciation reads in its own direction and stays
on its line's side, timed or not. Phrase-aligned pronunciation stays
off for right-to-left lines.
- Plain lyrics keep one text when every line shares a direction and get
a text a line when they mix; the directions are cached per lyrics.
- The lyric line under the header reads, and slides, in the line's
direction: a long Arabic line moves right to bring its end in.
- The editor keeps each field's direction in a notifier that changes
only with the first letter's script, instead of rebuilding the field
on every keystroke.
- The share card and mini player use the same rule.
In a right-to-left app a Latin line now reads left to right from the
left edge; the repaint test records that.
Co-authored-by: itzSho3aib <mamomema123@gmail.com>
Resolve per-line TextDirection for RTL scripts (Arabic, Hebrew, Persian, Urdu, Syriac, Thaana, NKo) across word-synced, line-synced, plain, mini-player, editor, and share-card lyrics on both desktop and mobile.
- Skip left-to-right per-word pronunciation Row layout when the lyric or romanization text contains RTL script so Arabic words stay in natural right-to-left order (LyricPronunciationLayout.measure).
- Pass resolved TextDirection into TextPainter and RichText in _WordHighlightedLyricLine and _SweepingTimedLyricText, sort same-row RTL segment boxes right-to-left, and sweep word highlights, feathers, and glows from right to left (box.right to box.left).
- Align synced, unsynced, mini-player, editor, and share-card lyric lines using directional TextDirection so RTL lines align and wrap naturally on both desktop and mobile.
- Add widget and unit tests covering RTL word-by-word sweep direction, pronunciation column bypass, and line measurement.
[Cherry-picked from PR #844 onto the current lyrics code. The synced
view and plain lyrics parts did not apply to the rewritten code and are
redone in the next commit; the test lines use invented phrases.]
A playlist synced over Link carried the file path of each song's cover.
That path names a file of the device that made the playlist, so the other
device showed the placeholder on the playlist tile, the page header and
every row.
Sync now sends web covers only and drops a path an older build still
sends. For playlists already synced, a stored cover this device cannot
load is answered by the same song in the Library: on the playlist tiles,
the playlist picker, the page header, phone rows and the desktop table,
which had no Library fallback at all.
Flutter 3.50 deprecates its built-in Material and Cupertino libraries in
favour of the material_ui and cupertino_ui packages. The imports move
with the official fix (dart fix, migrate_design_widgets); the app's old
two-library theme bridge collapses into one Theme type.
- MaterialExpressiveScope keeps the complete host theme nearest its
child. The reduced copy made for the expressive widgets now shares the
app's Theme type and would hide component themes and extensions.
- LegacyThemeBrightness hands the brightness to the glass package, which
still reads Flutter's built-in theme.
- appLocalizationsDelegates lists the material_ui localization delegates;
the generated list still names the built-in ones.
- Tests: findByTooltip and pageBack replace the flutter_test helpers that
only know the built-in widgets, and several tests that had gone stale
against earlier app changes are repaired.
Restore the note on why Show all opens the downloads library link, and
remove activeDesktopDownloads now that the popover reads the lookup's
active ids. The summary test checks the ring against those ids instead.
The Material desktop player has no More menu, so Speed and pitch was
reachable there only from Playback settings or the change label. A
Speed button joins Lyrics and Up Next in its corner capsule and shows
as selected while the speed or pitch is changed.
The Material Now Playing menu, the Mornye player actions and the
desktop Now Playing menu open the Speed and pitch sheet, with the
current values as the row subtitle. While the speed is not 1x or the
pitch is shifted, a small label beside the audio format under the
timeline (phones and desktop, both styles) shows it, such as
"1.25x · +2", and opens the sheet on a tap.
Appearance > Layout gets an Interface size slider, 80% to 130% in 5%
steps, default 100%. AdaptiveUiScaler multiplies it with the automatic
tablet and TV scale, so every page, dialog and control reflows at the
chosen size on phones, tablets and desktop, in both styles. The size
applies when the slider is released.
The scaler keeps its content under a GlobalKey, so starting or stopping
a scale (this setting, or a tablet crossing its breakpoint) keeps open
pages and scroll positions instead of rebuilding the app. The macOS
title bar row divides by the scale so it stays aligned with the native
traffic lights at every size.
The rail width followed the expansion spring, so expanding grew it past
220dp and collapsing shrank it under 96dp for a moment, resizing the
content past its final width and flipping its breakpoints twice. The width
now stops at its ends while the pills and labels keep the spring.
The Material open spring overshot the pane beside the content, so the
content narrowed about 5dp past its final width for a moment. In a 1280dp
window that dips the pane under the 840dp search cover breakpoint, which
flipped Library search to rows behind a spinner and back to covers. The
pane beside the content now stops at its width; a floating panel keeps the
spring.
The controller was also created lazily on its first read, which happened
when the panel opened, so it started at the open value and the first
opening after launch skipped its motion.
Material right-click menus now open the M3E menu popup that More buttons
use, anchored at the pointer: it grows on the spatial spring, takes clicks
from its first frame, focuses the first row, and keeps the arrow keys,
type-ahead, Escape and Back. Rows run after the popup starts closing, as
menu items do, and the closing popup lets clicks through. Reduced motion
keeps the instant MenuAnchor route.
The Downloads popover hosts custom content rather than menu rows, so it
returns to the instant MenuAnchor instead of the 500 ms reveal.
The transition keeps the shell painted through the entrance, so its
Visibility no longer excluded focus at once: a search field left focused
underneath kept taking Space for up to half a second. Exclude focus from
the shell while Now Playing is open and from Now Playing while it leaves,
as before the transition.
The Material right-click and Downloads menus now use MenuAnchor's
animated reveal and close when expressive motion is on; reduced motion
and Mornye keep them instant. The right-click route lets clicks through
while its menu closes, so a click right after Escape is not swallowed,
and the Downloads toggle follows the animation status so a click during
the close reopens it.
Desktop tooltips wait for a hover: 800 ms in Mornye, as its sidebar rows
already do, and 500 ms in Material, the Windows and Linux toolkit delay,
so sweeping across the bar or rail no longer flashes labels.
Now Playing used to replace the shell in one frame. It now fades in over
the shell, which keeps painting until the entrance ends: Material fades on
the effects spring and rises 24dp on the critically damped slow spatial
spring, Mornye dissolves. Both exit with a shorter eased fade while Now
Playing stays mounted, and an exit started during the entrance (Esc)
fades out from where it is. Reduced motion keeps the instant swap.
A skip by button, headset or autoplay cut the cover and the title lines
on the desktop player bar (Material summary and Mornye LCD), desktop Now
Playing, the desktop mini player and the phone mini player, while the
Material full player slid its titles in on an overshooting spring.
PlayerArtwork takes an optional crossfade that keeps the previous cover
under the new one until the new one has a frame, then fades it in.
PlayerTrackCrossfade fades the title lines through (old out, then new
in) without moving them, so rapid skips never stack readable titles.
Material uses the effects spring, Mornye a 200ms ease, reduced motion
cuts. The Material full player cover fades on the effects spring and
grows on the slow spatial spring, which does not overshoot.
The phone mini player's title lines follow a sideways swipe through
PlayerTrackSwipe.follow and return to rest on release, with the cover
still. The release keeps the mini player's own rules: next and previous
like the transport buttons, and the paused Material dismiss.
Scrollable reads the pressed keys when each piece arrives and turns a Shift-held vertical delta sideways, so pressing Shift while a notch was still easing sent its rest into a horizontal row. The smoother now drops the rest instead.
Flutter scrolls a mouse wheel notch's full step in one frame, which reads
as stepping on Windows and Linux (issue #841). A desktop binding now
holds each notch and sends it on as one smaller scroll event per frame,
so every scrollable eases over about 150 ms without overshoot and lands
where the notch would have. Same-direction notches add up, a reversal
or a click drops the rest.
Touchpads, small high-resolution deltas, sideways and Shift-held wheels,
reduced motion and the desktop volume wheel pass through untouched.
DESKTOP_WHEEL_SMOOTHING=false turns it off.
Network covers popped from their placeholder to the image. They now
dissolve once they decode: the effects spring on Material, 150 ms
ease-out on Mornye. The placeholder fades off the opaque cover so the
page never shows between them. A cover already in the memory cache
loads synchronously and shows at once, so scrolling back never fades
again; reduced motion, explicit zero (player artwork) and fast flings
keep the cut.
Home and artist cover tiles had no hover. The hover visual of
DesktopHoverPlayButton is now DesktopCoverHover: click cursor, an 8%
Material state layer (10% pressed) on the effects spring or the Mornye
scrim, darker while pressed, and Play only where a play action exists.
Home explore tiles, artist album shelves and grids and the Mornye Latest
Release use it; TvTapTarget keeps tap and TV focus.
The reduced-motion rail was keyed by its extended state, so every expand
or collapse built a new NavigationRail and a focused destination lost
keyboard focus. The key is gone: Flutter's extend controller already
honours the platform's reduced-motion flag, which shortens its 200 ms to a
single frame, so the rail still snaps while keeping its element tree.
A pill deselected mid-grow jumped to full width while it faded out, and
its grow tween kept ticking for about 225 ms after the fade had ended.
The indicator now drives explicit controllers: a deselect stops the grow
where it is and only reverses the fade, so the pill fades at the width it
reached and nothing runs once it is invisible. Reselecting a pill that is
still fading grows it on from its current width.
Home's explore sizing read the whole pane size from its state, so every
resize, rail-expand and inspector frame rebuilt the full Home tree. On
desktop the card scale is now the constant it always clamps to, the
height cap and the empty state read MediaQuery.heightOf, and Material
desktop decides tablet type sizes by height alone (its pane is always
wider than 600). Library's cover size takes its desktop constant, and
wideListInset depends on width only.
Material PageView pages now sit in the hidden-tab MediaQuery that Mornye's
LazyTabView already used (exported as HiddenTabMediaQuery), so kept-alive
hidden tabs keep their last size until they show again.
Under reduced motion Flutter's NavigationRail ran its 200 ms extend
animation; a rail per state now snaps to its width.
Desktop Material table rows, album rows, rail destinations, rail Playlists
rows and the player bar summary spread an InkRipple across wide surfaces.
They now share desktopRowInk, which follows the wide search cells: no
splash and a 10% pressed state layer of the row's content colour. Phones,
tablets and Mornye keep the theme's ink, and buttons keep their own press.
The Material rail's selection pill now grows from its centre on the fast
spatial spring while its fill fades in on the fast effects spring; the old
pill fades out faster. Destinations and Playlists rows share it, and the
reduced-motion NavigationRail fallback stays.
Material shelf arrows fade in on the effects spring and out in 100 ms
through the shared arrows fade, which still leaves a zero-size child at
rest. Under reduced motion the fade shows and hides at once instead of
running a zero-length tween that set state during its own build.
The Mornye sidebar tint tweens over the same 300 ms as its artwork
backdrop instead of landing in one frame.
Update every package that resolves without lifting a documented pin.
Riverpod 3.5 deprecates Ref.exists; reading provider.exists keeps the
same check without creating the provider.
dart_smb2 0.2.5 brings libsmb2 security fixes (no plaintext request on
an encrypted session, no out-of-bounds read on armeabi-v7a).
flutter_local_notifications 23 only raises build minimums the app
already meets (compileSdk 37, AGP 9.1.1). The FFmpegKit fork takes the
2.5.8 Dart fix for Windows apps without a stdout handle; its native
libraries are unchanged.
Kept: flutter_secure_storage 10, desktop_drop 0.8, connectivity_plus,
bonsoir and dbus 0.7, and flutter_rust_bridge 2.11.1, for the reasons
noted in pubspec.yaml.
The Mornye menu poured from the center of its anchor, which is as wide
as the menu, so it started 140 points right of the button or pointer.
In the Library that put the open and close animation over Downloads
instead of the folder button.
Separate where the menu sits from where it opens: it opens out of the
pointer, or the center of a button that passes one.
Float Lyrics and Up Next as a slim glass panel over the pane while the
window is not full screen, with no title bar and the capsule beside it.
Give the desktop player More and Favorite discs, Music's menu, and shuffle
and repeat at the transport's ends. Set Home's desktop text at Music's
smaller sizes.
Follow Music more closely across the Mornye style:
- The tab bar folds on a spring and its own glass narrows into the leading
circle, with the side circles stretching along their travel.
- Context menus open as a drop at the control and pour out, height ahead of
width, while their rows stay still.
- The desktop artist page puts Latest Release beside Top Songs in one
snapping sideways row, with album shelves of four covers to the pane.
- The desktop Up Next panel carries only AutoPlay and AutoMix.
- Blue is the default accent; a saved accent stays.
- The desktop capsule's text, artwork radius, icons and seek bar move closer
to Music.
Run the sidebar flush with the window and show the page hero under it,
group Share and More in a glass capsule on the artist page, and add a
shared fluid press for glass controls. Tighten the capsule, shelf arrows,
hover play button and popover timing to the measured web values.
The player bar's previous, play-pause and next now form the expressive
transport group at a new 40dp dense size: tonal previous and next, a
primary play button that rests round and turns square while playing, and
the press squish. Without expressive motion the plain row stays.
Add "Upload to network storage" for Library songs stored on this device:
the phone track menu, the desktop Library track menu, the Library
selection toolbar and the local and downloaded album headers. It is
hidden for network and Link songs, offline copies, CUE tracks and when
no SMB or WebDAV connection is saved.
The flow offers the network download destination when it accepts
uploads, or a connection whose folders open in the network browser in a
folder-only picker mode. Songs go to Album Artist/Album/<file name>, with
any .lrc beside the file. A name already on the server is skipped and never
replaced; the transfer publishes through the existing non-overwriting
rename. One cancellable upload runs at a time with the Save offline
progress sheet and a saved, already there and failed summary. Content
URIs are copied to a temporary file first. Network Library folders that
received files rescan afterwards.
Escape walked destination history after the contributed Back and Forward
history, and in full screen it left the window mode before closing a
page inside the destination. Escape again only closes layers; Back
closes the same layers, then returns to the previous destination.
History is now recorded where the shell reports every destination
change (ShellNavigationService.syncState), not only for requests routed
through MainShell, so sidebar clicks and shortcuts enter it too. Back
and Forward skip a destination that is no longer shown, such as a
hidden Store, and switch destinations without resetting Search.
The keyboard Back and Forward keys are now regular command shortcuts on
Windows and Linux, so Keyboard Shortcuts lists them. Forward also gets
its own row there and a View menu item on macOS.
- iOS: a Swift plugin drives the Rust sender on the existing cast
channels. A silent mixable loop keeps the app serving audio while a
session is connected. Audio output now opens the same sheet as
Android, with AirPlay and Bluetooth opening the system route picker.
- Desktop: CastOutput talks to the Rust sender through the backend
channel. Material shows a Cast button in the player bar that gives
way after the volume slider in narrow windows; the Mornye capsule
puts Cast in its volume popover.
- iOS and desktop pick receivers in a new app sheet that looks for
devices while open and connects on tap.
- Android keeps Google's sender and dialog, and now serves media from
the Rust server. The Dart CastMediaServer is removed.