-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
dialog.showMessageBoxSync defaultId not work under windows OS. #22600
Comments
@ForJason can you confirm the last working version of this? Did it work in v7? v6, or v5? |
|
I think this is still an issue. |
The Electron version reported on this issue is no longer supported. See our supported versions documentation. If you're still experiencing this issue on a supported version, please open a new issue with an updated repro - a Fiddle is very appreciated. Electron has a large issues backlog. To help our team prioritize, we're closing older issues and asking for new issues with updated repro steps if it affects a supported version. This helps sort what issues are still relevant and helps us fix them more quickly. Thanks for your patience and understanding! |
This might affect other common buttons |
I see |
Confirming that it still doesn't work as expected
The |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump
…On Fri, Oct 7, 2022, 10:20 PM github-actions[bot] ***@***.***> wrote:
This issue has been automatically marked as stale. *If this issue is
still affecting you, please leave any comment* (for example, "bump"), and
we'll keep it open. If you have any new additional information—in
particular, if this is still reproducible in the latest version of
Electron <https://www.electronjs.org/releases/stable> or in the beta
<https://www.electronjs.org/releases/beta>—please include it with your
comment!
—
Reply to this email directly, view it on GitHub
<#22600 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEPLHIZHN2GBUZTJCAV7XTWCDK77ANCNFSM4LEAHNBA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
repros in v24 |
|
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
Preflight Checklist
Issue Details
Expected Behavior
dialog.showMessageBoxSync(null, { type:'warning', buttons: ['Yes', 'No'], defaultId: 1, cancelId: 1, title: 'Power Control', message: "Warning!", });
I set "defaultId:1", after executing the function,it should focus on the "No" button.
Actual Behavior
Execute the function, in windows 10, it focuses on the "Yes" button. And it focuses on the "No" button in Ubuntu 14.04.
To Reproduce
$ git clone git@github.com:ForJason/electron-smt.git $ cd electron-smt $ npm start
Screenshots
Additional Information
The text was updated successfully, but these errors were encountered: