signalapp / signalapp/Signal-Android
Gallery exits folder after app context switch
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 29.4k
- Forks
- 6.9k
- PR merge metrics
- No merged PRs in 30d
Description
Guidelines
- I have searched open and closed issues for duplicates
- I am submitting a bug report for existing functionality that does not work as intended
- This isn't a feature request or a discussion topic
Bug description
Steps to reproduce:
- In a chat, press the plus button
- Click on gallery
- Open on a folder, such as "all files"
- Switch to a different app or to the homescreen, and then back to Signal
Expected results:
- The selected folder is kept open
Actual results:
- The selected folder is closed and Signal reverts back to the main gallery screen. This is true even if I have selected photo(s) to attach (these selections are saved).
Additional context:
I usually come across this issue when I'm sending multiple photos to someone, such as when I'm selecting a few of the best ones after a trip or an event. I frequently switch between Signal and my photos app in order to see the photos properly (rather than just the grid preview), zoom in on them, etc. Currently, Signal closes the folder I have open (camera, all files) every time I go back to my photos app, which is quite annoying and makes the process take much longer than it should.
Comparison with other apps:
I've tested this on a few different messaging apps, and Signal is unique in closing the currently open folder. This behaviour doesn't happen on WhatsApp, Messenger, Google Messages, or Discord (uses the system file picked). It also doesn't happen on the iOS Signal app, which keeps the current folder (under Collections) and other options open.
Screenshots
No response
Device
Pixel 7
Android version
Android 17
Signal version
8.16.1
Link to debug log
No response
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
Reproduce the issue in Signal 8.16.1 on a Pixel 7 running Android 17 by opening a gallery folder from a chat, switching apps, and returning to Signal. Trace the gallery state across the app context switch; done means the selected folder remains open while any selected photos stay selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100