Skip to content

Big Picture: What's New sized for the TV, and messages centred - #140

Merged
elripalda merged 3 commits into
elripalda:mainfrom
Xarishark:fix/big-picture-whatsnew-toast
Nov 13, 2026
Merged

elripalda merged 3 commits into
elripalda:mainfrom
Xarishark:fix/big-picture-whatsnew-toast

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Series: launcher updates and Big Picture fixes. Merge one at a time, in this order. Each one stays a draft until the one before it is in.

  1. Big Picture B no longer dismisses a busy dialog #127 Big Picture: B no longer closes a busy dialog
  2. Big Picture: the launcher's own update gets a row on the Downloads page #139 Big Picture: Downloads gets a launcher update row
  3. Big Picture: What's New sized for the TV, and messages centred #140 Big Picture: What's New sized for the TV, messages centred
  4. Mac: the launcher updates itself from the release's disk image, with rollback #126 Mac: the launcher updates itself, with rollback
  5. linux appimage self update #125 Linux: the AppImage updates itself

This is 3 of 5. After #127 there's one conflict, in ui/tv.js where an open dialog handles the controller: keep this PR's up/down scrolling line and #127's if (name === 'b') { if (!dlg.dataset.busy) dlg.remove(); }.


Two Big Picture layout fixes seen on Linux (KDE Plasma, 2000px-wide window) with 0.90 Beta 41. Both are in released code, separate from the updater PRs.

What's New in Big Picture

Before: the dialog used the desktop card: 480px wide. On a TV the notes wrapped into a tall, narrow column with most of them cut off at the bottom, and a controller couldn't scroll them, because an open dialog only answered A and B.

After (TV mode only):

  • The window is min(1040px, 88vw) wide. The title is its header (28px) and the notes scroll below it (19px text, up to 62vh), with Got It underneath.
  • Up and down on the controller scroll the dialog's notes (dialogScroll in ui/tv.js). A dialog without notes scrolls as a whole.
  • Desktop is unchanged: still the 480px card, same text size.

The message at the bottom of the screen

Before: messages such as "Downloading the new RecompLauncher…" sat right of centre. In TV mode app.css already centres the island that holds them (body.tv-on .island{left:50%}), and an old tv.css rule on .toasts also added transform: translateX(50%). That pushed them right by half their own width. The rule's top/right never applied, because .toasts isn't positioned, so only the shift took effect.

After: the leftover rule is gone and messages sit centred at the bottom. The bigger TV text size is kept. Desktop isn't affected because the rule was TV-only.

Checked

  • I reproduced What's New on the bazzite-kde VM with the installed Beta 41 in Big Picture.
  • With the real app.css + tv.css at 2000×1125 (TV mode): the dialog is 1040px wide and centred, and the message is centred at x=1000.
  • At 1280×800 (desktop): the dialog is still 480px, as before.
  • node --check ui/tv.js passes and node --test tests/*.test.cjs passes 70/70 (Node in the VM's tools container).
  • New tests/tv-dialogs.test.cjs checks the TV width rule, the controller scrolling, and that .toasts isn't shifted again inside the centred island.
  • Not checked: a launcher built from this branch, on the real screen.

@elripalda
elripalda merged commit b73e969 into elripalda:main Nov 13, 2026
4 checks passed
@Xarishark
Xarishark deleted the fix/big-picture-whatsnew-toast branch November 13, 2026 12:03
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