signalapp / signalapp/Signal-Android
archive chat conflicts with multitasking gestures
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 29.4k
- Forks
- 6.9k
- PR merge metrics
- No merged PRs in 30d
Description
- I have searched open and closed issues for duplicates
- I am submitting a bug report for existing functionality that does not work as intended
- I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
- This isn't a feature request or a discussion topic
Bug description
When an android device uses navigation gestures instead of the 'old-school'-navigation bar, moving back to the last app (swiping right at the bottom of the screen) archives the last visible chat.
Steps to reproduce
- Go to chat overview
- swipe right at the bottom of the screen to go to the last app
- see a slight green shimmer before the app switches
- go back to signal, see that the chat has been archived
it should be mentioned that the result of point 4 is not consistent. Sometimes, depending on how fast the user swiped it can be reproducible, but often it does not finish archiving the chat.
Actual result: Sometimes the chat gets archived
Expected result: When a user switches the app, chats should never be archived.
Maybe the archive function should be on a timer that unarchives the chat if the app does get dismissed in a (very)short time, i think disabling the swipe action for the last visible item is not actually doable or reasonable.
This is the same underlying issue as in #10894
Device info
Android version: 11
Signal version: 5.15.6
Link to debug log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the gesture conflict on Android 11 with Signal 5.15.6 using the listed steps, then compare the behavior with the underlying issue in #10894. Done means switching apps with the bottom swipe never archives the visible chat, including during rapid or interrupted swipes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100