Skip to content

lockscreens: world-machine 1.0.3, soundtrack plays at the login screen - #229

Merged
neur0map merged 1 commit into
Ryoku-dev:mainfrom
CratusGod:lockscreens/world-machine-1.0.3
Nov 30, 2026
Merged

neur0map merged 1 commit into
Ryoku-dev:mainfrom
CratusGod:lockscreens/world-machine-1.0.3

Conversation

@CratusGod

Copy link
Copy Markdown
Contributor

What is this?

World Machine 1.0.3, a lockscreen fix: the background video's soundtrack now plays at the SDDM login screen.

At the greeter the video played silently. sddm-greeter-qt6 logged Ignoring dummy output and then No audio device detected. The greeter's first audio connection socket-activates PipeWire for the sddm user, so when the theme loads the only sink is PipeWire's auto_null dummy. The AudioOutput bound to that empty default at creation and never switched when WirePlumber published the real sinks a second later.

What changed

Only content/Main.qml (plus a line in PROVENANCE.txt):

  • AudioOutput.device is bound to MediaDevices.defaultAudioOutput, so it follows the default sink as it appears.
  • A Connections on audioOutputsChanged re-points the output when the sink list changes.
  • Video, volume (0.6), looping and the in-session lock behaviour are unchanged. The maintainer's midnight date rollover from 1.0.2 is kept.

Checklist

  • One folder under its catalogue with a manifest and a real preview image (not a placeholder).
  • One entry updated in that catalogue's registry.json (lastUpdated in YYYY-MM-DD; official: false for community items).
  • Tested live in Ryoku, it renders and behaves correctly (see DEVELOP.md).
  • tests/validate-catalogue.sh passes from the repo root.
  • I own or have permission to submit this content, and it is licensed for redistribution.
  • It does not overwrite user configuration or run privileged commands without clear consent.

Testing

  • tests/validate-catalogue.sh: catalogue OK. tools/security-screen.py --staged: 0 blocking. The warnings are the same 232 as on main, none in this item.
  • Compile-checked offscreen under both import contexts (stock Qt 6, and the in-session lock's QtMultimedia shim on the import path). In both, the output bound to the real default sink.
  • Root cause confirmed from the greeter's journal on the submitter's machine. A live check at the greeter follows once this version is installed.

Unchanged

Nothing else: same video, art and font. manifest.json is updated for the two changed files, and the version and lastUpdated are bumped.

Maintenance

I (@CratusGod) maintain this item.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@neur0map neur0map left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🔍 mika reviewed this change; details in the walkthrough comment.

🧹 Nitpicks (1) — optional, not blocking
  1. lockscreens/world-machine/content/Main.qml:185-188 — Possible Bug — Assigning bgAudio.device in onAudioOutputsChanged removes its QML binding to defaultAudioOutput. After the first device-list change, a later default-output change that does not alter the device list will no longer…

@neur0map

Copy link
Copy Markdown
Member

🦊 mika's review

Summary

  • Route World Machine's soundtrack to the available default audio output.
  • Release the updated lockscreen as version 1.0.3.

Estimated review effort: 1/5 · risk: low

📁 Walkthrough details

lockscreens/world-machine/content/Main.qml

  • Bind the background video's audio output to the default device and refresh it when the output list changes.
  • Address the SDDM startup case where real audio sinks appear after the theme loads.
    • Add MediaDevices and an audio output change handler.
    • Keep the existing volume, playback, and looping settings.

lockscreens/world-machine/manifest.json

  • Update the package manifest for version 1.0.3 and the changed files.
    • Refresh sizes and SHA-256 hashes for Main.qml and PROVENANCE.txt.

lockscreens/registry.json

  • Publish the updated World Machine catalogue metadata.
    • Bump the version, manifest hash, and update date.

lockscreens/world-machine/PROVENANCE.txt

  • Document the soundtrack's default-output behavior at the login screen.
    • Update the theme's change notes.

No blocking findings.

1 nitpick listed in the first review

🧪 No relevant tests detected in the diff.

🚦 Merge recommendation: needs_review


🦊 Generated by Mika — the Ryoku org's self-hosted AI code reviewer. Machine findings: verify before merging.

@neur0map
neur0map merged commit 9c0feca into Ryoku-dev:main Nov 30, 2026
2 checks passed
neur0map added a commit that referenced this pull request Nov 30, 2026
@neur0map

Copy link
Copy Markdown
Member

Thanks for the work here, merged and it's live in the store now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants