Bug 459738

Summary: Android: able to push as many pages to the page stack
Product: [Applications] NeoChat Reporter: Matej Starc <matej.starc>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matej Starc 2022-09-27 13:59:44 UTC
SUMMARY
You are able to push to unlimited pages to the stack because the menu button does not disappear when going into settings.


STEPS TO REPRODUCE
1. Open NeoChat on android
2. Open settings.
3. (The menu button does not disappear) Open settings again. Go to step 2.

OBSERVED RESULT
You are able to push as many pages to the stack as you can.

EXPECTED RESULT
You should not be able to do that. The menu button should disappear when going into settings or if another page is pushed to the stack (page stack depth >=2).

SOFTWARE/OS VERSIONS
Phone: Poco F3
OS Version: MIUI Global 13.0.7
Android version: 12 SKQ1.211006.001
Comment 1 Bug Janitor Service 2022-11-27 19:53:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/684
Comment 2 Tobias Fella 2022-11-30 00:11:02 UTC
Git commit 74b9f5fa4f0659fcf308724e9828ba2d12fc19d6 by Tobias Fella.
Committed on 30/11/2022 at 00:07.
Pushed by tfella into branch 'master'.

Make sure at most one layer is pushed from the menu

M  +3    -3    src/qml/main.qml

https://invent.kde.org/network/neochat/commit/74b9f5fa4f0659fcf308724e9828ba2d12fc19d6