Three rounds of issue #56 feedback.
The QR no longer mirrors the URL field per keystroke (why would it
change?), and the joinpeertube.org placeholder no longer looks like a
recommended address. The code now points at the login form itself: the
device serves a tiny dark page over the home network (NanoHTTPD, one
GET and one POST, running only while the login screen is up), the phone
opens it, fills instance URL + username + password, and the TV's fields
fill and sign in on receive. No dpad typing anywhere unless the person
chooses the manual route.
The address is printed UNDER the QR in plain text for cameras that fail
— the old caption ("Waiting for your phone…") said nothing usable —
and the panel sits at the screen's right edge, where the floating
keyboard leaves room even while a field is focused; with the tightened
form the Sign in button also clears the keyboard entirely.
The keyboard finally lifts the form: android 15 enforces edge-to-edge
and the window's IME insets never reached Compose — the window is now
explicitly decor-fits=false, so imePadding() gets real values.
The QR stays via zxing core; the form server is NanoHTTPD (a single
~50 KB jar, no transitive dependencies). All traffic stays on the home
network: the page travels from the TV to the phone and back.
Verified on the emulator end to end: GET renders the form, POST fills
the TV's fields and starts the sign in ("Received from your phone ✓"),
wrong passwords surface the honest error.
Addresses #56 feedback.