Yaak Logo
Yaak
Feedback/Can't Delete anything because Backspace is a shortcut

Can't Delete anything because Backspace is a shortcut

PandaDEV ·a year ago
ReleasedBug

Because of the Backspace shortcut binding to delete a request, I cant use it to delete any kinds of text.

This can be fixed with just a simple if check to see if a writable field is focused.

Windows2025.2.0-beta.7

Comments (7)

Sign in to leave a comment.

PandaDEV OP

I just found this line in the code

https://github.com/mountain-loop/yaak/blob/7cba082eb0376f261e685b059808a1ae93f8dbfd/src-web/hooks/useHotKey.ts#L120

which should fix the problem, but it seems to be not working on any device I tested so far.

Gregory Schier

Ya, that code should be preventing this from happening. Can you print out the value of currentKeysWithModifiers to see if it’s different from what the conditional is expecting? I’m guessing there is something different about your system that is triggering the bug, as I cannot reproduce it.

Also, there is code to ensure the delete key only does something when the sidebar is focused: https://github.com/mountain-loop/yaak/blob/7cba082eb0376f261e685b059808a1ae93f8dbfd/src-web/components/sidebar/Sidebar.tsx#L135

Miro Stuyven

This bug is also sometimes affecting me

mt-ib

Unfortunately this makes the app unusable for me. Is there any information you need to help you narrow down the issue?

Ubuntu 22.04.5 LTS, installed via deb package

Bosco Domingo

Experiencing this right now with build 2025.4.0

Gregory Schier
Gregory Schier
Type to search feedback...