~eliasnaur/scatter#1: 
graphics bug when trying to input on scatter

Hi Elias, I'm quite excited about Gio and Scatter, after I saw you did a presentation about it, I tried it. But I got a problem: Once I pressed the input box for the email address, the screen started to display a graphics bug

Phone is Samsung Galaxy S5, Android 6.0.1

Status
RESOLVED NOT_OUR_BUG
Submitter
~dolanor
Assigned to
No-one
Submitted
10 months ago
Updated
10 months ago
Labels
No labels applied.

~dolanor 10 months ago

I tested the apps/gophers app from gio, and I get the same result on this phone. So it's clearly something in the gio framework that has been added in the last 3-4 month, because the apps gophers back then didn't display that (even though I couldn't input anything either. I was just able to delete.

~eliasnaur 10 months ago

I tested the apps/gophers app from gio, and I get the same result on this phone. So it's clearly something in the gio framework that has been added in the last 3-4 month, because the apps gophers back then didn't display that (even though I couldn't input anything either. I was just able to delete.

That's nice to know. It would be very helpful if you could git bisect to a particular commit.

  • elias

~dolanor 10 months ago

Ok, I made a git bisect session, but maybe I did it wrong because I couldn't make it run well again. Or maybe it's android version (but I don't remember updating it since I tried before) So maybe, it was on my other phone (Galaxy S8)

dolanor@moondark:~/go/src/gioui.org$ git bisect start
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
dolanor@moondark:~/go/src/gioui.org$ git bisect good 0f05231
Bisecting: 199 revisions left to test after this (roughly 8 steps)
[659419738cc70f735e2362f4d3f5ff8556a3ca1a] ui/app: (windows) relay system focus events
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
go: downloading golang.org/x/sys v0.0.0-20190527092632-ea4c425e90c7
go: extracting golang.org/x/sys v0.0.0-20190527092632-ea4c425e90c7
~/go/src/gioui.org
go: finding gioui.org latest
go: finding gioui.org/cmd latest
Performing Push Install
gophers.apk: 1 file pushed. 4.2 MB/s (18502304 bytes in 4.179s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 99 revisions left to test after this (roughly 7 steps)
[8f3384ffe499d1b7b32961f852d60fdee2faa965] ui/app/internal/gl: add RENDERER enum value
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
~/go/src/gioui.org
go: finding gioui.org latest
go: finding gioui.org/cmd latest
Performing Push Install
gophers.apk: 1 file pushed. 4.2 MB/s (18502304 bytes in 4.241s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 49 revisions left to test after this (roughly 6 steps)
[31e06bd931f414122da3a4fbd7282a5a94f376a0] README.md: note that the mailing list is open to everyone
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
~/go/src/gioui.org
go: finding gioui.org latest
go: finding gioui.org/cmd latest
Performing Push Install
gophers.apk: 1 file pushed. 4.5 MB/s (18502304 bytes in 3.911s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 24 revisions left to test after this (roughly 5 steps)
[7a0975a5160071cc39e311d515ec0238d3634431] README.md: remove errant period
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
go: downloading gioui.org/ui v0.0.0-20190331115906-1d67fad0c378
go: extracting gioui.org/ui v0.0.0-20190331115906-1d67fad0c378
~/go/src/gioui.org
go: finding gioui.org latest
go: finding gioui.org/cmd latest
Performing Push Install
gophers.apk: 1 file pushed. 5.2 MB/s (18502304 bytes in 3.410s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 11 revisions left to test after this (roughly 4 steps)
[cf258f707fdcc9d8f1f30a780dda735d582b5b81] README.md: note that Go 1.13 is required for bitcode and tvOS support
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
go: downloading gioui.org/ui v0.0.0-20190331090026-ca5204fcb8b3
go: extracting gioui.org/ui v0.0.0-20190331090026-ca5204fcb8b3
~/go/src/gioui.org
go: finding gioui.org/cmd latest
go: finding gioui.org latest
Performing Push Install
gophers.apk: 1 file pushed. 4.8 MB/s (18502304 bytes in 3.678s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 5 revisions left to test after this (roughly 3 steps)
[7c8fdf69f51a58bc6b23ade61b3769b956a09280] README.md: add iOS/tvOS setup instructions
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
~/go/src/gioui.org
go: finding gioui.org latest
go: finding gioui.org/cmd latest
Performing Push Install
gophers.apk: 1 file pushed. 5.2 MB/s (18502304 bytes in 3.361s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 2 revisions left to test after this (roughly 2 steps)
[e063ba704f384505464f153016c69692c7783a71] apps/go.*: go get -u gioui.org/ui; go mod tidy
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
~/go/src/gioui.org
go: finding gioui.org latest
go: finding gioui.org/cmd latest
Performing Push Install
gophers.apk: 1 file pushed. 4.9 MB/s (18502304 bytes in 3.575s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 1 step)
[ca5204fcb8b325e0740185ed27f800a220bf91a0] ui: fix macOS build
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
~/go/src/gioui.org
go: finding gioui.org/cmd latest
go: finding gioui.org latest
Performing Push Install
gophers.apk: 1 file pushed. 5.9 MB/s (18502304 bytes in 2.970s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[76b10751a636e836f8434ba7f8d762221ac7b602] apps: go get -u gioui.org/ui; go mod tidy
dolanor@moondark:~/go/src/gioui.org$ pushd cmd && go1.13beta1 mod tidy && popd && pushd apps/ && go1.13beta1 mod tidy && popd && go1.13beta1 run gioui.org/cmd/gio -target android gioui.org/apps/gophers && ~/.local/android-sdk/platform-tools/adb install -r gophers.apk 
/home/dolanor/go/src/gioui.org/cmd
~/go/src/gioui.org/cmd ~/go/src/gioui.org
~/go/src/gioui.org
/home/dolanor/go/src/gioui.org/apps
~/go/src/gioui.org/apps ~/go/src/gioui.org
~/go/src/gioui.org
go: finding gioui.org latest
go: finding gioui.org/cmd latest
Performing Push Install
gophers.apk: 1 file pushed. 5.7 MB/s (18502304 bytes in 3.097s)
    pkg: /data/local/tmp/gophers.apk
Success
dolanor@moondark:~/go/src/gioui.org$ git bisect bad
76b10751a636e836f8434ba7f8d762221ac7b602 is the first bad commit
commit 76b10751a636e836f8434ba7f8d762221ac7b602
Author: Elias Naur <mail@eliasnaur.com>
Date:   Sun Mar 31 10:48:18 2019 +0200

    apps: go get -u gioui.org/ui; go mod tidy
    
    Signed-off-by: Elias Naur <mail@eliasnaur.com>

:040000 040000 db2135d1fd47c23e8f1c4da1a0e7936d04c3fb5d b72f1f012fdd7f86645bc7422414c6483c999449 M  apps

~dolanor REPORTED NOT_OUR_BUG 10 months ago

Actually yes, it was on my other Galaxy S8 that it was running fine… Sorry for my wrong memories: https://todo.sr.ht/~eliasnaur/gio/7

I guess we can close this bug since it's never worked well on this phone, and it's not a scatter bug, but more of a gio bug.

Register here or Log in to comment, or comment via email.