MerginMaps / MerginMaps/mobile

Android back button sometimes misbehaves

Open
#3,504 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

android 🤖 bug
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Layers and Add/recording flows on Android, comparing the system back button with the top-left back button. Trace the entry points that handle those navigation states and make the system back action match the top-left action in both cases; verify both scenarios after reopening the pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.