Gallery
Gallery copied to clipboard
IllegalArgumentException when copying Raw images
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 14
Affected device model
Samsung Galaxy Tab S9
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
- Load a raw image file in .ARW format onto the device.
- Select the image in the gallery.
- Open the 3-dot menu, click "Copy to" and select a target location.
Expected behavior
The file is copied to the selected location.
Actual behavior
The file is not copied to the target location. An error message appears reading:
Error: java.lang.IllegalArgumentException: All requested items must be Media items
Screenshots/Screen recordings
Additional information
I could not reproduce the error on my Sony Xperia 1 IV which is running Android 14 and App version 1.2.1 as well. There, copying raw images works without a problem. I also could not reproduce the error with the default gallery app of the Galaxy Tab S9. There, copying raw images also works without a problem.
Couldn't reproduce with this sample file.
Load a raw image file in .ARW format onto the device.
Could you share the problematic file(s) here? If they are private, consider capturing a new one.
Does it happen for any target location? Are you copying to the device or external memory?
Couldn't reproduce with this sample file.
Load a raw image file in .ARW format onto the device.
Could you share the problematic file(s) here? If they are private, consider capturing a new one.
I could not attach the .ARW file to this comment, but here it can be downloaded.
Does it happen for any target location? Are you copying to the device or external memory?
So far it happens for any target location I've tried (internal -> internal, external -> internal, internal -> external, external -> external).
I could not attach the .ARW file to this comment, but here it can be downloaded.
Same. Couldn't reproduce.
Error: java.lang.IllegalArgumentException: All requested items must be Media items
This suggests the passed file Uri by the app is incorrect but I'm not exactly sure what step is failing.
The file is not copied to the target location. An error message appears reading:
I suspect the file is copied and it's just not visible yet. Rebooting might be a workaround if this is the case.
If you are up for it, here's another test:
- Disable
Keep old last-modified value at file operationsoption in Fossify Gallery ➜ Settings ➜ File Operations - Try copying the file again
Thank you for the ideas, I tried both:
- I disabled the option "Keep old last-modified value at file operations" and again tried to copy a file but I got the same error.
- Then I rebooted the device but after reboot I still couldn't find the file at the target location.