# Mp3tag opens in the background when opened from context menu in Total Commander

**URL:** https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839
**Category:** Support
**Created:** [June 12, 2025, 6:50pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839 "2025-06-12T18:50:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![redwdc](https://community.mp3tag.de/user_avatar/community.mp3tag.de/redwdc/32/20249_2.png) [@redwdc](https://community.mp3tag.de/u/redwdc)
#### Post date: [June 12, 2025, 6:50pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/1 "2025-06-12T18:50:28Z")

</div>

When I right click a file or folder and select Mp2Tag in Total Commander (TC) Mp3tag opens background (behind) TC. If I use Explorer Mp3tag opens in the foreground.

I realize this could be something TC is doing but it doesn't do this with other programs I use.

Does anyone have any ideas on how to change this.

Bobbie

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 12, 2025, 8:07pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/3 "2025-06-12T20:07:30Z")

</div>

> [@redwdc](#):
>
> When I right click a file or folder and select Mp2Tag in Total Commander (TC) Mp3tag opens background (behind) TC. If I use Explorer Mp3tag opens in the foreground.

I'm observing the same and unfortunately have no explanation.

---

<div class="post-metadata">

### Author: ![redwdc](https://community.mp3tag.de/user_avatar/community.mp3tag.de/redwdc/32/20249_2.png) [@redwdc](https://community.mp3tag.de/u/redwdc)
#### Post date: [June 12, 2025, 8:14pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/4 "2025-06-12T20:14:12Z")

</div>

Thank you for the replys.

1. I don't think it has anything to do with the context menu, or at least not in my case. I forgot I not running the MS standard menus anyway.

2. If I create a toolbar icon I can drop a file or folder on it and Mp3tag open in the foreground. (Not a real fix but ...)

Maybe I'll go over to TC's forum and ask about it.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 12, 2025, 8:41pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/5 "2025-06-12T20:41:15Z")

</div>

I think I found a way to let TC change the calling process to be the foreground window via a call to [AllowSetForegroundWindow](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-allowsetforegroundwindow) from the shell extension.

I'll experiment a little and if everything works as intended, it'll be part of the next release. I'll keep you posted.

---

<div class="post-metadata">

### Author: ![astrohip](https://community.mp3tag.de/user_avatar/community.mp3tag.de/astrohip/32/18205_2.png) [@astrohip](https://community.mp3tag.de/u/astrohip)
#### Post date: [June 12, 2025, 8:43pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/6 "2025-06-12T20:43:18Z")

</div>

Same issue. Looking forward to what you discover...

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 14, 2025, 6:16am UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/7 "2025-06-14T06:16:19Z")

</div>

I've just released [Mp3tag v3.30a](https://community.mp3tag.de/t/455), which should now allow Total Commander (and other 3rd-party file managers) to set the Mp3tag window as foreground window when launched via the context menu shell extension.

Please try it out and let me know if it works for you.

---

<div class="post-metadata">

### Author: ![redwdc](https://community.mp3tag.de/user_avatar/community.mp3tag.de/redwdc/32/20249_2.png) [@redwdc](https://community.mp3tag.de/u/redwdc)
#### Post date: [June 14, 2025, 9:20am UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/8 "2025-06-14T09:20:56Z")

</div>

Florian, that's fixed it.

Thank you.

---

<div class="post-metadata">

### Author: ![astrohip](https://community.mp3tag.de/user_avatar/community.mp3tag.de/astrohip/32/18205_2.png) [@astrohip](https://community.mp3tag.de/u/astrohip)
#### Post date: [June 14, 2025, 12:41pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/9 "2025-06-14T12:41:43Z")

</div>

Fixed!!! I actually use OneCommander, not TC. But I had the same problem, and this fixes it.

Much appreciated.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [July 14, 2025, 12:41pm UTC](https://community.mp3tag.de/t/mp3tag-opens-in-the-background-when-opened-from-context-menu-in-total-commander/68839/10 "2025-07-14T12:41:51Z")

</div>

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