sangcomz/FishBun

[BUG] Pixel XL - Taking a photo in Fishbun returns wrong orientation.

acherkashyn opened this issue · 1 comments

Describe the bug
This bug happens on my Pixel XL, but not on Pixel 2.
When I open FishBun and take a photo, the returned photo has landscape orientation instead of portrait.

To Reproduce
Steps to reproduce the behavior:

  1. Use Pixel XL
  2. Go to Fishbun all photos
  3. Take a new photo, select it and import it
  4. Observe the photo has incorrect orientation(landscape instead of portrait). The path for importing the file is

file:///storage/emulated/0/DCIM/Camera/JPEG_20191216_121557_4994755634447972727.jpg

picker_first

  1. Open FishBun again, and select the same photo you took at step 3. Observer that not the photo is imported correctly, with portrait orientation. Also notice that this time import path is via media provider:

content://media/external/images/media/291

picker_second

Expected behavior
FishBun should correctly resolve photo orientation from EXIF tags and return the same image on first shot and all consecutive ones.

Screenshots
Added above

Smartphone (please complete the following information):

  • Device: Pixel XL
  • OS: Android 9
  • Browser: stock browser
  • Version 0.1.1

Additional context

thank you :)
i will check it.