mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Android back button sometimes misbehaves

Open wonder-sk opened this issue 1 year ago • 3 comments

It looks like there are some cases when the Android system back button does not work well:

  1. open the app (with a project loaded)
  2. tap Layers
  3. tap Android back button - it will not close the Layers page (only the top-left button works)

But next time the Layers page gets opened, the system back button works fine.

A similar issue is with the back button after tapping Add (to start recording), and then tapping the back button - it wants to close the app rather than jump out of the recording mode. The system back button should behave as if the top-left back button was used.

wonder-sk avatar Jun 12 '24 16:06 wonder-sk

Let's also check all other places and confirm it works well on all pages. @jozef-budac once we fix this, can you please update regression tests to also check the hardware back button on Android?

tomasMizera avatar Aug 06 '24 09:08 tomasMizera

On Map Canvas, the android back button always tries to close the app, even when the top left back button does something else

https://github.com/user-attachments/assets/ae259ae4-9039-4db1-bfc5-d9bc2689125d

jozef-budac avatar Aug 07 '24 06:08 jozef-budac

There is also one case for the calendar. The back button closes the form and not the calendar. Similar is the value relations list. After hitting Android back button and hitting "No thanks" on the Unsaved changes window, the value relations list remains open on the map canvas.

https://github.com/user-attachments/assets/c59e9df6-e385-490b-a430-b4fbb750b0fe

jozef-budac avatar Aug 07 '24 06:08 jozef-budac