# Bug when switching apps in different desktops pressing cmd+tab in macOS

**URL:** <https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620>\
**Category:** Bome Products\
**Tags:** bug, bome-midi-translator\
**Created:** [November 11, 2024, 8:49pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620 "2024-11-11T20:49:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [November 11, 2024, 8:49pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/1 "2024-11-11T20:49:12Z")

</div>

It seems that BMTP is missing the release of the command key after switching apps that are running in different desktop/spaces after using the shortcut command+tab.

You can use this small project to check this issue:  
[CMD PRESSED-RELEASED.bmtp](https://forum.bome.com/uploads/short-url/qDvZIatTXtGXiaxkwbIuXEYFBPj.bmtp) (1.7 KB)

The project perform three actions:

1. after pressing the command key, it shows the log ‘CMD PRESSED’
2. after releasing the command key, it shows the log ‘CMD RELEASED’ and the notification ‘CMD RELEASED’
3. after pressing the shortcut command+F12, it shows the log ‘CMD+F12 PRESSED’ and the notification ‘CMD+F12 PRESSED’

Steps to reproduce the issue:

1. Open any app in desktop 1 (i.e. System Settings)
2. Open any other app in desktop 2 (i.e. TextEdit)
3. Go to desktop 2 and activate TextEdit
4. Use the command+tab shortcut to select the System Settings app
5. Release the command key
6. The System Settings app is activated and desktop 2 changes to desktop 1
7. Now press F12 key alone. Everytime you press the F12 key alone, you will see the notification ‘CMD+F12 PRESSED’. It seems that BMTP is not aware that the command key has been released, and it reacts as the command key is still pressed.
8. Pressing and releasing the command key stops the issue

The issue occurs with any app change. System Settings and TextEdit are just examples.

Using BMTP 1.9.1 build 1064 and macOS Sonoma 14.7.1

I would appreciate if you could fix this issue as soon as possible. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [November 11, 2024, 10:54pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/3 "2024-11-11T22:54:36Z")

</div>

We are looking into it.

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [November 12, 2024, 7:04am UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/4 "2024-11-12T07:04:20Z")

</div>

Thanks.

I recommend you to set ‘Notification grouping’ to ‘Off’ in System Settings \> Notifications \> BMTP (It’s the last setting of the list).

This setting makes the new notifications to override the previous notifications, so it’s easier to see when they change.

---

<div class="post-metadata">

**Author:** ![FlorianBome](https://forum.bome.com/user_avatar/forum.bome.com/florianbome/32/2367_2.png) [@FlorianBome](https://forum.bome.com/u/FlorianBome)\
**Post date:** [November 17, 2024, 1:50pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/5 "2024-11-17T13:50:59Z")

</div>

Hi jordikt, we cannot reproduce this. Is this also happening when you’re not switching desktops?

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [November 17, 2024, 4:32pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/6 "2024-11-17T16:32:04Z")

</div>

It’s weird you can’t reproduce it…

I confirm it only happens when switching apps that are in different desktops after pressing the cmd+tab shortcut.

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [December 14, 2024, 10:11am UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/7 "2024-12-14T10:11:22Z")

</div>

Hi Florian

Any news on this issue? Was you able to reproduce it?

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [January 16, 2025, 10:22am UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/9 "2025-01-16T10:22:10Z")

</div>

Hi @FlorianBome

Any news on this issue?

Thanks

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2025, 7:09pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/11 "2025-01-16T19:09:04Z")

</div>

I’m able to duplicate it on my Mac MINI M4. I’m not sure if it has something to do with the fact that then CMD key is also a part of a combination key to switch applications. It appears that it is only recognized for release if you are in the same workspace.

Also, on my Keyboard for F12, I need to also include function no matter how I set Fn key behavior in Systems setting, so for CMD F12 I have to hit CMD fn and F12.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [January 16, 2025, 9:27pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/12 "2025-01-16T21:27:01Z")

</div>

Thanks for your feedback, Steve.

As I said in previous posts, I confirm that **this issue only happens when switching apps that are in different desktops after pressing the cmd+tab shortcut.**

Regarding F12, this shortcut is working fine for me. I can set the shortcut like this and the output action is executed as expected (my system settings are configured to always use F1, F2, etc):

 ![Captura de pantalla 2025-01-16 a les 22.23.11](https://forum.bome.com/uploads/default/original/2X/2/22c38850b1cdba531f9f9efa65a06335069a0d74.png)

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2025, 10:38pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/14 "2025-01-16T22:38:05Z")

</div>

OK, we are planning on fixing this in the next Bome MIDI Translator Pro update.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [March 9, 2025, 12:39am UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/15 "2025-03-09T00:39:01Z")

</div>

Is there any forecast when the next update will be available?

Thanks!

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [March 9, 2025, 2:22am UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/16 "2025-03-09T02:22:50Z")

</div>

I will ask Florian, but I’ve never seen him pre-announce any releases. Maybe if you want to be part of a Beta he will reach out to you.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [March 9, 2025, 6:23pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/18 "2025-03-09T18:23:56Z")

</div>

Yes, I would accept to be part of the Beta for trying if the command issue is fixed correctly, and any other improvements/fixes.

---

<div class="post-metadata">

**Author:** ![FlorianBome](https://forum.bome.com/user_avatar/forum.bome.com/florianbome/32/2367_2.png) [@FlorianBome](https://forum.bome.com/u/FlorianBome)\
**Post date:** [March 9, 2025, 9:42pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/19 "2025-03-09T21:42:32Z")

</div>

Thanks! I’ll contact you once a beta version is ready.

---

<div class="post-metadata">

**Author:** ![Jesse.B](https://forum.bome.com/user_avatar/forum.bome.com/jesse.b/32/1130_2.png) [@Jesse.B](https://forum.bome.com/u/Jesse.B)\
**Post date:** [March 10, 2025, 1:35am UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/20 "2025-03-10T01:35:09Z")

</div>

I would also like to partake in BETA testing if that is okay.

---

<div class="post-metadata">

**Author:** ![FlorianBome](https://forum.bome.com/user_avatar/forum.bome.com/florianbome/32/2367_2.png) [@FlorianBome](https://forum.bome.com/u/FlorianBome)\
**Post date:** [March 10, 2025, 10:20am UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/21 "2025-03-10T10:20:11Z")

</div>

will do!

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [December 30, 2025, 11:26pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/22 "2025-12-30T23:26:32Z")

</div>

I have seen the release notes of the last version 1.9.2 and the issue of this post is not in list of bug fixes.

Could you confirm if 1.9.2 has fixed this issue?

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [December 31, 2025, 3:21pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/25 "2025-12-31T15:21:15Z")

</div>

Hi,

It appears the issue is that you need to break up your keystrokes. The following translator 0.0 presses CMD down when you send note 0 on MIDI CH1 but only if you have not sent the keystroke already. We use the global variable ga to determine if the keystroke has already been sent.

Translator 0.1 sends the tab key every subsequent note 0 message.

The key here (no pun intended) is to send the CMD up key when you are done (translator 0.2). For this I use MIDI IN note 1. I then set ga back to 0 so the next time you press note 0, the process will repeat. I add a delay to allow keyboard processing to complete on translator 0.1.

I think the issue here is that sending a partial shortcut can cause some issues, so you need to break them up.

[testcmd.bmtp](https://forum.bome.com/uploads/short-url/lfCo6HkKZ914kWcM2aatzr8xwX5.bmtp) (1.3 KB)

I’m not convinced that the behavior of Bome MIDI Translator Pro is really the issue here. It is just the way we need to work around how Mac keyboard processing works.

Of course, you can change the incoming triggers but make sure translator 0.0 and 0.1 have the same incoming trigger.

Sorry for the delay in getting back to you!

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![jordikt](https://forum.bome.com/user_avatar/forum.bome.com/jordikt/32/2878_2.png) [@jordikt](https://forum.bome.com/u/jordikt)\
**Post date:** [December 31, 2025, 6:58pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/27 "2025-12-31T18:58:03Z")

</div>

Thanks for your reply Steve.

Do you mean that this bug is still not fixed in 1.9.2?

Is it correct?

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [December 31, 2025, 7:25pm UTC](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620/28 "2025-12-31T19:25:31Z")

</div>

Well looking back, I can’t verify that it is a bug. I was unable to reproduce it, and actually looking back wasn’t sure how I confirmed it, so I just created something that works. Keystroke handling on the Mac seems very unusual to me as compared to Windows. I’ll continue to explore but I think the most important thing is to make something that meets your needs with our current implementation.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

[Next page](https://forum.bome.com/t/bug-when-switching-apps-in-different-desktops-pressing-cmd-tab-in-macos/6620.md?page=2)
