-
Notifications
You must be signed in to change notification settings - Fork 496
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
drag-n-drop to open file that has "()" in its PATH #1983
Comments
I confirm I can see the same issue. However, I believe this might be an underlying nvim issue. Let me explain. I created a file with this path When drag&dropped onto neovide, the file path gets passed in as
That This command does, indeed, not load the correct file, and instead creates a new file with a different path. However, when executing that command manually in standalone nvim, I get the same issue. For example, in my test nvim ended up creating a file in IMO this should go to the nvim team, I don't think neovide is at fault here. |
I think @xarthurx already tried to report it there neovim/neovim#24542, but it got closed. But reading that I'm not sure if they understood the issue correctly. |
Yes, they say they can do nothing about it. |
Yes, manually using Doing a wholesale |
is not a correct way to open file on any system, special characters must be escaped. (Also theoretically you can run arbitrary code by having files with names like |
) * Run :edit command with nvim_cmd to escape special characters Fixes #1983 * Use a bit less verbose .cmd() function * codestyle: use .into() for Value conversion instead * codestyle: calm rustfmt --------- Co-authored-by: ZyX <napav.spels@yandex.ru> Co-authored-by: MultisampledNight <contact@multisamplednight.com>
Describe the bug
On Windows, I cannot drag-n-drop files with paths like this:
C:/(this-path)/file.md
Windows native notepad can open the file successfully.
This is similar but different to the issue: #1608
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The file can be opened successfully
Desktop (please complete the following information):
Please run
neovide --log
and paste the contents of the.log
file created in the current directory here:nothing
The text was updated successfully, but these errors were encountered: