Crash at the end of playback in MediaPlayerElement under specific screen resolution and scale
Which version of the app?
WinUI 2 Gallery
Description
Resolution: 3840 x 2160, Scale: 225% or 175%
Detail: If you play a long media streaming file in MediaPlayerElement at this two specific resolution and scale rate. At the end of playback, probably when thumb in the slider come to the edge of the slider. It'll instant crash the app.
Currently the only way to avoid this is to detect user's resolution and scale. Remove the slider manually to avoid the crash.
WinUI version: v2.8.7
Screenshots
Windows version
Windows 11 24H2 (26100)
Additional context
No response
@JimmyRespawn You have mentioned WinUI2 Gallery in the version app section, but I don't find the long media streaming file option in the gallery app. Can you add more context on the repro steps, whether the attached screenshot is from WinUI2 gallery app or from a separate app? Please provide more details.
@JimmyRespawn You have mentioned WinUI2 Gallery in the version app section, but I don't find the long media streaming file option in the gallery app. Can you add more context on the repro steps, whether the attached screenshot is from WinUI2 gallery app or from a separate app? Please provide more details.
@ayushjai30 I've made an example repo. https://github.com/JimmyRespawn/WinUIMediaPlayerCrashExample Be sure to run it under Resolution: 3840 x 2160, Scale: 225% or 175%. Direct drag the audio to 1:12:18 and play it. Wait it until the end. It'll crash at the time like 5seconds remaining.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.