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

[Bug]: Windows "select an app" dialog does not appear when using shell.openPath to open file without application registered for opening #36605

Open
3 tasks done
MRayermannMSFT opened this issue Dec 7, 2022 · 11 comments
Labels

Comments

@MRayermannMSFT
Copy link
Contributor

MRayermannMSFT commented Dec 7, 2022

Preflight Checklist

Electron Version

21.2.0

What operating system are you using?

Windows

Operating System Version

Windows 11 22H2

What arch are you using?

x64

Last Known Working Electron version

13.1.2

Expected Behavior

  1. Have file that doesn't have an application registered for opening
  2. Use shell.openPath to open the file

Expected: a "select an app" dialog appears allowing you to choose an app with which to open the file.
image

Actual Behavior

Actual: nothing appears and the file doesn't open in any application.

Testcase Gist URL

No response

Additional Information

I tried other versions of Electron to see what versions reproduced and which didn't:

  • 10.3.2 worked
  • 13.1.2 worked
  • 16.0.4 failed
  • 21.2.0 failed

I also tried reproducing on Windows 10, and I could not reproduce the issue.

@MRayermannMSFT MRayermannMSFT changed the title [Bug]: Windows "choose an app" dialog does not appear when using shell.OpenPath to open file without application registered for opening [Bug]: Windows "select an app" dialog does not appear when using shell.OpenPath to open file without application registered for opening Dec 7, 2022
@MRayermannMSFT MRayermannMSFT changed the title [Bug]: Windows "select an app" dialog does not appear when using shell.OpenPath to open file without application registered for opening [Bug]: Windows "select an app" dialog does not appear when using shell.openPath to open file without application registered for opening Dec 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2023

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!

@github-actions github-actions bot added the stale label Mar 8, 2023
@MRayermannMSFT
Copy link
Contributor Author

Reproduces in Electron 23.1.1

@MRayermannMSFT
Copy link
Contributor Author

bump ?

@github-actions github-actions bot removed the stale label Mar 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

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!

@github-actions github-actions bot added the stale label Jun 7, 2023
@MRayermannMSFT
Copy link
Contributor Author

bump

Still reproduces on Electron 24.3.1

@github-actions github-actions bot removed the stale label Jun 8, 2023
@electron-issue-triage
Copy link

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!

@MRayermannMSFT
Copy link
Contributor Author

bump

@electron-issue-triage
Copy link

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!

@MRayermannMSFT
Copy link
Contributor Author

bump

@electron-issue-triage
Copy link

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!

@MRayermannMSFT
Copy link
Contributor Author

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant