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

Screenshots are empty #88

Closed
christopherperry opened this issue May 9, 2013 · 5 comments
Closed

Screenshots are empty #88

christopherperry opened this issue May 9, 2013 · 5 comments

Comments

@christopherperry
Copy link

All of the screenshots are 3k completely transparent .PNGs.

@edenman
Copy link
Collaborator

edenman commented May 9, 2013

@christopherperry Can you give us some more information about your environment? How are you invoking Spoon? Is there anything unique about your test app/project that could affect screenshots?

@RichardGuion
Copy link

I have this happen occasionally as well, one device will produce blank screenshots. Not often, maybe 1 out of 100 runs. Next time it happens I will try to capture some information about platform and device. I assumed the Jake's plan to revise the screenshot capture would improve this situation.

@christopherperry
Copy link
Author

I'm invoking spoon using the maven plugin with: mvn spoon:run.

The particular Activity I'm testing has quite a few animations happening on it, and there is also code that grabs the drawing cache at one point. Perhaps I'm not waiting long enough for things to simmer down before I try to capture?

@JakeWharton
Copy link
Collaborator

@RichardGuion Yep. The rewrite will mitigate problems like these.

@edenman
Copy link
Collaborator

edenman commented May 9, 2013

See #4 for the fix. Closing this out.

@edenman edenman closed this as completed May 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants