CommunityToolkit / CommunityToolkit/Maui

[BUG] Mediaelement distorting app view after full screen on Android

Open
#2,571 17 comments 0 reactions 0 assignees View on GitHub
📽️ MediaElement bug
Dominant language
C#
Stars
2.7k
Forks
500
Avg merge
2d 14h
Merged PRs (30d)
7

Description

### 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

On Android the view of the app is distorted or offset after the Mediaelement has been in full screen mode.

Before full screen:
Image

After full screen mode:
Image

### Expected Behavior

App should look the same after exiting full screen mode.

### Steps To Reproduce

1. Create a .NET Hello World
2. Install MediaElement
3. Play a file - go to full screen - exit full screen

### Link to public reproduction project repository

https://github.com/KasperSommer/MediaElementIssue2

### Environment

```markdown
- .NET MAUI CommunityToolkit MediaElement: 6.0.1
- .NET MAUI: 9.0.40
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.