Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

Gallery not opening/available when previewing photos from LineageOS Camera (Aperture)

Open ElementW opened this issue 10 months ago • 4 comments

Checklist

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

Affected app version

1.2.1

Affected Android/Custom ROM version

Android 13 / LineageOS 20

Affected device model

Pixel 4a 5G

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Use LineageOS' default camera app "Aperture"
  2. Take a picture
  3. Tap the picture preview

Expected behavior

Gallery opens to preview picture, or is present in the app picker that opens up

Actual behavior

Gallery doesn't open/is absent from the intent-handling app picker

Screenshots/Screen recordings

No response

Additional information

Aperture launches a MediaStore.ACTION_REVIEW intent when on Android 10 and above, which translates to android.provider.action.REVIEW, that is notably absent from AndroidManifest.xml or the codebase at large, hence the app not launching when it should. Probably should be handled just like you do with com.android.camera.action.REVIEW.

ElementW avatar Mar 02 '25 18:03 ElementW

As per the linked Aperture code, it should switch to Intent.ACTION_VIEW when MediaStore.ACTION_REVIEW fails to find any matching activities. As a result, Fossify Gallery only shows up when there's no other app that can handle MediaStore.ACTION_REVIEW.

EDIT: Removed question.

naveensingh avatar Mar 02 '25 19:03 naveensingh

Related: https://github.com/deckerst/aves/issues/1052

naveensingh avatar Mar 02 '25 19:03 naveensingh

I do not have another gallery app that handles the intent, but I do have App Manager and its intent interceptor listening to everything; that's what gets opened instead.

That said, presence of another gallery/handler app is no excuse to not implement handling in Fossify Gallery, as it's otherwise expected you would be able to open it for previews in any app launching a android.provider.action.REVIEW intent, be they executing a fallback to Intent.ACTION_VIEW or not.

ElementW avatar Mar 02 '25 22:03 ElementW

Can confirm. I don't have another gallery installed, but the editor Image Toolbox gets opened instead of gallery

Violet-RM avatar Apr 29 '25 15:04 Violet-RM

In experiencing the same issue due to the lack of intent handling, both on lineage os, where intent intercept is always opened, (but if I disable it the cera properly falls back to action view), and with the stock Samsung camera, where it simply doesn't fall back at all this making it impossible to open the gallery from the camera app.

edo9300 avatar Nov 03 '25 07:11 edo9300