passgo/go.mod
Greg Pomerantz 55fda01c5f Use local gioui fork with the Android re-attach ack fix
gioui v0.10.2's onCreateView sends the window handshake ack
(mainWindow.windows <- struct{}{}) unconditionally on the UI thread. On
activity re-attach (relaunch after task wipe, config-change recreation)
the only receiver (newWindow via Window.init) never re-runs, so the send
blocks the UI thread forever in onCreate: the activity never gets an
input channel and the app is a live-but-unresponsive black screen.

The fork at /home/gmp/gioui-v0.10.2 (branch android-reattach-ack) moves
the send into the first-window-creation branch. Same fix as the pad app.
2026-10-13 16:24:06 -04:00

30 lines
1010 B
Modula-2

module git.wow.st/gmp/passgo
go 1.24.0
require (
gioui.org v0.10.2
git.wow.st/gmp/clip v0.0.0-20191001134149-1458ba6a7cf5
git.wow.st/gmp/rand v0.0.0-20191001220155-a81bebfaf8b0
github.com/fsnotify/fsnotify v1.8.0
github.com/jcmdev0/gpgagent v0.0.0-20180509014935-5601b32d936c
golang.org/x/crypto v0.46.0
gopkg.in/yaml.v2 v2.2.7
)
require (
gioui.org/shader v1.0.9 // indirect
github.com/go-text/typesetting v0.3.4 // indirect
golang.org/x/exp/shiny v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
golang.org/x/image v0.26.0 // indirect
golang.org/x/net v0.48.0 // indirect
golang.org/x/sys v0.39.0 // indirect
golang.org/x/text v0.32.0 // indirect
)
// Local gioui v0.10.2 carrying the Android re-attach fix: send the window
// handshake ack only on first window creation. On re-attach (activity
// recreated while the process lives) there is no receiver for the ack, and
// the unconditional send deadlocks the UI thread -> black, input-less app.
replace gioui.org => /home/gmp/gioui-v0.10.2