Repository navigation
Follow-ups to #104, #106 and #107: CI test order, dialog focus, TV keyboard - #109
Conversation
With all six test projects in OpenIPC.Viewer.Desktop.slnx, dotnet test ran them side by side, and on windows-latest five ONVIF tests in Devices.Tests timed out (TaskCanceledException after 17 s to 1 min 51 s); Linux and macOS passed, and so did Windows on every earlier run with three projects. Devices.Tests' stub cameras listen on HttpListener (http.sys on Windows) and Infrastructure.Tests opens loopback TcpListeners, both on ports picked by the OS; most likely an ONVIF request reached the other project's listener and got no answer. -m:1 runs one test project at a time; locally all six take ~9 s in a row. Refs #100
…ocus Qodo on #106: - The recording player listens for its hotkeys on the TopLevel (tunnel), so with its delete confirmation open Left/Right still seeked the recording and Space toggled playback before the dialog saw them. The handler now returns while a mobile dialog is open (OverlayDialogPresenter.IsAnyOpen, never true on the desktop, whose dialogs are windows). - The presenter's initial focus no longer replaces a focus the content has already set inside the dialog: the SSH terminal focuses its input surface itself, and the presenter moved it to the Close button.
…tivity Qodo on #107: - OK on a field whose keyboard was closed with Back (the field keeps the focus) went to the field instead of reopening the keyboard. Whether OK opens the keyboard now depends on the input pane's state (TopLevel.InputPane), not on a one-shot marker set on focus. - The keyboard is hidden only when the focus reached the field by D-pad or Tab. A focus set from code is left alone, so the SSH terminal's keyboard button, which refocuses its input proxy to bring the keyboard back, works. - The activity is refreshed on every MainActivity.OnCreate and dropped in OnDestroy; the class handlers are still registered once. Checked on an Android TV 16 emulator: into the search box by D-pad, no keyboard; OK opens it; Back closes it; OK opens it again; typed text lands without a stray space; Down moves on. Same after a font-scale change.
PR Summary by QodoSerialize CI tests and fix dialog focus and Android TV keyboard behavior
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1. Physical keys stop reaching TV terminals
|
#104, #106 and #107 were merged without these follow-up commits, which were not pushed in time. They fix the Windows CI timeouts seen with six test projects and the five Qodo findings on #106 and #107.
CI (refs #100)
dotnet testnow runs with-m:1, one test project at a time. With all six projects running side by side onwindows-latest, five ONVIF tests in Devices.Tests timed out. The likely cause is a request reaching the other project's loopback listener. This cause is not proven, and the runs onmainhave been green so far, so the failure may be intermittent.Dialogs (refs #102)
Android TV keyboard (refs #103)
OnCreateand dropped inOnDestroy.Checked
main: into the search box by D-pad, no keyboard; OK opens it; Back closes it; OK opens it again; typed text has no stray space. Same after a font-scale change.-m:1effect on Windows (CI only) and the dialog changes on a device.