deckerst / aves

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

Desktop widget cropping photos in a bad way #1285

Open mvodanovic opened 1 week ago

mvodanovic commented 1 week ago

Describe the bug The widget to show photos crops photos vertically. I haven't found a way to show entire photos, they are always cropped. This worked fine for me until maybe a month ago, then it just broke. Maybe it's related to a major Android update? In the attached screenshot you can see the widget area (the widget is selected) and then the photo inside.

To Reproduce Steps to reproduce the behavior:

  1. Add the photo frame widget and have it display a photo.
  2. The picture is cropped vertically. No changing of the widget size helps.

Expected behavior The whole photo should be shown in the widget area, scaled and not cropped.

Screenshots Screenshot_20241110-190245

System information and logs: Package: deckers.thibault.aves Installer: com.android.vending Aves version: 1.11.17-play, build 136 Flutter: stable 3.24.4 Android version: 15, API 35 Android build: AP3A.241105.007 Device: Google Pixel 7 Support: dynamic colors=true, geocoder=true, HDR=true Mobile services: ready Connectivity: wifi System locales: en_US, en_SE Storage volumes: /storage/emulated/0/ Storage grants: /storage/emulated/0/Pictures/, /storage/emulated/0/Android/media/ Error reporting: true

aves-logs.txt

Additional context None.

deckerst commented 1 week ago

Maybe it's related to a major Android update?

Maybe related to switching from Android 14 to Android 15, but the home/launcher app itself is also an important piece of the puzzle, because it's the launcher app that informs Aves of the available size for the widget. Anyway, thanks for the report, I'll take a look.