Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: basic demo on andorid has slight GUI race conditions bug #11804

Closed
ghost opened this issue Jul 21, 2015 · 4 comments
Closed

x/mobile: basic demo on andorid has slight GUI race conditions bug #11804

ghost opened this issue Jul 21, 2015 · 4 comments
Assignees
Milestone

Comments

@ghost
Copy link

@ghost ghost commented Jul 21, 2015

golang.org/x/mobile/example/basic
its a UI interaction bug.

Context:
gedw99-MacBook-Pro:audio apple$ go version
go version go1.5beta2 darwin/amd64

gedw99-MacBook-Pro:audio apple$ which go
/usr/local/go/bin/go
gedw99-MacBook-Pro:audio apple$

Steps to reproduce:
compile for android
load apk on nexus 6
open program and it works fine.
hit home button
open program and it works fine
hit back button
open program and it shows a dithered triangle.

  • it looks like 2 programs running on top of each other with a alpha transparency between them.
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jul 21, 2015
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Jul 21, 2015

@crawshaw crawshaw self-assigned this Jul 21, 2015
@crawshaw

This comment has been minimized.

Copy link
Contributor

@crawshaw crawshaw commented Jul 21, 2015

Thanks for the report. On a Galaxy Nexus I see some kind of crash for open->back button->open. This is probably a recent regression (due to our lack of good integration testing for apps). I'll take a look.

@rakyll rakyll changed the title gomobile: Basic demo on andorid has slight GUI race conditions bug x/mobile: basic demo on andorid has slight GUI race conditions bug Jul 21, 2015
@ghost

This comment has been minimized.

Copy link
Author

@ghost ghost commented Jul 21, 2015

happy to report it. thanks for your hard work.

In relation to what you get on the Galaxy Nexus, the crash is visual or on log files ? On nexus 6 the GUI does not crash, just has this weird dithering on the triangle. i did not check the logs.

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jul 22, 2015

CL https://golang.org/cl/12533 mentions this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.