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

App Freezes and Crashes when Backing out of Settings with 3-Button Navigation #48

Open
ZmaZes opened this issue Jan 19, 2025 · 4 comments
Labels
bug Something isn't working phone

Comments

@ZmaZes
Copy link

ZmaZes commented Jan 19, 2025

App Version: 4.6.0
Android: 14
Model: Samsung ZFlip 5

When opening settings in the app, and trying to close it using the back button on the navigation bar, the app freezes (although you can feel haptic feedback from the tempo wheel if you slide your finger over where it would be). Pressing back again quits the app, presumably because it thinks it's.already on the main menu.
The issue does not occur when using gesture navigation or when clicking the back button on the top left of the screen. I assume this is some glitch that came with the addition of predictive back animation support.

@patzly patzly added the bug Something isn't working label Jan 22, 2025
@patzly
Copy link
Owner

patzly commented Jan 22, 2025

Thanks for the report! A workaround would be to switch to gesture navigation, but I couldn't find a real fix yet. The problem is caused by the navigation library from Google, so I have to open an issue for that I think.

@patzly patzly added the phone label Jan 22, 2025
@ZmaZes
Copy link
Author

ZmaZes commented Jan 22, 2025

I think I'll just use the back button in the upper left. My navigation setup is a bit in depth so switching to plain gesture navigation isn't quite an option for me. (The swipe for back button gesture I use (one hand operation) has the same effect as just pressing the button on the navbar, it doesn't support the predictive back animation.)
I've seen other apps that use predictive back animations that don't have the issue, so I'm sure it's possible somehow (Image Toolbox by ProgiX works just fine for example.)

@patzly
Copy link
Owner

patzly commented Jan 23, 2025

The app Image Toolbox is written in Compose which uses another variant of the navigation component, so the bug is in another version of the library which is used by Tack.

@ZmaZes
Copy link
Author

ZmaZes commented Jan 28, 2025

Not sure if this helps bug test at all or if you already figured this out youself, but it seems like the bug doesn't actually make the app freeze, rather it takes you back to the home screen, but the settings screen is still visible. So you can interact with all of the elements on the home screen even though you can't see them.
I also noticed that when the bug happens, you can go to recents, and then re-open the app from there, and the problem is gone, at least for the time.

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

No branches or pull requests

2 participants