From decacde991de34eb195609a8896fa37680abda92 Mon Sep 17 00:00:00 2001 From: Filipe Moreira Date: Wed, 18 Nov 2026 08:30:13 -0300 Subject: [PATCH 1/4] fix: coming back to Home with LB/RB keeps the chosen launcher The focus picks the launcher on Home. Switching back from Session or System with LB/RB or Page Up/Down, the page that hides dropped the focus on the first tile (Steam), which picked it. Focus that arrives from another tab's page, or from nothing, no longer picks. Also from the log in the same issue: the controller-connect watcher ran CanTrigger, which reads AppWindow, on a Windows.Gaming.Input thread (RPC_E_WRONG_THREAD), so "enter when a controller connects" could fail. The decision now runs on the UI thread. Fixes #217. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.en-US.md | 3 +++ CHANGELOG.md | 3 +++ docs/TESTING.md | 6 +++++ .../Services/ControllerConnectWatcher.cs | 25 +++++++++++++++---- src/ConsoleMode/Views/ConsoleHomeView.xaml.cs | 14 +++++++++-- 5 files changed, 44 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 4e18613..1252a57 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -3,6 +3,9 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Before publishing a version, add a `## [VERSION]` section to **both** files: the workflow publishes the section matching the tag from each one and fails if either is missing. ## [Unreleased] +### Fixes +- Home: coming back from another tab with LB/RB (or Page Up/Page Down) no longer switches the chosen launcher to Steam. The page that hides left the focus on the first tile, and the focus picks the launcher (reported by PLEXX-DE, issue #217). (#NNN) +- **Enter when a controller connects**: turning the controller on could fail to start the session and leave an error in the log, because the check read the window off the UI thread (seen in the log of issue #217). (#NNN) ## [1.7.1-beta.1] ### What's new diff --git a/CHANGELOG.md b/CHANGELOG.md index 61e2f17..e6562fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CHANGELOG.en-US.md`. Antes de publicar uma versão, adicione uma seção `## [VERSÃO]` com o changelog daquela versão **nos dois arquivos**. O workflow publica as duas seções correspondentes à tag na mesma release e falha se faltar alguma. ## [Unreleased] +### Correções +- Início: voltar de outra aba com LB/RB (ou Page Up/Page Down) não troca mais o iniciador escolhido pela Steam. A página que some deixava o foco no primeiro bloco, e o foco escolhe o iniciador (relatado pelo PLEXX-DE, issue #217). (#NNN) +- **Entrar ao conectar um controle**: ligar o controle podia não começar a sessão e deixar um erro no log, porque a checagem lia a janela fora da thread da interface (visto no log da issue #217). (#NNN) ## [1.7.1-beta.1] ### Novidades diff --git a/docs/TESTING.md b/docs/TESTING.md index 156456e..73b2802 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -547,6 +547,12 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] Com a sessão ativa e a opção ligada, minimizar e reabrir pela bandeja continua funcionando; o atalho do controle para abrir o app também traz a janela de volta. - [ ] Fechar no X (sem sessão ativa) continua fechando o app, com a opção ligada ou desligada. +## Iniciador escolhido ao trocar de aba (#NNN, issue #217) + +- [ ] Início com Playnite escolhido: RB (ou Page Down) para Sessão e LB (ou Page Up) de volta. O Playnite continua escolhido na Início e em Sistema → Ao entrar no modo console → Abrir. O mesmo indo até Sistema e voltando. Resultado: ______ +- [ ] Andar pela fileira com o direcional ainda troca o iniciador, e descer da barra de abas até um bloco também escolhe esse bloco. Resultado: ______ +- [ ] Com **Entrar ao conectar um controle** ligado e o app na bandeja: ligar o controle começa a sessão, e o log tem "Controle conectado: …; auto-start sim" sem nenhum "Unhandled". Com a janela aberta: "auto-start não", também sem erro. Resultado: ______ + ## Esconder os ícones da área de trabalho na sessão (#214, issue #210) - [ ] Ligado, numa sessão de verdade na TV: os ícones não aparecem na TV em nenhum momento depois que a sessão começa (nem atrás do iniciador) e voltam nas telas da mesa ao voltar ao PC. Resultado: ______ diff --git a/src/ConsoleMode/Services/ControllerConnectWatcher.cs b/src/ConsoleMode/Services/ControllerConnectWatcher.cs index be442b2..fca6105 100644 --- a/src/ConsoleMode/Services/ControllerConnectWatcher.cs +++ b/src/ConsoleMode/Services/ControllerConnectWatcher.cs @@ -40,14 +40,29 @@ public ControllerConnectWatcher(DispatcherQueue dispatcher) /// Call when a session ends, so the pad waking up doesn't start another one. public void QuietFor(TimeSpan span) => _quietUntil = DateTime.UtcNow + span; + /// + /// Raised on a Windows.Gaming.Input thread. CanTrigger reads the window (AppWindow), which only the UI thread may + /// touch (it threw RPC_E_WRONG_THREAD, issue #217), so the decision is made there. + /// private void OnAdded(object? sender, RawGameController controller) { var now = DateTime.UtcNow; - var can = CanTrigger?.Invoke() ?? false; - AppLog.Write($"Controle conectado: {controller.DisplayName}; auto-start {(ControllerConnectPolicy.ShouldTrigger(now, _startedAt, _quietUntil, can) ? "sim" : "não")}; " + ControllerInput.DescribeDevices().ReplaceLineEndings(" | ")); - _dispatcher.TryEnqueue(() => PresenceChanged?.Invoke()); - if (!ControllerConnectPolicy.ShouldTrigger(now, _startedAt, _quietUntil, can)) return; - _dispatcher.TryEnqueue(() => Connected?.Invoke()); + var name = controller.DisplayName; + var devices = ControllerInput.DescribeDevices().ReplaceLineEndings(" | "); + _dispatcher.TryEnqueue(() => + { + bool can; + try { can = CanTrigger?.Invoke() ?? false; } + catch (Exception ex) + { + AppLog.Write($"Controles: não deu para ver se a sessão deve começar: {ex.Message}"); + can = false; + } + var trigger = ControllerConnectPolicy.ShouldTrigger(now, _startedAt, _quietUntil, can); + AppLog.Write($"Controle conectado: {name}; auto-start {(trigger ? "sim" : "não")}; {devices}"); + PresenceChanged?.Invoke(); + if (trigger) Connected?.Invoke(); + }); } private void OnRemoved(object? sender, RawGameController controller) diff --git a/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs b/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs index e87a6fe..935f8fc 100644 --- a/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs +++ b/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs @@ -34,6 +34,9 @@ public sealed partial class ConsoleHomeView : UserControl /// Click fires. That click picks it and leaves the focus where it is; A or Enter at any other moment is not one. /// private bool _launchPointerDown; + + /// The arriving focus left another tab's page, or nothing (see PickFocusedLauncher). + private bool _focusFromOtherPage; private int _shownTab; private static readonly Windows.UI.ViewManagement.UISettings Ui = new(); @@ -49,6 +52,9 @@ public ConsoleHomeView() Unloaded += (_, _) => { _navigator?.Dispose(); _navigator = null; _clock?.Stop(); }; // Preview (tunnelling): a ScrollViewer would otherwise swallow the arrows to scroll the page. Root.PreviewKeyDown += OnKeyDown; + // Where the arriving focus comes from, for PickFocusedLauncher (GotFocus doesn't say). + Root.GettingFocus += (_, e) => _focusFromOtherPage = + e.OldFocusedElement is not { } old || IsInside(old, SessionPanel) || IsInside(old, SettingsPanel); // The focused card grows a little, like the Xbox home; on the Home row it also picks the launcher. Root.GotFocus += (_, e) => { ScaleTile(e.OriginalSource, 1.07f); PickFocusedLauncher(e.OriginalSource); }; Root.LostFocus += (_, e) => ScaleTile(e.OriginalSource, 1f); @@ -1018,10 +1024,14 @@ private void StartClock() private void OnClockTick(Microsoft.UI.Dispatching.DispatcherQueueTimer sender, object args) => ClockText.Text = DateTime.Now.ToString("HH:mm"); - /// Like a console's game row: the launcher under the focus is the one that opens. + /// + /// Like a console's game row: the launcher under the focus is the one that opens. Not when the focus comes from + /// another tab's page: switching back with LB/RB or Page Up/Down, the page that hides drops the focus on the first + /// tile (Steam), and that must not change the pick (issue #217). + /// private void PickFocusedLauncher(object source) { - if (source is Button { DataContext: LaunchTile tile }) ViewModel.SelectLaunchTileCommand.Execute(tile); + if (!_focusFromOtherPage && source is Button { DataContext: LaunchTile tile }) ViewModel.SelectLaunchTileCommand.Execute(tile); } /// A panel over the page (a picker, the tour, the editor...): the tile menu waits for it to close. From acf8eb671ea2bbe09f5108cf0ea31dcdba950c8c Mon Sep 17 00:00:00 2001 From: Filipe Moreira Date: Wed, 18 Nov 2026 08:30:26 -0300 Subject: [PATCH 2/4] docs: PR number for #217's fix Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.en-US.md | 4 ++-- CHANGELOG.md | 4 ++-- docs/TESTING.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 1252a57..6784198 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -4,8 +4,8 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Befor ## [Unreleased] ### Fixes -- Home: coming back from another tab with LB/RB (or Page Up/Page Down) no longer switches the chosen launcher to Steam. The page that hides left the focus on the first tile, and the focus picks the launcher (reported by PLEXX-DE, issue #217). (#NNN) -- **Enter when a controller connects**: turning the controller on could fail to start the session and leave an error in the log, because the check read the window off the UI thread (seen in the log of issue #217). (#NNN) +- Home: coming back from another tab with LB/RB (or Page Up/Page Down) no longer switches the chosen launcher to Steam. The page that hides left the focus on the first tile, and the focus picks the launcher (reported by PLEXX-DE, issue #217). (#218) +- **Enter when a controller connects**: turning the controller on could fail to start the session and leave an error in the log, because the check read the window off the UI thread (seen in the log of issue #217). (#218) ## [1.7.1-beta.1] ### What's new diff --git a/CHANGELOG.md b/CHANGELOG.md index e6562fe..85fa406 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,8 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CH ## [Unreleased] ### Correções -- Início: voltar de outra aba com LB/RB (ou Page Up/Page Down) não troca mais o iniciador escolhido pela Steam. A página que some deixava o foco no primeiro bloco, e o foco escolhe o iniciador (relatado pelo PLEXX-DE, issue #217). (#NNN) -- **Entrar ao conectar um controle**: ligar o controle podia não começar a sessão e deixar um erro no log, porque a checagem lia a janela fora da thread da interface (visto no log da issue #217). (#NNN) +- Início: voltar de outra aba com LB/RB (ou Page Up/Page Down) não troca mais o iniciador escolhido pela Steam. A página que some deixava o foco no primeiro bloco, e o foco escolhe o iniciador (relatado pelo PLEXX-DE, issue #217). (#218) +- **Entrar ao conectar um controle**: ligar o controle podia não começar a sessão e deixar um erro no log, porque a checagem lia a janela fora da thread da interface (visto no log da issue #217). (#218) ## [1.7.1-beta.1] ### Novidades diff --git a/docs/TESTING.md b/docs/TESTING.md index 73b2802..eda98c8 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -547,7 +547,7 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] Com a sessão ativa e a opção ligada, minimizar e reabrir pela bandeja continua funcionando; o atalho do controle para abrir o app também traz a janela de volta. - [ ] Fechar no X (sem sessão ativa) continua fechando o app, com a opção ligada ou desligada. -## Iniciador escolhido ao trocar de aba (#NNN, issue #217) +## Iniciador escolhido ao trocar de aba (#218, issue #217) - [ ] Início com Playnite escolhido: RB (ou Page Down) para Sessão e LB (ou Page Up) de volta. O Playnite continua escolhido na Início e em Sistema → Ao entrar no modo console → Abrir. O mesmo indo até Sistema e voltando. Resultado: ______ - [ ] Andar pela fileira com o direcional ainda troca o iniciador, e descer da barra de abas até um bloco também escolhe esse bloco. Resultado: ______ From 01f9722b622f3a80206fb3d0c92525c0927350a4 Mon Sep 17 00:00:00 2001 From: Filipe Moreira Date: Wed, 18 Nov 2026 08:41:23 -0300 Subject: [PATCH 3/4] fix: on Home the focus only points at a launcher, A or a click marks it The owner's call on #217: pointing (pad focus, mouse over) and marking are two things. The focus no longer changes the launcher that opens; A or a click (the tile's command) marks it, as the guides already say. This replaces the narrower "not when the focus comes from another tab" rule. The tour's Launchers stop now says so, with the confirm button. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.en-US.md | 2 +- CHANGELOG.md | 2 +- docs/TESTING.md | 6 +++--- src/ConsoleMode/Resources/Strings.de-DE.json | 2 +- src/ConsoleMode/Resources/Strings.en-US.json | 2 +- src/ConsoleMode/Resources/Strings.es-ES.json | 2 +- src/ConsoleMode/Resources/Strings.fr-FR.json | 2 +- src/ConsoleMode/Resources/Strings.pt-BR.json | 2 +- src/ConsoleMode/Resources/Strings.ru-RU.json | 2 +- .../ViewModels/MainViewModel.ConsoleTour.cs | 2 +- .../ViewModels/MainViewModel.LaunchTiles.cs | 1 - src/ConsoleMode/Views/ConsoleHomeView.xaml | 2 +- src/ConsoleMode/Views/ConsoleHomeView.xaml.cs | 20 ++----------------- tests/ConsoleMode.Tests/ConsoleTourTests.cs | 2 +- 14 files changed, 16 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 6784198..b7e7fab 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -4,7 +4,7 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Befor ## [Unreleased] ### Fixes -- Home: coming back from another tab with LB/RB (or Page Up/Page Down) no longer switches the chosen launcher to Steam. The page that hides left the focus on the first tile, and the focus picks the launcher (reported by PLEXX-DE, issue #217). (#218) +- Home: moving over a launcher only points at it; **A** (✕ on PlayStation) or a click marks the one that opens. Before, the focus already changed the pick, and coming back from another tab with LB/RB (or Page Up/Page Down) left the focus on Steam and picked it instead of yours (reported by PLEXX-DE, issue #217). (#218) - **Enter when a controller connects**: turning the controller on could fail to start the session and leave an error in the log, because the check read the window off the UI thread (seen in the log of issue #217). (#218) ## [1.7.1-beta.1] diff --git a/CHANGELOG.md b/CHANGELOG.md index 85fa406..c58df9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CH ## [Unreleased] ### Correções -- Início: voltar de outra aba com LB/RB (ou Page Up/Page Down) não troca mais o iniciador escolhido pela Steam. A página que some deixava o foco no primeiro bloco, e o foco escolhe o iniciador (relatado pelo PLEXX-DE, issue #217). (#218) +- Início: passar por um iniciador só aponta para ele; **A** (✕ no PlayStation) ou um clique marca o que abre. Antes o foco já trocava a escolha, e voltar de outra aba com LB/RB (ou Page Up/Page Down) deixava o foco na Steam e a escolhia no lugar da sua (relatado pelo PLEXX-DE, issue #217). (#218) - **Entrar ao conectar um controle**: ligar o controle podia não começar a sessão e deixar um erro no log, porque a checagem lia a janela fora da thread da interface (visto no log da issue #217). (#218) ## [1.7.1-beta.1] diff --git a/docs/TESTING.md b/docs/TESTING.md index eda98c8..e7ed48b 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -547,10 +547,10 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] Com a sessão ativa e a opção ligada, minimizar e reabrir pela bandeja continua funcionando; o atalho do controle para abrir o app também traz a janela de volta. - [ ] Fechar no X (sem sessão ativa) continua fechando o app, com a opção ligada ou desligada. -## Iniciador escolhido ao trocar de aba (#218, issue #217) +## Marcar o iniciador com A, não com o foco (#218, issue #217) - [ ] Início com Playnite escolhido: RB (ou Page Down) para Sessão e LB (ou Page Up) de volta. O Playnite continua escolhido na Início e em Sistema → Ao entrar no modo console → Abrir. O mesmo indo até Sistema e voltando. Resultado: ______ -- [ ] Andar pela fileira com o direcional ainda troca o iniciador, e descer da barra de abas até um bloco também escolhe esse bloco. Resultado: ______ +- [ ] Andar pela fileira com o direcional (ou o mouse por cima) só aumenta o bloco focado: o selo ✓, a barra e o título grande ficam no marcado. A (ou um clique) num bloco o marca e leva o foco ao Jogar agora; o Jogar agora abre o marcado. Resultado: ______ - [ ] Com **Entrar ao conectar um controle** ligado e o app na bandeja: ligar o controle começa a sessão, e o log tem "Controle conectado: …; auto-start sim" sem nenhum "Unhandled". Com a janela aberta: "auto-start não", também sem erro. Resultado: ______ ## Esconder os ícones da área de trabalho na sessão (#214, issue #210) @@ -580,7 +580,7 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] Os iniciadores aparecem numa fileira no topo (Steam Big Picture, Playnite se instalado, modo Xbox), cada um com sua cor e ícone; o que abre hoje tem o selo ✓ verde no canto e uma barra verde embaixo, e os outros ficam mais apagados. - [ ] Logos oficiais nos blocos: Steam Big Picture com o logo da Steam, Playnite com o do Playnite e modo Xbox com o do app Xbox, nítidos na TV 4K (sem serrilhado nem borrão). Aplicativo personalizado mostra o ícone do `.exe` escolhido e troca ao escolher outro; Playnite troca ao escolher outra pasta. Sem a Steam ou o app Xbox instalado, o bloco mostra o ícone genérico de antes, sem bloco vazio. Resultado: ______ - [ ] Com o controle, subir do Jogar agora chega na fileira; o bloco focado cresce e ganha o contorno branco, sem cortar nos vizinhos nem no topo. -- [ ] Andar pela fileira já troca o iniciador, sem apertar A: o selo, a barra e o título grande embaixo seguem o foco, e a escolha aparece igual em Sistema → Ao entrar no modo console → Abrir e no modo PC. +- [ ] Andar pela fileira não troca o iniciador (desde a 1.7.1, #218): só A ou um clique marca; o selo, a barra e o título grande ficam no marcado, e a escolha aparece igual em Sistema → Ao entrar no modo console → Abrir e no modo PC. - [ ] A num iniciador (ou um clique) abre direto aquele iniciador, como o Jogar agora. Sem tela de jogo escolhida, A só escolhe e não abre nada. - [ ] Fonte Inter: os textos da interface Console e do menu da sessão usam a Inter (o "a" e o "g" de dois andares mudam de cara em relação à Segoe), em negrito de verdade no título e no Jogar agora, sem aparência borrada de negrito sintético. Conferir também no **portátil**: se a fonte não carregar, o app cai na Segoe UI sem quebrar. O modo PC continua com a Segoe UI. - [ ] Russo: o cirílico aparece na Inter, sem misturar fontes no meio da palavra. diff --git a/src/ConsoleMode/Resources/Strings.de-DE.json b/src/ConsoleMode/Resources/Strings.de-DE.json index e9632e0..fcc74df 100644 --- a/src/ConsoleMode/Resources/Strings.de-DE.json +++ b/src/ConsoleMode/Resources/Strings.de-DE.json @@ -411,7 +411,7 @@ "ConsoleTourTabsTitle": "Drei Tabs", "ConsoleTourTabsBody": "Startseite, Sitzung und System. Wechsle die Tabs mit {0} und {1} am Controller, Bild auf und Bild ab auf der Tastatur oder per Klick auf den Namen.", "ConsoleTourLaunchersTitle": "Was sich öffnet", - "ConsoleTourLaunchersBody": "Jede Kachel ist ein Launcher: Steam Big Picture, Playnite, der Xbox-Modus oder eine eigene App. Geh auf den, den du willst: Er wird markiert und öffnet sich, wenn du spielst. Bei einer eigenen App entfernt {0} oder ein Rechtsklick sie von der Startseite.", + "ConsoleTourLaunchersBody": "Jede Kachel ist ein Launcher: Steam Big Picture, Playnite, der Xbox-Modus oder eine eigene App. {0} auf dem gewünschten (oder ein Klick) markiert ihn: Er öffnet sich, wenn du spielst. Nur darauf zu gehen zeigt bloß auf ihn. Bei einer eigenen App entfernt {1} oder ein Rechtsklick sie von der Startseite.", "ConsoleTourPlayTitle": "Spielen", "ConsoleTourPlayBody": "{0} hier, oder {1} von überall auf der Startseite, startet den Konsolenmodus: Der Spielbildschirm wird zum Hauptbildschirm, die anderen gehen aus und der Launcher öffnet sich darauf. Der Name und die Zeile darunter zeigen, was sich öffnet, wo du spielst und was sich ändert.", "ConsoleTourScreensTitle": "Deine Bildschirme", diff --git a/src/ConsoleMode/Resources/Strings.en-US.json b/src/ConsoleMode/Resources/Strings.en-US.json index e4c78fa..06f4e0d 100644 --- a/src/ConsoleMode/Resources/Strings.en-US.json +++ b/src/ConsoleMode/Resources/Strings.en-US.json @@ -411,7 +411,7 @@ "ConsoleTourTabsTitle": "Three tabs", "ConsoleTourTabsBody": "Home, Session and System. Switch tabs with {0} and {1} on the controller, Page Up and Page Down on the keyboard, or by clicking a tab's name.", "ConsoleTourLaunchersTitle": "What opens", - "ConsoleTourLaunchersBody": "Each tile is a launcher: Steam Big Picture, Playnite, Xbox mode or an app of your own. Move over the one you want: it gets the check and is what opens when you play. On an app of your own, {0} or a right click takes it off Home.", + "ConsoleTourLaunchersBody": "Each tile is a launcher: Steam Big Picture, Playnite, Xbox mode or an app of your own. {0} on the one you want (or a click) marks it: that is what opens when you play. Moving over a tile only points at it. On an app of your own, {1} or a right click takes it off Home.", "ConsoleTourPlayTitle": "Play", "ConsoleTourPlayBody": "{0} here, or {1} from anywhere on Home, enters console mode: the game display becomes the main one, the others go dark and the launcher opens on it. The name and the line under it show what opens, where you'll play and what changes.", "ConsoleTourScreensTitle": "Your displays", diff --git a/src/ConsoleMode/Resources/Strings.es-ES.json b/src/ConsoleMode/Resources/Strings.es-ES.json index 261b8ed..d712779 100644 --- a/src/ConsoleMode/Resources/Strings.es-ES.json +++ b/src/ConsoleMode/Resources/Strings.es-ES.json @@ -411,7 +411,7 @@ "ConsoleTourTabsTitle": "Tres pestañas", "ConsoleTourTabsBody": "Inicio, Sesión y Sistema. Cambia de pestaña con {0} y {1} en el mando, Re Pág y Av Pág en el teclado o haciendo clic en su nombre.", "ConsoleTourLaunchersTitle": "Qué se abre", - "ConsoleTourLaunchersBody": "Cada bloque es un lanzador: Steam Big Picture, Playnite, el modo Xbox o una aplicación tuya. Pasa por encima del que quieras: queda marcado y es lo que se abre al jugar. En una aplicación tuya, {0} o el botón derecho del ratón la quita de Inicio.", + "ConsoleTourLaunchersBody": "Cada bloque es un lanzador: Steam Big Picture, Playnite, el modo Xbox o una aplicación tuya. {0} en el que quieras (o un clic) lo marca: es lo que se abre al jugar. Pasar por encima solo lo señala. En una aplicación tuya, {1} o el botón derecho del ratón la quita de Inicio.", "ConsoleTourPlayTitle": "Jugar", "ConsoleTourPlayBody": "{0} aquí, o {1} desde cualquier parte de Inicio, entra en el modo consola: la pantalla de juego pasa a ser la principal, las demás se apagan y el lanzador se abre en ella. El nombre y la línea de debajo muestran qué se abre, dónde vas a jugar y qué cambia.", "ConsoleTourScreensTitle": "Tus pantallas", diff --git a/src/ConsoleMode/Resources/Strings.fr-FR.json b/src/ConsoleMode/Resources/Strings.fr-FR.json index fb4d1bd..cd3c517 100644 --- a/src/ConsoleMode/Resources/Strings.fr-FR.json +++ b/src/ConsoleMode/Resources/Strings.fr-FR.json @@ -411,7 +411,7 @@ "ConsoleTourTabsTitle": "Trois onglets", "ConsoleTourTabsBody": "Accueil, Session et Système. Changez d'onglet avec {0} et {1} sur la manette, Page précédente et Page suivante au clavier ou en cliquant sur son nom.", "ConsoleTourLaunchersTitle": "Ce qui s'ouvre", - "ConsoleTourLaunchersBody": "Chaque tuile est un lanceur : Steam Big Picture, Playnite, le mode Xbox ou une application à vous. Placez-vous sur celui que vous voulez : il est coché et c'est lui qui s'ouvre quand vous jouez. Sur une application à vous, {0} ou un clic droit la retire de l'Accueil.", + "ConsoleTourLaunchersBody": "Chaque tuile est un lanceur : Steam Big Picture, Playnite, le mode Xbox ou une application à vous. {0} sur celui que vous voulez (ou un clic) le coche : c'est lui qui s'ouvre quand vous jouez. Passer dessus ne fait que le désigner. Sur une application à vous, {1} ou un clic droit la retire de l'Accueil.", "ConsoleTourPlayTitle": "Jouer", "ConsoleTourPlayBody": "{0} ici, ou {1} depuis n'importe où sur l'Accueil, lance le mode console : l'écran de jeu devient l'écran principal, les autres s'éteignent et le lanceur s'y ouvre. Le nom et la ligne en dessous indiquent ce qui s'ouvre, où vous jouerez et ce qui change.", "ConsoleTourScreensTitle": "Vos écrans", diff --git a/src/ConsoleMode/Resources/Strings.pt-BR.json b/src/ConsoleMode/Resources/Strings.pt-BR.json index 588c4d5..86d01c4 100644 --- a/src/ConsoleMode/Resources/Strings.pt-BR.json +++ b/src/ConsoleMode/Resources/Strings.pt-BR.json @@ -411,7 +411,7 @@ "ConsoleTourTabsTitle": "Três abas", "ConsoleTourTabsBody": "Início, Sessão e Sistema. Troque de aba com {0} e {1} no controle, Page Up e Page Down no teclado ou clicando no nome dela.", "ConsoleTourLaunchersTitle": "O que vai abrir", - "ConsoleTourLaunchersBody": "Cada bloco é um iniciador: Steam Big Picture, Playnite, modo Xbox ou um aplicativo seu. Passe por cima do que você quer: ele fica marcado e é o que abre quando você jogar. Num aplicativo seu, {0} ou o botão direito do mouse tira ele da Início.", + "ConsoleTourLaunchersBody": "Cada bloco é um iniciador: Steam Big Picture, Playnite, modo Xbox ou um aplicativo seu. {0} no que você quer (ou um clique) marca ele: é o que abre quando você jogar. Passar por cima só aponta para ele. Num aplicativo seu, {1} ou o botão direito do mouse tira ele da Início.", "ConsoleTourPlayTitle": "Jogar", "ConsoleTourPlayBody": "{0} aqui, ou {1} de qualquer lugar da Início, entra no modo console: a tela de jogo vira a principal, as outras se apagam e o iniciador abre nela. O nome e a linha embaixo dele mostram o que abre, onde você vai jogar e o que muda.", "ConsoleTourScreensTitle": "Suas telas", diff --git a/src/ConsoleMode/Resources/Strings.ru-RU.json b/src/ConsoleMode/Resources/Strings.ru-RU.json index 95a8375..17f512d 100644 --- a/src/ConsoleMode/Resources/Strings.ru-RU.json +++ b/src/ConsoleMode/Resources/Strings.ru-RU.json @@ -411,7 +411,7 @@ "ConsoleTourTabsTitle": "Три вкладки", "ConsoleTourTabsBody": "Главная, Сеанс и Система. Переключайте вкладки кнопками {0} и {1} на геймпаде, клавишами Page Up и Page Down или щелчком по названию.", "ConsoleTourLaunchersTitle": "Что откроется", - "ConsoleTourLaunchersBody": "Каждая плитка — это лаунчер: Steam Big Picture, Playnite, режим Xbox или ваше приложение. Наведитесь на нужный: он отмечается и откроется, когда вы начнёте играть. Ваше приложение можно убрать с главной кнопкой {0} или правым щелчком мыши.", + "ConsoleTourLaunchersBody": "Каждая плитка — это лаунчер: Steam Big Picture, Playnite, режим Xbox или ваше приложение. {0} на нужном (или щелчок мышью) отмечает его: он откроется, когда вы начнёте играть. Простое наведение только указывает на плитку. Ваше приложение можно убрать с главной кнопкой {1} или правым щелчком мыши.", "ConsoleTourPlayTitle": "Играть", "ConsoleTourPlayBody": "{0} здесь или {1} из любого места на Главной включает режим консоли: игровой экран становится основным, остальные гаснут, и на нём открывается лаунчер. Название и строка под ним показывают, что откроется, где вы будете играть и что изменится.", "ConsoleTourScreensTitle": "Ваши экраны", diff --git a/src/ConsoleMode/ViewModels/MainViewModel.ConsoleTour.cs b/src/ConsoleMode/ViewModels/MainViewModel.ConsoleTour.cs index 6d4d51f..86cd2aa 100644 --- a/src/ConsoleMode/ViewModels/MainViewModel.ConsoleTour.cs +++ b/src/ConsoleMode/ViewModels/MainViewModel.ConsoleTour.cs @@ -31,7 +31,7 @@ public partial class MainViewModel private object[] ConsoleTourArgs(ConsoleTourStop stop) => stop switch { ConsoleTourStop.Tabs => [HintLb, HintRb], - ConsoleTourStop.Launchers => [HintMenu], + ConsoleTourStop.Launchers => [HintConfirm, HintMenu], ConsoleTourStop.Play => [HintConfirm, HintMenu], ConsoleTourStop.Screens => [HintConfirm], ConsoleTourStop.System => [HintAlt], diff --git a/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs b/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs index 4f061bc..b34abac 100644 --- a/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs +++ b/src/ConsoleMode/ViewModels/MainViewModel.LaunchTiles.cs @@ -168,7 +168,6 @@ private void SyncLaunchTiles() foreach (var tile in LaunchTiles) tile.IsSelected = !tile.IsAdd && ReferenceEquals(tile.Option, SelectedLaunch); } - [RelayCommand] private void SelectLaunchTile(LaunchTile? tile) { if (tile is not null && !tile.IsAdd && !ReferenceEquals(SelectedLaunch, tile.Option)) SelectedLaunch = tile.Option; diff --git a/src/ConsoleMode/Views/ConsoleHomeView.xaml b/src/ConsoleMode/Views/ConsoleHomeView.xaml index 569162a..a1d2788 100644 --- a/src/ConsoleMode/Views/ConsoleHomeView.xaml +++ b/src/ConsoleMode/Views/ConsoleHomeView.xaml @@ -256,7 +256,7 @@ - +