Bug 499659

Summary: Back button doesn't work as expected in Android
Product: [Applications] Keysmith Reporter: Grósz Dániel <groszdanielpub>
Component: GeneralAssignee: Bhushan Shah <bshah>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Grósz Dániel 2025-02-07 18:41:42 UTC
SUMMARY
In at least the Add new account form, pressing the Back button on the navigation bar quits Keysmith instead of taking me back to the main screen. To make things worse, after opening Keysmith again, I have to enter my password again.

STEPS TO REPRODUCE
1. Tap Add.
2. Press Back on the navigation bar (not the button in the Keysmith UI).

OBSERVED RESULT
Quits Keysmith.

EXPECTED RESULT
Goes back to Keysmith's main screen with the codes.

SOFTWARE/OS VERSIONS
Keysmith 25.03.70 installed from the F-Droid KDE Unstable repository, on crDroid 10.11, based on LineageOS 21, based on Android 14.
Comment 1 Grósz Dániel 2025-02-07 19:01:11 UTC
Likely the cause is that to Kirigami, the Add account screen is not a separate screen from which you can go back, but rather it would appear next to the code list if the screen were big enough (and indeed it appears that way if the window/screen is wide enough), and it only appears as a separate screen with a Back button inside the Keysmith UI if the screen is narrow (as is typical on a smartphone in portrait mode), but the software doesn't treat it accordingly for the purposes of the Android system-wide navigation. Perhaps this should be treated as a Kirigami bug? Perhaps related to Bug 382685.