deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.2k stars 86 forks source link

"file no longer exists" ... but it does #1009

Open ajay-gh opened 2 months ago

ajay-gh commented 2 months ago

After update from earlier to v1.10.9 existing image files (fresh from the camera) are reported as "no longer exists".

To Reproduce

Expected behavior

Screenshots

System information and logs: My phone cannot connect to Github, so I have to type the basics here on a PC, extremely abbreviated, sorry. "1.10.9-play, build 118"

Additional context Android 12 The same photos are shown in Gallery without any problem and immediately after shutter action.

deckerst commented 2 months ago

If you take a look at the Info page, does the path point to the exact and correct location of the photo? And if you try from Aves to share (or use the open with action) to show it in another viewing app, does that other app show it?

ajay-gh commented 2 months ago

When I use the share button no other "image" viewer (e.g. Gallery) is shown, but I can select the email client. Doing so, the client opens with a "new email" window, but the picture file does not get attached. Seems silly but on the other question you have to guide me. I do not see a INnfo page, not in the main menu, not in the "tripple dots" menu, nor in settings. I can confirm that opening the picture the following data are shown correctly on top of the screen: file name, data & time, picture size.

ajay-gh commented 2 months ago

Just to explain, in settings under storage access the proper folder DCIM) is shown as having access as needed. And no permissions have been denied (or changed after the upgrade).

deckerst commented 2 months ago

Thanks for following up. For the Info page, simply swipe up from the fullscreen viewer page.

On Sat, 4 May 2024, 09:28 ajay-gh, @.***> wrote:

Just to explain, in settings under storage access the proper folder DCIM) is shown as having access as needed. And no permissions have been denied (or changed after the upgrade).

— Reply to this email directly, view it on GitHub https://github.com/deckerst/aves/issues/1009#issuecomment-2094062820, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADKBEXIDKBWWD4TODUCV2DLZASEYPAVCNFSM6AAAAABHGBS5NSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGA3DEOBSGA . You are receiving this because you commented.Message ID: @.***>

ajay-gh commented 2 months ago

Got it. That seems to provide a clue. The new version of Aves is trying to locate the image files in the .../0/Pictures folder, while the camera places them into the .../0/DCIM/Camera folder. ONLY ... I did never change any such setting consciously.

So the question remains : why can Aves see and access file attributes in the Camera folder, but cannot access the pictures. I hope this helps trouble shooting.

deckerst commented 2 months ago

I'd like to clarify a few things.

You take a photo, and Aves thinks it's in "Pictures", but the camera actually stores it in "DCIM". And it does so everytime. Right?

You don't get the issue by other creation workflow, like taking a screenshot or downloading an image via a web browser. Right?

ajay-gh commented 2 months ago

2x yes Yes, all I use is the camera and the new photo immediately shows in Gallery BUT not in Aves. No screenshots, etc. What is weird, Aves had no problems with this in the first few versions, now it does. And once you open the picture in Gallery (without moving it !), Aves sees it too.

ajay-gh commented 2 months ago

I think I mentioned it in my initial email, but let me just add two observations : 1) once a photo has been opened in Gallery, it also shows in Aves as it should, 2) all older photos (in all folders incl. DCIM) show in Aves without any problems.