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]: shell.openPath prevents opening some input silently on Linux #37240

Open
3 tasks done
xmedeko opened this issue Feb 12, 2023 · 10 comments
Open
3 tasks done

[Bug]: shell.openPath prevents opening some input silently on Linux #37240

xmedeko opened this issue Feb 12, 2023 · 10 comments

Comments

@xmedeko
Copy link

xmedeko commented Feb 12, 2023

Preflight Checklist

Electron Version

23.0.0

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 20.04.5 LTS

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

shell.openPath should return an error if it prevents opening some path input.

Actual Behavior

shell.openPath does nothing for certain input and no error is returned. I have spied how Electron executes xdg-open with openPath on Linux:

shell.openPath('sms:123456') // returns 'The action failed' and execute: xdg-open sms:123456
shell.openPath('svn://server/path') -> returns '' (no error) and xdg-open not executed

See also #28095 (comment)

And see auto-closed #28183

Testcase Gist URL

No response

Additional Information

No response

@github-actions
Copy link
Contributor

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!

@xmedeko
Copy link
Author

xmedeko commented May 17, 2023

bump

@github-actions github-actions bot removed the stale label May 18, 2023
@github-actions
Copy link
Contributor

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 Aug 17, 2023
@xmedeko
Copy link
Author

xmedeko commented Aug 20, 2023

Still same issue in Electron 26.0.0.

@github-actions github-actions bot removed the stale label Aug 21, 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!

@xmedeko
Copy link
Author

xmedeko commented Nov 27, 2023

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!

@xmedeko
Copy link
Author

xmedeko commented Mar 10, 2024

Still issue in Electron 29.1.1.

Also, when using path svn://server/path Electron prints in the console: Check failed: chdir(current_directory) == 0 and this seems new to me.

@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!

@xmedeko
Copy link
Author

xmedeko commented Jun 16, 2024

Still issue in Electron 31.0.1.

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

No branches or pull requests

2 participants