-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Type: BugSomething isn't workingSomething isn't working
Description
Describe the bug
When using the settings menu to change the active profile, the navigation stack does not get cleaned, so that you can press the back button to get into the "previous" profile. But previous is not the real previous profile, the data that is displayed is the new profile, but it uses the screen of the previous profile. This is especially bad if one of these profiles is a listener and the other one is a story teller.
Reproduction
- Launch the app, log in and create two profiles. Let's name them "Profile A" (listener) and "Profile B" (story teller).
- Select "Profile A". You will see the "Profile A" name and the listener navigation at the bottom.
- Click the burger menu (top right) and select "Change Profile".
- Choose "Profile B". You will see the "Profile B" name and the story teller navigation at the bottom.
- Hit the back button 3 times.
- You will see the screen with "Profile B" as name and listener navigation bar at the bottom. But Profile B is story teller!
This effect also happens if both profiles are of the same type, but the navigation bar mismatch is not present then. But using different profiles visualizes the issue better, so I chose to use different types.
System Info
Flutter 3.19.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision abb292a07e (vor 10 Tagen) • 2024-02-20 14:35:05 -0800
Engine • revision 04817c99c9
Tools • Dart 3.3.0 • DevTools 2.31.1Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Metadata
Metadata
Assignees
Labels
Type: BugSomething isn't workingSomething isn't working