# Bug report: using certain shortcuts in the card editor triggers the main window

**URL:** <https://forums.ankiweb.net/t/bug-report-using-certain-shortcuts-in-the-card-editor-triggers-the-main-window/55152>\
**Category:** Help\
**Created:** [February 1, 2025, 1:00am UTC](https://forums.ankiweb.net/t/bug-report-using-certain-shortcuts-in-the-card-editor-triggers-the-main-window/55152 "2025-02-01T01:00:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tequa1](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tequa1](https://forums.ankiweb.net/u/tequa1)\
**Post date:** [February 1, 2025, 1:00am UTC](https://forums.ankiweb.net/t/bug-report-using-certain-shortcuts-in-the-card-editor-triggers-the-main-window/55152/1 "2025-02-01T01:00:40Z")

</div>

Sorry for the confusing title but here’s how to reproduce this bug. I am using a Mac, hopefully this is able to be reproduced in Windows as well

1. Add a card (press A)
2. press “command + comma” to add a bullet point list, it should work just fine. Clear the card
3. Now just click on the main Anki window again to focus on it and bring it to the foreground
4. Now go back to the card editor. Press “command + comma” again
5. Instead of adding a bullet point list, it opens the preferences in the main window

This is a new bug introduced in one of the recent versions; I checked out an earlier version and it didn’t happen.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [February 1, 2025, 1:57am UTC](https://forums.ankiweb.net/t/bug-report-using-certain-shortcuts-in-the-card-editor-triggers-the-main-window/55152/2 "2025-02-01T01:57:34Z")

</div>

> [@tequa1](#):
>
> checked out an earlier version and it didn’t happen.

Which version didn’t have it and what version are you using?

On linux this is not reproduceable. I’m guessing this is due to a mac specific shortcut to open the preferences.

---

<div class="post-metadata">

**Author:** ![tequa1](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tequa1](https://forums.ankiweb.net/u/tequa1)\
**Post date:** [February 1, 2025, 2:04am UTC](https://forums.ankiweb.net/t/bug-report-using-certain-shortcuts-in-the-card-editor-triggers-the-main-window/55152/3 "2025-02-01T02:04:31Z")

</div>

I’m using the latest version, 24.11.

And I actually just tested it on 24.06.3 and it doesn’t happen, so looks like the latest version caused it.

---

<div class="post-metadata">

**Author:** ![tequa1](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tequa1](https://forums.ankiweb.net/u/tequa1)\
**Post date:** [February 1, 2025, 2:28am UTC](https://forums.ankiweb.net/t/bug-report-using-certain-shortcuts-in-the-card-editor-triggers-the-main-window/55152/4 "2025-02-01T02:28:42Z")

</div>

ok i at least figured out the source of it

> [@\[Bug\] Field loses focus when switching to katakana input mode](https://forums.ankiweb.net/t/bug-field-loses-focus-when-switching-to-katakana-input-mode/47767):
>
> I’m using Anki to learn Japanese. I’ve installed Japanese language support into Windows, and I find that when I use a shortcut key to switch to katakana input mode, the field loses focus. I have to click into it again to get it to work. This doesn’t happen in other apps like Notepad++. It continues to happen if I start Anki without shortcuts. Here’s the steps I can use to duplicate: In Anki, select Add. Select the field to put the focus there. Press Windows-Space. (This changes my keyboard in…

> <https://github.com/ankitects/anki/commit/40bcbe44bf1d3f0de14ed1c508105ad4be748b6c>

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [March 3, 2025, 2:29am UTC](https://forums.ankiweb.net/t/bug-report-using-certain-shortcuts-in-the-card-editor-triggers-the-main-window/55152/5 "2025-03-03T02:29:26Z")

</div>

Closed on March 3, 2025, 2:29am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
