Repository navigation
Big Picture: every choice in a dialog can be picked with the controller - #470
Merged
3 commits merged intoNov 24, 2026
Merged
3 commits merged into
3 commits merged into
Conversation
A dialog from the desktop view that has no sheet of its own showed over Big Picture with only three things a controller could do: A pressed its main button, B closed it, and up and down scrolled it. Any other button, switch or list in it needed a mouse. The d-pad now moves the highlight through the dialog with the desktop view's own controller handling (deskPad), so every choice can be reached and picked. The first press lights the main button, and A presses it at once, as before. Up and down still scroll long text (What's New) while there's nothing to pick on screen that way, and the controller answers the newest dialog when one opened another. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…g the source The four dialog tests matched lines of tv.js, so they kept passing if the d-pad stopped working on a dialog. They now run the desktop's controller handling (deskPad, from app.js) and Big Picture's press() with the dialog code (from tv.js) together on a small fake page, as desktop-pad.test.cjs does, and check what happens: A on a dialog with nothing lit presses its main button, the first direction lights it without pressing it, the next one moves to the other button and A presses that, B closes a dialog but not a busy one, down scrolls long text while no choice shows below, the newest of two dialogs answers, and without deskPad up and down still scroll. tv.js is unchanged: press() is cut out of its wrapper as it is.
The desktop's controller code on main now listens for the window losing focus, so running it on a window without addEventListener threw before any dialog test began.
Xarishark
approved these changes
Nov 24, 2026
Xarishark
left a comment
Collaborator
There was a problem hiding this comment.
All notes resolved and CI passed. Approving.
01521ba
Xarishark
added a commit
that referenced
this pull request
Nov 25, 2026
elripalda
added a commit
that referenced
this pull request
Nov 25, 2026
* Beta 69 notes: everything merged since the first test build Beta 69 was never published, so it's rebuilt from main with the fixes found while testing it and the other changes merged since. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Beta 69 notes: Big Picture dialog choices with the controller (#470) --------- Co-authored-by: Ripalda <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Zacharias Xenakis <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A dialog from the desktop view that has no Big Picture sheet of its own still shows over Big Picture (the launcher's own update errors, and the ones that come from events). The controller could only do three things there: A pressed its main button, B closed it, up and down scrolled it. Any other button, switch or list in it needed a mouse.
What changed (
ui/tv.jsonly)deskPad), which already moves a highlight between a dialog's buttons, switches, lists and sliders. Every choice in the dialog can now be reached and picked..scrimin the page).#appis hidden in Big Picture andpadTargetsleaves out what's hidden, so the highlight never lands on the desktop view under it when a dialog closes.Testing
node --test tests/*.test.cjspasses. The old dialog-scroll test now checks the new rule, with tests for the d-pad, the first A, and the newest dialog.🤖 Generated with Claude Code