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

Various glitches when app reopens after sleeping #466

Open
NeatNit opened this issue Oct 18, 2023 · 12 comments
Open

Various glitches when app reopens after sleeping #466

NeatNit opened this issue Oct 18, 2023 · 12 comments
Labels
bug Something isn't working

Comments

@NeatNit
Copy link

NeatNit commented Oct 18, 2023

Describe the bug
Tip: skip to the screenshots section, I have a habit of using too many words...

Thanks for a great, fun and free implementation of Minesweeper :)

Since the latest update (17.5.0 F), sometimes the game seems visually glitched when opening it. It feels like this happens when reloading an earlier state after Android has put the app to sleep in the background, but this is just my conjecture.

So far I've seen two things: Firstly, the tiles are just black with only flags visible. This fixed itself quickly enough that I don't even remember what exact action I took to fix it, and I don't have a screenshot of it (yet). This happened to me something like 3 times so far.

The second problem is so hard to describe and caught me completely off-guard, that I just had to record a video of it the first (and so far only) time it happened. Just take a look at that recording below.

To Reproduce

Wish I knew. I don't know how to force an app to sleep, and it's been happening very inconsistently.

What control style do you use?
Single tap - Open. Double tap ‐ Flag.

Screenshots
Ignore these - they are a separate issue which I will open later. I'll remove them from here soon

Screenshot_20231018_233050_Antimine

https://youtube.com/watch?v=0ghm7Rt_I6U (Github wouldn't let me upload the video here directly for some reason, without saying why...)

Android Version:
13

App Version
17.5.0 F

@NeatNit NeatNit added the bug Something isn't working label Oct 18, 2023
@NeatNit
Copy link
Author

NeatNit commented Oct 27, 2023

Upon more occurrence and experimentation, I don't think the alignment issue is related to the app sleeping anymore. It's more likely to do with progressive games increasing board size.

As for the dark graphics glitch, I've got screenshots and a recording of it, it's not exactly as I described it. I'll try to attach it in a few minutes.

@NeatNit
Copy link
Author

NeatNit commented Oct 27, 2023

Screen_Recording_20231019_203034_Antimine.mp4

Screenshot_20231020_164040_Antimine

@lucasnlm
Copy link
Owner

I did some changes related to that in the next version.
When it be released, can you check if it still happens?

@NeatNit
Copy link
Author

NeatNit commented Oct 31, 2023

Sure, I don't think you'll be able to stop me :P

But keep in mind that it's an elusive bug that I haven't figured out how to reliably reproduce, so I'll never be able to conclusively say it's fixed.

@juanmbt
Copy link

juanmbt commented Nov 9, 2023

I've experienced similar issues after completing a game and starting a new one.

I play in Progressive Mode, so play for a few minutes and close the game to return later and repeat.

Today I completed a game and selected the option to start a new game. Then I got similar visual glitches to the ones shown on this issue.

A couple of screenshots with different zoom levels:
antimine_1
antimine_2

My controls are: One press: flag, Long press: open (sorry if the translation is not right my system is not in English).

@lucasnlm
Copy link
Owner

@NeatNit @juanmbt Can you guys check if it happens on the latest version? I did some changes that may fix this bug.

@NeatNit
Copy link
Author

NeatNit commented Nov 28, 2023

It hasn't happened to me I think since the first update after your reply. But it's hard to test, because it's not possible to change the initial size of a progressive game - I think it used to be possible, but now it's definitely not!

Also, the "fixed size" option in New Game for me is... Well see for yourself:

Screenshot_20231128_230843_Antimine

This probably warrants its own issue but I've been procrastinating it... Mostly by playing Antimine

@lucasnlm
Copy link
Owner

@NeatNit If you didn't see this bug anymore, then is a good signal. But I will keep this issue open for now.

@juanmbt
Copy link

juanmbt commented Dec 1, 2023

@lucasnlm I haven't experienced the visual glitches in a while. I've tried by closing the app or keeping it open and returning to it after a few hours/days.

@NeatNit
Copy link
Author

NeatNit commented Dec 9, 2023

I opened #488 regarding the Fixed Size bug. Allowing to change the starting size for Progressive would also help test this bug - I think it happened when the board size increased (width or height), so reproducing would be easier if we didn't have to clear many huge boards between size increases.

@lucasnlm
Copy link
Owner

@NeatNit You mean a way to reset the initial value? Or really define it?

@erdnuesse
Copy link

idk if related but I just resumed a large game and my touch taps were off by one field and hit a mine because it hit the wrong cell after an hour of clearing and restarting after 2 weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants