-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Calling dialog.showMessageBox on a parent window immediately after the closure of a modal window freezes the parent window #50068
Copy link
Copy link
Labels
40-x-ybug 🪲component/dialoghas-repro-gistIssue can be reproduced with code at https://gist.github.com/Issue can be reproduced with code at https://gist.github.com/platform/windowsstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
40.6.1
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 25H2
What arch are you using?
x64
Last Known Working Electron version
No response
Does the issue also appear in Chromium / Google Chrome?
No
Expected Behavior
Message boxes (attached to the parent window) opened shortly after the closure of a modal window must not freeze the parent window
Actual Behavior
Message boxes (attached to the parent window) opened shortly after the closure of a modal window freezes the parent window
Testcase Gist URL
https://gist.github.com/mm778899/588df1a282a47968008f5329fbee5aea
Full example here: https://www.dropbox.com/scl/fi/4oekcb7n3c2w8vc30uez3/report-99.zip?rlkey=vd5zyb220xubfzmkfvjsb4p8k&st=w1nbof36&dl=0
To run the example: npm i && npm run start
Additional Information
The issue happens on Windows 11 but not on Windows 10.
I observed this behavior on Electron vs: 38.7.2 and 40.6.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
40-x-ybug 🪲component/dialoghas-repro-gistIssue can be reproduced with code at https://gist.github.com/Issue can be reproduced with code at https://gist.github.com/platform/windowsstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
