signalapp / signalapp/Signal-Android

Gallery exits folder after app context switch

Open
#14,859 2 comments 0 reactions 0 assignees View on GitHub

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:

  1. In a chat, press the plus button
  2. Click on gallery
  3. Open on a folder, such as "all files"
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.