abrenoch / hyperion-android-grabber

Screen grabber for hyperion
MIT License
194 stars 33 forks source link

Bugs and improvements #71

Closed Paulchen-Panther closed 6 years ago

Paulchen-Panther commented 6 years ago

Platform:

abrenoch commented 6 years ago

Took care of everything but that bug with error_empty_host. Could you elaborate on that a little please? I'm not sure I know exactly what you mean!

Paulchen-Panther commented 6 years ago

I'll try to explain it to you. If you start the application and have not configured anything yet, the error_empty_host will be displayed. So far everything is fine. If you press the back button the main activity closes. As far as everything is in order. And now it comes. If you call the application over the icon you are back in the main activity. Press again on start the error_empty_host appears twice in succession. If I repeat these steps (back, icon, start) the error_empty_host appears 3 times in a row. I have observed this behavior only on the phone. in the emulator this behavior does not seem to exist. I can gladly send you a log or a screen record

abrenoch commented 6 years ago

Hmm, maybe a screen recording would help. I think I am following the steps correctly, but am still only seeing one toast!

Paulchen-Panther commented 6 years ago

I uploaded a screen record and the logcat. My Mobile OS is MIUI 9.5 from Xiaomi. The phone is a Redmi Note 4X. The steps I did:

  1. New installation
  2. Hyperion Grabber open
  3. pressed on start
  4. Error Toast "error_empty_host" appears once
  5. Press the back button
  6. open hyperion grabber again
  7. pressed again on start
  8. -> Now the error toast "error_empty_host" appears twice
  9. pushed back again
  10. Hyperion Grabber opened again
  11. pressed again start
  12. error toast appears three times
  13. And so on ...

Logcat: https://pastebin.com/vdKHqYDY Screen record: https://streamable.com/ob1jn

abrenoch commented 6 years ago

Thanks for the video, that certainly helps me understand!

I'll try to reproduce this on my device later!

Paulchen-Panther commented 6 years ago

thank you

abrenoch commented 6 years ago

Could you please try this again in the development branch please? I tried to re-create this and was unable, but I was running some newer code.

abrenoch commented 6 years ago

I haven't been able to reproduce this behavior on the current development - am going to close this for now.

Please re-open this if you find the issue still persists!