Skip to content

Move operation (Shift+F2) triggers exception #112

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

Open
ovgolovin opened this issue Jan 21, 2025 · 1 comment
Open

Move operation (Shift+F2) triggers exception #112

ovgolovin opened this issue Jan 21, 2025 · 1 comment

Comments

@ovgolovin
Copy link

Moving operation triggered with ⇧ Shift + F2 ) shortcut for both file and folder throws exception.

This is the fragment from console log:

plugin:quick-explorer:1 Uncaught TypeError: Cannot read properties of undefined (reading 'setCurrentFile')
    at P.doMove (plugin:quick-explorer:1:25534)
    at e.handleKey (app.js:1:754621)
    at e.onKeyEvent (app.js:1:755877)
@pjeby
Copy link
Owner

pjeby commented Jan 26, 2025

Oh wow, they took out that function in a previous Obsidian release and I never noticed. There's now no way to access that modal from a plugin without monkeypatching. I've created a workaround that works on my machine; check out 0.2.13 and see if it works for you.

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

No branches or pull requests

2 participants