Going directly back from chosing an image as photo profile in gallery put user in a back loop (gallery rerool)

Open
#1,129 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #1148 by @mvanhorn — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by reproducing the steps on Android 14: open a contact, enter edit mode, choose a profile photo from the gallery, then press the Android back button. Trace the back-navigation behavior for this gallery flow and compare it with selecting an image; done means Back returns to the contact editor instead of reopening or rerolling the gallery.

Written by the indexing model from the issue text.

Description

bug
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.13.1

Affected Android/Custom ROM version

Android 14

Affected device model

Samsung A55

How did you install the app?

GitHub releases

Steps to reproduce the bug
  1. Open the Contact App
  2. Go to a contact
  3. Modify your contact
  4. Choose a photo profile from gallery
  5. Try to go back using android back button directly from the gallery
Expected behavior

The user should expect to be in the contact editor after android back button is used.

Actual behavior

The gallery is "rerolled" instead.

Screenshots/Screen recordings

The bug:

https://github.com/user-attachments/assets/0628f404-3d80-48fc-a48b-72effc364438

The normal behavior if we click on an image instead:

https://github.com/user-attachments/assets/6813bb92-70ec-40d9-8ec8-323eb71b8776

Additional information

In the context here:
The fossify contact app and gallery app are used. The two have the latest versions.

Dominant language
Kotlin
Stars
3.8k
Forks
270
Avg merge
1d 6h
Merged PRs (30d)
7

Getting set up

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.

More from FossifyOrg/Gallery

All issues in FossifyOrg/Gallery

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.