ochadenas / cpudefense

A tower defense game for Android based on a microprocessor theme
MIT License
126 stars 9 forks source link

[1.40] screen "grant leave to hero" bugged? #177

Closed torbium closed 1 month ago

torbium commented 2 months ago

I'm on endless 16 right now, and for the first time asked to grant leave to a hero. The selection menu in the center of the screen doesn't immediately show up. When I then "minimize" the application and then "maximize" it again, the selection menu shows up correctly. (I don't know the technical terms for these. Minimize = tapping the circle on the bottom center, Maximize = tapping the square on the bottom right to see the app again) I'm using a Google Pixel 6a with the standard Android 14. Let me know if there is more information needed. Screenshot_20240819-065609

gustavi commented 2 months ago

Thanks @torbium for the trick! I was stuck to this step and I was going to open an issue right now.

ochadenas commented 2 months ago

Thanks for the report. I'll have a look ...

Let me know if there is more information needed.

Perhaps just how you got there in the first place. I assume you finished level 15 and then just continued to 16?

gustavi commented 2 months ago

Perhaps just how you got there in the first place. I assume you finished level 15 and then just continued to 16?

Yes, it's my case.

floasp commented 2 months ago

I have the same issue at level 20. When starting the level from the "select level" menu and also coming from the previous level.

"Minimizing" and "maximizing" the app shows the heroes correctly.

Edit: Pixel 7 with Android 13

torbium commented 2 months ago

It doesn't matter which way I use to start the level. From the main menu, from the "select level" menu, or from finishing level 15. The screenshot in my original post was from the main menu or from the "select level" menu. When finishing level 15, I do get the green text at the bottom "Stage cleared. Next stage: 16", like I would from defeating other levels. So everything seems to be fine, just the selection menu is not showing up. Screenshot_20240819-170733

ACsediment commented 2 months ago

I am facing the same issue, and it doesn't matter how you start the level. I'm guessing this might have something to do with window redraw?

I've tested a few method to fix this:

v 1.40 running on Android 14

Saxodwarf commented 1 month ago

Hi there, I am facing the same issue on version 1.41 on android 8 (I know, old version...).

On version 1.40 I could use the workarounds described around to bypass the issue, but since the upgrade it stays stuck. Maybe it has to do with the "Fixed some problems when returning after switching apps" bug fix from version 1.41

Anyway, I just saw in the release note for version 1.42 that there is a bug fix that might be related to that issue, so I'll wait for the update to be available in F-Droid

Thanks for the great game!

Saxodwarf commented 1 month ago

Indeed solved with version 1.42!

ochadenas commented 1 month ago

thanks for the feedback!

Closing the issue. Please open a new one it there are still problems.