Cmd + Delete doesn't work (Browser)

Cmd + Delete used on some text generally will delete all the characters present in that line before the cursor’s position, however in the Browser search bar it acts similar to Option + Delete (delete “word” before the cursor’s position).

In the browser (Notes mode), the context menu on selected notes says “Delete” and shows the shortcut Cmd + Del. However, when I try the shortcut out on the selected notes, the notes are not deleted.

Anki 24.11 (87ccd24e) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-13.7.5-x86_64-i386-64bit

I assume this is not the issue with the sidebar search field? If so, it might be a Qt quirk.

Related: looks like the equivalent action in the reviewer got a different shortcut in Change “Delete Note” shortcut to cmd+backspace by zoeqevans · Pull Request #2614 · ankitects/anki · GitHub

1 Like

Does this mean that it has been implemented or not? I didn’t quite get that.

Not really. But Cmd + Backspace would delete a note.

Ah, I was misunderstanding the symbol. I thought that
image
this meant delete, it seems it is indeed backspace. I guess I’ll have to resort to using the add-on or configuring my keyboard (for me, backspace is quite inconvenient as I have to hold down the function key).

Command + fn + Delete

1 Like

I’m not a Mac user, but that symbol looks the wrong way round to me. Usually ⌫ is backspace and ⌦ would be delete (“forward backspace”) – with the arrow pointing at the characters that will be deleted.

For Anki in Windows, Delete Note is Ctrl+Del. But if it’s been changed to Cmd+Bkspace in MacOS, does that icon need to be flipped in the menu?

It’s a quirk with Mac I’d say.
image
This is the delete key (seen on the On-Screen Keyboard)
image
This is the backspace key (seen on the On-Screen Keyboard)
I think it’s to do with the names, I believe Delete on macOS and Windows refer to the opposite things.

I see! Well then, please disregard my naive comments.

But good grief! How will Windows and Mac users ever find a way to live together in harmony if the computers keep pulling shenanigans like that on us?! :upside_down_face:

1 Like

I seem to have missed this bit.
Yes, it also doesn’t work in the sidebar search field.