Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] Border around MediaElement Android 10-11

Open Pmr-precure opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

  • [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

Current Behavior

In our app we got a Border around our videos, but on Android 10 and 11 the video wont show (its playing in the background)

image Android 14

image Android 10

image If i set the controls on, then you can see them but the videos isnt showing. Pressing "FullScreen" will show the video.

Expected Behavior

Video should be visible.

Steps To Reproduce

Clone repo (Dont mind the name of it, ive used it for an old bug)

Run the sample on a Android 10 and see video isnt showing. Run it on Android 10+ and it shows just fine.

Link to public reproduction project repository

https://github.com/Pmr-precure/DisposeMediaElementBug

Environment

- .NET MAUI CommunityToolkit: 9.0.1
- OS:
- .NET MAUI: 8.0.61

Anything else?

No response

Pmr-precure avatar Jul 18 '24 07:07 Pmr-precure

Not sure if this is a Border or MediaElement issue.

Pmr-precure avatar Jul 19 '24 08:07 Pmr-precure

Update: It also effects Android 11.

Pmr-precure avatar Jul 19 '24 12:07 Pmr-precure

@vhugogarcia Can you mark this as confirmed. I was able to verify that it does behave this way. I checked the sample and modified the repo sample and was able to replicate the behavior.

ne0rrmatrix avatar Jul 20 '24 21:07 ne0rrmatrix

Anyone had time looking into this? :D

Pmr-precure avatar Jul 25 '24 06:07 Pmr-precure