cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
391 stars 111 forks source link

Android UI Metrics Screenshot distorted #1246

Open hoveeman opened 1 year ago

hoveeman commented 1 year ago

Describe the bug When completing a workout and pressing the Stop button, QZ navigates to the chart page, takes a screenshot of the UI Metrics Page, and uploads the workout to strava. Everything works correctly, except the UI Metrics screenshot is distorted. Chart images are saved correctly and the peloton workout class picture is saved correctly. Perhaps there is a timing issue of when pressing stop, capturing the UI Metrics page, and navigating to the charts page. This only occurs on Android. iOS works correctly and the UI Metrics image is not distorted.

To Reproduce Steps to reproduce the behavior:

  1. Start a workout
  2. Press stop when completing your workout
  3. examine the pictures saved in the files directory on the android device and see the distorted image.

Expected behavior The UI Metrics page is captured correctly and is not distorted.

Screenshots Distorted UI capture after pressing Stop - image from files directory Sun Feb 5 13_28_52 2023

Correct Chart image saved - not distorted - image from files directory Sun Feb 5 13_28_59 2023_power

Correct Peloton image saved - not distorted - image from files directory Sun Feb 5 13_29_02 2023_peloton_image

Smartphone (please complete the following information):

Append a debug log debug-Sun_Feb_5_12_57_15_2023.log

cagnulein commented 1 year ago

thanks, i've got an idea why this is happening i will check it asap

Il giorno dom 5 feb 2023 alle 20:04 hoveeman @.***> ha scritto:

Assigned #1246 https://github.com/cagnulein/qdomyos-zwift/issues/1246 to @cagnulein https://github.com/cagnulein.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1246#event-8441156282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEXQHEB4MZZK3Y2NS3WV72SDANCNFSM6AAAAAAUR5VJZE . You are receiving this because you were assigned.Message ID: @.***>

-- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.