Skip to content

[BUG] Clicking on full screen button while popup is open in Windows crashes the Sample application. #1869

Closed

Description

@ne0rrmatrix

Is there an existing issue for this?

  • I have searched the existing issues

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

Current Behavior

Application crashes when clicking on full screen button while a popup of media element is visible.

Expected Behavior

Not sure. What do we want to do when we have created a popup with mediaElement when it is also in the background behind it? Do we want to remove the full screen button so it is not clickable when a popup is present? Not sure how we would do that off the top of my head. We would have to detect a popup becoming active and then hiding the full screen button? Maybe a solution?

Steps To Reproduce

  1. Build and run the sample app.
  2. Navigate to Media Element Page.
  3. Click on popup.
  4. Click on full screen button.

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui/tree/main/samples

Environment

- .NET MAUI CommunityToolkit:9.0.0
- OS: Windows 10 Build 10.0.19041.0
- .NET MAUI: 8.0.14
- .NET Maui CommunityToolkit MediaElement: 3.1.1

Sample

2024-05-08.21-43-43.mp4

It looks like this is a weird edge case where it is possible to crash the app by clicking on a button. Full screen button should not be visible and also disabled while a popup is present. Or rewritten to handle full screen switch if popup is present.

Activity

  1. bricefriha commented on May 22, 2024

    @bricefriha

    I might have an idea of how to fix that. Would you mind if I take a look at it? 🙂

  2. ne0rrmatrix commented on Jun 18, 2024

    @ne0rrmatrix
    MemberAuthor

    I might have an idea of how to fix that. Would you mind if I take a look at it? 🙂

    Sure I would appreciate it if you could do that.

  3. TheCodeTraveler commented on May 29, 2025

    @TheCodeTraveler
    Collaborator

    Fixed in #1581

  4. locked and limited conversation to collaborators on May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions