@@ -37,13 +37,31 @@ By hand:
3737 relative pointer, keyboard, absolute pointer, in that order, which is the
3838 device race ` ei ` -side callers must handle; and ` Session.Close() ` was
3939 exercised. No input was injected — emulation is ` libei.ei ` 's job.
40- - ** ` libei.portal.InputCaptureSession ` (added 0.5.0), negotiation half only ** ,
40+ - ** ` libei.portal.InputCaptureSession ` (added 0.5.0), the v1 half ** ,
4141 2026-09-08, against a real Fedora 44 / GNOME Shell 50.0 session
4242 (xdg-desktop-portal 1.21.1). That portal reports InputCapture ** version 0** ,
4343 so this exercised the ** v1 ` CreateSession ` path** : consent dialog approved,
4444 a real EIS fd returned, ` zones() ` answering ` (0, [(1920, 1080, 0, 0)]) ` , and
45- ` Session.Close() ` exercised. The v2 ` CreateSession2 ` -> ` Start ` path has
46- still never been run live.
45+ ` Session.Close() ` exercised.
46+
47+ - ** The v2 half, ` CreateSession2 ` -> ` Start ` ** , 2026-10-04, against a real
48+ Fedora 45 / GNOME Shell 51.0 session (xdg-desktop-portal 1.22.1,
49+ xdg-desktop-portal-gnome 51.0, libei 1.6.0, Python 3.15rc2). That portal
50+ reports InputCapture ** version 2** , so the version gate sent this run down
51+ the half the 2026-09-08 one could not reach -- and v1 is not reachable there
52+ at all any more, which makes the two dates a pair rather than a repeat. Every
53+ call was driven live, in order: ` CreateSession2 ` (0.03s -- a plain call, with
54+ the session existing before anything is asked), ` Start ` (12.94s -- the
55+ consent dialog, approved), ` ConnectToEIS ` (0.10s -- a real EIS fd; ` fstat `
56+ reports a socket), ` GetZones ` (0.06s, answering ` (0, [(1920, 974, 0, 0)]) ` )
57+ and ` Session.Close ` (0.03s): 13.07s end to end. Nothing was captured, and
58+ nothing could have been -- the run stopped at negotiation, and by the shipped
59+ spec it is ` Enable ` that arms capture, not ` Start ` .
60+
61+ So both negotiation routes have now been run against a real compositor. Two
62+ things remain untested live on this route: persistence, since ` persist_mode `
63+ and the ` restore_token ` ` Start ` returns are v2 additions this run did not
64+ use -- and the capture half itself.
4765
4866 ** The capture half remains unverified** , and unlike the rest of
4967 ` libei.portal ` its consent dialog is not the whole reason why. Approving a
0 commit comments