UI: stop scaling at 1.5 on a desktop (a 1440p or ultrawide screen made everything twice as big); the TV mode still scales to the screen
Sync git.upriser.nl mirror / sync (push) Skipped

This commit is contained in:
theupriser committed 2026-10-15 20:33:16 +02:00
1 parent 0bb5708769
commit e942f3264d
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ one per merged pull request.
- `645b331` **feat: the GNOME theme installs GNOME Settings with the "GNOME Desktop" panel (dock, desktop icons, tiling) as a prebuilt package, downloaded from the `settings` release of steamify-gnome-theme (built by GitHub Actions on current Arch, rebuilt weekly) and checked against its `.sha256`; a failure keeps the stock Settings. Turning the theme off puts the stock `gnome-control-center` back. Installs with the GNOME theme on re-apply it (feature version 2.13.0)**
- **feat: after the GNOME theme is applied in a GNOME session, the app's done screen has "Restart GNOME" (GNOME Shell on Wayland can't restart in place, and the dock, extensions and Settings panel only show after a new login): with GDM autologin (the SteamOS conversion) Steamify's relogin helper logs the user straight back into the session they were in (without changing the session gaming mode's boot goes back to), else it is a plain logout (`gnome-session-quit`)**
- **fix: the app on a desktop (a window, however large, also fullscreen) stops scaling at 1.5: on a 1440p or ultrawide monitor it was twice as big as designed (the scale followed the screen's height). The TV mode (`--fullscreen`, gamescope) still scales to the screen**
## 2.12.0 - 2026-10-13
+3 -1
View File
@@ -36,7 +36,9 @@ ApplicationWindow {
// own shape, so the bars reach the edges and the content fills it.
Item {
id: stage
readonly property real k: Math.min(win.width / 1280, win.height / 720)
// On a desktop (a window, however large) the scale stops at 1.5: a 1440p or ultrawide monitor would otherwise show
// everything twice as big. The TV mode (--fullscreen, gamescope) scales to the screen: it is read from the couch.
readonly property real k: Math.min(win.width / 1280, win.height / 720, win.fullscreen ? Infinity : 1.5)
width: win.width / k; height: win.height / k
transformOrigin: Item.TopLeft
scale: k