Skip to content

Expressive media player design / Bento rework / Lyrics features - #3932

Merged
bbedward merged 17 commits into
duxlabs-dev:masterfrom
apollo79:expressive-player
Oct 31, 2026
Merged

bbedward merged 17 commits into
duxlabs-dev:masterfrom
apollo79:expressive-player

Conversation

@apollo79

Copy link
Copy Markdown
Member

Description

This is a rework of the Bento media player design for DuxDash that adds a cleaner design and new lyrics features:

new Bento player design

  • different squiggly seekbar style
  • shuffle and repeat moved into a button row with lyrics and output - more space for playback control (prev, play / pause, next)
  • full rounding for prev, play / pause, next buttons
  • filled icons for prev, play / pause, next
  • output and player sheet moved into integrated sheets that overlay the controls area
  • removed background for the controls area
  • new default style for the song title, using google sans flex in a rounded variant
  • removed the volume button / slider (?!)
  • changes to the "rotating cookie" artwork style: it is the default for bento player now and morphs between a circle (paused) and the rotating cookie (playing). There is a setting to turn off the rotation for performance reasons.

New lyrics features (apply to both the Material and the Bento style)

  • instrumental indicator, using a new circular wavy progress component from dux-qml-common, ported from the kotlin version
  • progressive syllable / word fill: The words don't get highlighted one after the other anymore but fill smoothly
  • cleaner line transitions
  • edge fade (Bento only): a shader that smoothly fades out opacity at the top and bottom
  • clean scrolling when clicking "follow playback" or the seekbar
  • "follow playback" button hovering over the lyrics instead of having a solid background
  • virtualized lyrics list (for performance reasons)

Depends on duxlabs-dev/dux-qml-common#28

Other

  • The Bento style for the DuxDash Overview has been adapted
  • An option for the bar widget has been added that allows the progressive lyrics fill. It is defaul-off since it could cause performance reason because of the heavy re-rendering to make it smooth

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

recording_2026-10-26_02-22-23.mp4

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dlx-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

Use of AI

Most of this was written by AI with me testing everything by hand and reviewing the code. I also ran multiple AI reviews covering different aspects like performance, code style, use of existing components myself and hope I fixed most issues.

Questions / To be done

  • Check for performance. There is some stuff here like the squiggly line, the rotating expressive cover, the progressive line fill and the shader at the edge of the lyrics view. Everything but the last thing is toggleable and I have a version that uses decreasing opacity instead of the edge shader locally.
  • We would like to rename the player style to something like "Expressive" but the other style is called "Material" so this wouldbe kinda weird.
  • The volume slider was removed because it is very hard to fit and there are many other ways of controlling the volume like the control center, the volume slider in outputs and keys on the keyboard. It can be added back though.

@hthienloc

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.

  • Note, not a defect: the description mentions a setting to turn off the cookie rotation, but the diff has no such option. Only reduce motion or the animation speed setting stops it, and the cookie is now the default artwork.
    Checked: LyricsController jump/followIndex and its consumers, LyricsModel.js, LyricsLine/LyricsOverlay (pooling, follow scroll, FrameAnimation gating), bar lyric sweep, DSeekbar handle mapping, MediaArtSurface shader and spin gating, MediaPlaybackSheet and inline panel focus, MediaPanel/MediaChromeBase, overview card, removed props/files (deviceName, LyricsVocal, MediaSourceGroup, wordTime, focusedGroups) for leftover references, deprecated shims, I18n. Model: claude-opus-5-5.

@github-actions github-actions Bot added feature packaging ui Quickshell UI under quickshell/ labels Oct 31, 2026
@bbedward

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the full diff including 56d9e67 (added since the last review): LyricsController followIndex/jumping/seekToTime, LyricsModel.js (items, centre pick, cue spans, row layout, fill edge), LyricsLine pooling/reuse and linger/hold timers, LyricsOverlay follow, spring scroll, height cache and FrameAnimation gating, bar lyric sweep, DSeekbar handle mapping and its defaults for other users, MediaArtSurface cookie shader and spin gating, MediaPlaybackSheet and inline panel focus, MediaPanel sheetPanel routing, MediaSinkVolume/MediaDeviceRow, overview card, removed props and files for leftover references, deprecated shims, I18n terms and the settings index. Model: claude-opus-5-5.

@bbedward

Copy link
Copy Markdown
Member

/claude review

Comment on lines +23 to +26
onLyricsOpenChanged: {
if (!lyricsOpen)
lyricsHeld = false;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lyricsHeld only turns on when lyricsReady changes while lyrics are open. If lyrics are already loaded when they open, pending is false at that moment and the ready handler never fires. That covers opening the dash with lyrics restored from CacheData, or toggling them on for a track that already has lyrics. On the next track change, restart() → resume() sets pending again, lyricsShown turns false, and the art flashes back in, which is the case this hold is meant to stop. It works from the second track change on.

Set the hold when lyrics open too:

Suggested change
onLyricsOpenChanged: {
if (!lyricsOpen)
lyricsHeld = false;
}
onLyricsOpenChanged: lyricsHeld = lyricsOpen && lyricsReady

@claude

claude Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Claude review

One issue in the latest commit (b506bdc).

  • Lyrics hold never turns on when lyrics are already loaded at open, so the art flashes back on the first track change. quickshell/Modules/DDash/Media/MediaArtView.qml:23
    Checked: b506bdc (added since the last review). That covers the MediaPanel removal and moving volume into MediaPlaybackSheet (panel routing, focus targets, J/K/M keys, revealVolume), the MaterialChrome hero, the sheet and moving lyrics into MediaArtView, the LyricsController restart hold and its shownTime consumers (the bar line and the overlay clock), the MediaAccentService accent crossfade, leftover references to deleted files, deprecated shims and I18n. Model: claude-opus-5-5.

@bbedward
bbedward merged commit 3ba2fa5 into duxlabs-dev:master Oct 31, 2026
4 checks passed
purian23 pushed a commit that referenced this pull request Nov 1, 2026
@apollo79
apollo79 deleted the expressive-player branch November 10, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature packaging ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants