Skip to content

DisplayAlert/ActionSheet Fails on Windows, Android, and Mac #26481

@LogishaSelvarajSF4525

Description

@LogishaSelvarajSF4525

Description

The alerts (DisplayAlert) or action sheets (DisplayActionSheet) do not appear when invoked, even when the calls are wrapped within BeginInvokeOnMainThread in the constructor.
No errors or exceptions are logged in the output, leaving developers without diagnostic information.
This issue was identified during the investigation of Bugzilla45743.
The problem occurs while transitioning from Xamarin.UITest to Appium for UI testing.

In iOS platform:
Image

In other platforms:
Image

Steps to Reproduce

  1. Run the application on a windows platform. DisplayAlertSample.zip
  2. While run the sample it shows the DisplayAlert/ActionSheet.
  3. Observe that DisplayAlert/ActionSheet was not shown.

Expected Behaviour:
DisplayAlert/ActionSheet should display the pop message.

Actual Behaviour:

DisplayAlert/ActionSheet message are not displayed on Windows, Android and Mac.

Link to public reproduction project repository

No response

Version with bug

9.0.12 SR1.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-dialogalertDisplayAlert, dialogp/2Work that is important, but is currently not scheduled for releaseplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions