Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display alert is popping up on all windows in MacCatalyst instead window / page requested it #14343

Closed
ooikengsiang opened this issue Apr 1, 2023 · 1 comment · Fixed by #14361
Assignees
Labels
area-controls-dialogalert DisplayAlert, dialog fixed-in-7.0.92 Look for this fix in 7.0.92! fixed-in-7.0.100 fixed-in-7.0.101 fixed-in-8.0.0-preview.4.8333 Look for this fix in 8.0.0-preview.4.8333! platform/macOS 🍏 macOS / Mac Catalyst t/bug Something isn't working

Comments

@ooikengsiang
Copy link
Contributor

ooikengsiang commented Apr 1, 2023

Description

On a multi scene / window MacCatalyst app, calling DisplayAlert will popup alert on all opened windows instead of popup on the window / page requested it.

Steps to Reproduce

  1. Run the given project repository on MacCatalyst on Mac.
  2. Click the "New Window" button to open a new window.
  3. Click the "Alert" button on the new window.
  4. Notice that the alert is popup on both window.
  5. Dismiss both alert.
  6. Now go to the first window and click the alert button.
  7. Notice that the alert is also popup on both window.

Link to public reproduction project repository

https://github.com/ooikengsiang/MultiWindowsWithMenu

Version with bug

8.0 previews
I also tested on main branch. Same issue.

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

MacCatalyst, MacOS Venture 13.3

Did you find any workaround?

No.

Relevant log output

No response

@ooikengsiang ooikengsiang added the t/bug Something isn't working label Apr 1, 2023
@jsuarezruiz jsuarezruiz added platform/macOS 🍏 macOS / Mac Catalyst area-controls-dialogalert DisplayAlert, dialog labels Apr 3, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Apr 3, 2023
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Apr 3, 2023
@jsuarezruiz jsuarezruiz self-assigned this Apr 3, 2023
@ghost
Copy link

ghost commented Apr 3, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@samhouts samhouts modified the milestones: Backlog, .NET 8 Planning May 1, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 31, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.4.8333 Look for this fix in 8.0.0-preview.4.8333! label Jun 8, 2023
@samhouts samhouts added the fixed-in-7.0.92 Look for this fix in 7.0.92! label Jul 11, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-dialogalert DisplayAlert, dialog fixed-in-7.0.92 Look for this fix in 7.0.92! fixed-in-7.0.100 fixed-in-7.0.101 fixed-in-8.0.0-preview.4.8333 Look for this fix in 8.0.0-preview.4.8333! platform/macOS 🍏 macOS / Mac Catalyst t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants