# Issue with “Custom Context Menu (NEW)” – Automatic App Switching After a Few Minutes

**URL:** <https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262>\
**Category:** Bugs or Unexpected Behavior\
**Created:** [February 12, 2025, 6:55am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262 "2025-02-12T06:55:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![CLUB777ONE](https://community.folivora.ai/user_avatar/community.folivora.ai/club777one/32/41653_2.png) [@CLUB777ONE](https://community.folivora.ai/u/CLUB777ONE)\
**Post date:** [February 12, 2025, 6:55am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/1 "2025-02-12T06:55:07Z")

</div>

Hi everyone,

I’ve set up a **Custom Menu Bar Icon** in BetterTouchTool with the action **“Show Custom Context Menu (NEW)”**. This menu contains several items, each triggering a specific action, such as:

• **Screenshot** → (Action: Send Keyboard Shortcut)

• **Date** → (Action: Insert/Type/Paste Custom Text)

• **Color Picker** → (Action: Show Color Picker)

• etc.

Additionally, I created a **keyboard shortcut** that opens the **Custom Context Menu (NEW)** using the **“Execute Actions For Existing Configured Trigger”** action.

**The Problem:**

After starting BetterTouchTool, everything works perfectly—for a few minutes. Then, a strange issue starts occurring:

1. **Immediately after launching BetterTouchTool:** Everything works as expected.

• I have Safari in the foreground, select “Screenshot” from the Custom Context Menu → A screenshot is taken correctly.

• I switch to my email app, select “Date” → The current date is inserted correctly.

• I switch to Finder, select “Color Picker” → The color picker opens.

1. **After a few minutes:** The system starts switching applications automatically.

• If Finder is in the foreground and I click “Screenshot” in the Custom Context Menu, **Safari** is suddenly brought to the front.

• If I then switch to my email app and select “Date,” **Safari** comes forward again, and the date is inserted there instead.

• Restarting BetterTouchTool temporarily fixes the issue—but only for a few minutes. After that, the automatic app switching happens again, sometimes switching to **Finder** instead of Safari.

**Interesting Detail:**

If I open the Custom Context Menu **via the keyboard shortcut** ( **Execute Actions For Existing Configured Trigger** ) instead of clicking the menu bar icon, everything works **perfectly** —no automatic app switching occurs.

Does anyone have any idea what might be causing this? Is this a bug, or is there a setting I might have overlooked?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![ngan](https://community.folivora.ai/letter_avatar_proxy/v4/letter/n/4da419/32.png) [@ngan](https://community.folivora.ai/u/ngan)\
**Post date:** [February 12, 2025, 7:19am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/2 "2025-02-12T07:19:15Z")

</div>

Probably should show your config page of the menu to let others checking whether the setup is correct?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 12, 2025, 8:04am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/3 "2025-02-12T08:04:30Z")

</div>

Or could you share the whole menu? Then I could try it myself and see what's happening

// I might have an idea what's causing it. Will upload a potential fix with the next alpha

---

<div class="post-metadata">

**Author:** ![CLUB777ONE](https://community.folivora.ai/user_avatar/community.folivora.ai/club777one/32/41653_2.png) [@CLUB777ONE](https://community.folivora.ai/u/CLUB777ONE)\
**Post date:** [February 12, 2025, 9:14am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/4 "2025-02-12T09:14:10Z")

</div>

These are my presets:  
[macOS - Triggers.bttpreset](https://community.folivora.ai/uploads/short-url/4jMUgJbaom2t2R17o3TUisjW84M.bttpreset) (100.6 KB)  
[macOS Spezial - Triggers.bttpreset](https://community.folivora.ai/uploads/short-url/h8U7iUO5IVRxhr75JBfsG4DPbPf.bttpreset) (527 Bytes)  
[Master - Triggers+Settings.bttpresetzip](https://community.folivora.ai/uploads/short-url/yTcuczD0hJAXNgfDeigVlb3CMvq.bttpresetz) (3.2 KB)

I also just noticed that BetterTouchTool crashes when I try to access one of the previously created actions. However, this only happens with this one specific trigger. See video:

Additionally, I wanted to mention that these settings have no effect. See screenshot:

 ![Bildschirmfoto 2025-02-12 um 09.57.04](https://community.folivora.ai/uploads/default/original/3X/e/f/ef534c9feb7491f02acd3fcc2e4711c8ea4e07f5.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 12, 2025, 9:21am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/5 "2025-02-12T09:21:01Z")

</div>

Thanks for sharing! That crash should be resolved in 5.183 (uploading now), maybe also the app switching issue but not sure yet.

---

<div class="post-metadata">

**Author:** ![CLUB777ONE](https://community.folivora.ai/user_avatar/community.folivora.ai/club777one/32/41653_2.png) [@CLUB777ONE](https://community.folivora.ai/u/CLUB777ONE)\
**Post date:** [February 12, 2025, 9:48am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/6 "2025-02-12T09:48:13Z")

</div>

Vielen Dank

I just installed version 5.183 I’ll test everything shortly and then report if there are any issues.

I completely uninstalled BetterTouchTool using AppCleaner and imported my presets. However, I noticed that the BetterTouchTool settings were not restored, even though I definitely selected **“Triggers & Settings”** when exporting.

---

<div class="post-metadata">

**Author:** ![CLUB777ONE](https://community.folivora.ai/user_avatar/community.folivora.ai/club777one/32/41653_2.png) [@CLUB777ONE](https://community.folivora.ai/u/CLUB777ONE)\
**Post date:** [February 12, 2025, 8:13pm UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/7 "2025-02-12T20:13:55Z")

</div>

BetterTouchTool no longer crashes, but the issue with app switching still persists.

I think I’ve also discovered a new bug: Right-click doesn’t work on any Menu Bar status items. No matter what is selected, it always triggers a left-click instead.

 ![Bildschirmfoto 2025-02-12 um 21.05.39](https://community.folivora.ai/uploads/default/original/3X/1/3/138d8179042a4896a8b5b8694ea8b6ac2ac86d7b.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 12, 2025, 8:42pm UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/8 "2025-02-12T20:42:08Z")

</div>

Another try in 5.193, I have disabled the app/window-restoration for context menus shown from a status item now. I think it might not be necessary in that case and if it's not enabled it should also not cause issues

The right click should also work with that version.

---

<div class="post-metadata">

**Author:** ![CLUB777ONE](https://community.folivora.ai/user_avatar/community.folivora.ai/club777one/32/41653_2.png) [@CLUB777ONE](https://community.folivora.ai/u/CLUB777ONE)\
**Post date:** [February 13, 2025, 9:16am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/9 "2025-02-13T09:16:51Z")

</div>

That would be great if this issue is finally resolved.

The right-click is also working perfectly again with this version.

However, I noticed a small issue:

When left-clicking on the **Custom Menubar Context Menu Icon** , the context menu is opened as expected.

For the right-click, I have assigned the action **“Show BTT Preferences”**. However, when I right-click on it, the behavior is a bit strange:

• The context menu briefly flashes.

• The **BetterTouchTool Preferences** open but immediately disappear into the background.

• The **BetterTouchTool** icon is visible in the dock, but clicking on it does not bring the preferences to the foreground.

• The **Custom Menubar Context Menu Icon** remains highlighted in gray.

• Only after clicking the icon again do the **BetterTouchTool Preferences** actually appear.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 13, 2025, 9:19am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/10 "2025-02-13T09:19:25Z")

</div>

Mhh I think I can't reproduce this, maybe try adding a small delay before showing the BTT preferences:

 ![image](https://community.folivora.ai/uploads/default/original/3X/1/1/110c7e3bec3010b5cd0a59d56a0c461dcb88a65d.jpeg)

---

<div class="post-metadata">

**Author:** ![CLUB777ONE](https://community.folivora.ai/user_avatar/community.folivora.ai/club777one/32/41653_2.png) [@CLUB777ONE](https://community.folivora.ai/u/CLUB777ONE)\
**Post date:** [February 13, 2025, 9:34am UTC](https://community.folivora.ai/t/issue-with-custom-context-menu-new-automatic-app-switching-after-a-few-minutes/42262/11 "2025-02-13T09:34:34Z")

</div>

Damn, so simple! Thanks a lot for the great tip. I had tried everything—moving the delay around, both async and blocking—but it never occurred to me to place it right at the beginning.

 ![Bildschirmfoto 2025-02-13 um 10.34.03](https://community.folivora.ai/uploads/default/original/3X/a/4/a45b13a1a7b4a8950993b1ee0041d7d8c779f372.png)
