MerginMaps / MerginMaps/mobile

Application crashes when Filtering is opened immediately after sync completion banner is displayed - ANDROID

Open
#4,520 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

android 🤖 bug data corruption - sync failure - crash - anr filtering
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

Description

The application crashes when the user taps the Filtering option from the control panel while the "Successfully synchronized" info banner is still visible on screen. If the user waits for the banner to disappear automatically, or dismisses it manually via the X button, the Filtering option opens correctly without a crash. This issue appeared only on Android.

  • The crash occurs only during the time window when the sync banner is displayed.
  • Once the banner disappears automatically or is dismissed via the X button, the Filtering option works correctly.

Application

APP: Mergin Maps 2026.3.0 - build 817751
Device/OS: Samsung Galaxy A53 / Android 15

Steps to Reproduce

  1. In QGIS, create a new filter on a layer using the Mergin Maps plugin.
  2. Sync the project from QGIS.
  3. Open the project in the Mergin Maps mobile app.
  4. Sync the project in the mobile app.
  5. Wait for the "Successfully synchronized" info banner to appear on screen.
  6. While the banner is still visible, tap the More button in the control panel.
  7. Tap the Filtering option.

Expected Result

The Filtering panel opens correctly regardless of whether the sync banner is still displayed on screen.

Actual Result

The application crashes immediately when the user taps the Filtering option while the "Successfully synchronized" banner is still visible.

Attachments

Screen recording showing the crash when Filtering is tapped during the banner display.
Screen recording showing correct behavior after the banner is dismissed.

https://github.com/user-attachments/assets/b8a5fa8c-ce29-4cf7-8784-4473239a529e

https://github.com/user-attachments/assets/ceecbf97-6def-4d7a-9fa2-2cd11cfd75b5

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

Start by reproducing the crash through the control panel's Filtering option while the "Successfully synchronized" banner is visible, then compare it with the dismissed-banner path. Trace the Android handling of the sync banner and Filtering panel; done means Filtering opens without a crash in both timing cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.