Inconsistent back button behavior on community drawer

(#1939) Bug Fixed mobile

Observed behaviour

Instead, only the latter behaves as expected, when a text channel was first opened. If a text channel is not first opened, the back button just closes the app.

Reproduction steps

  1. Your previous activities in the app seem to affect how this bug manifests, so to get a clean slate first fully close and reopen the app
  2. Tap on a community
  3. Tap on the community name to bring up a drawer menu
  4. (Optional) open any submenu
  5. Tap back
  6. Observe that instead of closing the drawer or submenu, the whole app closes
  7. Reopen the app
  8. Tap on a community
  9. Tap on a text channel
  10. Tap back or swipe left to go back to the channel list
  11. Tap on the community name to bring up a drawer menu
  12. (Optional) open any submenu
  13. Tap back

Build information

Version 1.0.0, Beta 37, Channel Beta, Build 2187, Android 16 (arm64), Device Google Pixel 9a, Locale en-US, Push fcm, Flutter 3.44.6, Dart 3.12.2

Platform

Android

Details

Expected behaviour The behavior of the back button should be consistent between steps 5 and 13.
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by gaggei
gaggei 1 vote
Can reproduce CR - Version 1.0.0, Beta 37, Channel Beta, Build 2187, Android 15 (arm64), Device Fairphone FP5, Locale de-CH, Push fcm, Flutter 3.44.6, Dart 3.12.2
Comment by Emma~xoxo
Can reproduce CR: Version 1.0.0, Beta 38, Channel Beta, Build 2199, Android 17 (arm64), Device Google Pixel 7a, Locale de-DE, Push fcm, Flutter 3.44.7, Dart 3.12.2
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Version 1.0.0, Channel Canary, Build 2207, Android 15 (arm64), Device OnePlus CPH2465, Locale en-GB, Push fcm, Flutter 3.44.8, Dart 3.12.2