Solved Opening new tabs in foreground in Windows 11 24H2 (with middle mouse button)


APoL0

Member
Local time
5:52 AM
Posts
8
OS
Windows 11 Pro
Hi, I've recently updated to Windows 24H2 (coming from 23H2) and I use the middle mouse button to open folders in a new tab, only now, in the 24H2 update those new tabs open in the background instead of the foreground. Is there any way to make the new opened tabs open in the foreground like before? Thanks.
 
Windows Build/Version
Windows 11 24H2

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
Firefox works with the middle button.... what browser are you using?
 

My Computers My Computers

  • At a glance

    Windows 11 Home 25H2 26200.9168AMD Ryzen 3 5300G8gbRadeon Graphics 4.00GHZ
    OS
    Windows 11 Home 25H2 26200.9168
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion TP01-2xxx
    CPU
    AMD Ryzen 3 5300G
    Memory
    8gb
    Graphics Card(s)
    Radeon Graphics 4.00GHZ
    Monitor(s) Displays
    ViewSonic
    Keyboard
    HP
    Mouse
    wireless Microsoft
    Browser
    FireFox
    Antivirus
    Avira
  • At a glance

    Updated Windows 10 to 11 25H2 26200.8875Intel Core i3 8100 @3.60 GHz8.GBIntel UHD 360 (HP)
    Operating System
    Updated Windows 10 to 11 25H2 26200.8875
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    Intel Core i3 8100 @3.60 GHz
    Motherboard
    HP 8653 (U3E1)
    Memory
    8.GB
    Graphics card(s)
    Intel UHD 360 (HP)
    Sound Card
    Realtek High Def
    Monitor(s) Displays
    ViewSonic
    Other Info
    #3 System: HP laptop Windows 25H2 11Pro 26200.8524
  • HP Omni laptop Windows 11 home
    11 25H2 26200.8737
    Intel Core 5 120U
Firefox works with the middle button.... what browser are you using?
I am not using any browser. This post is about Windows 11 24H2 file explorer behavior.
 

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
Turn the wireless mouse off and then back on.
Replace the battery in the mouse.
Move the USB controller to a different USB Port
Test with a USB wired mouse
 

My Computer My Computer

At a glance

Windows 11 Pro Insider 64 bit 25H2 26200.5742Intel Core i7 9700K 3.6016 GBnVidia GEForce RTX 2060 Super
OS
Windows 11 Pro Insider 64 bit 25H2 26200.5742
Computer type
PC/Desktop
Manufacturer/Model
Gigabyte Z390 UD
CPU
Intel Core i7 9700K 3.60
Motherboard
Gigabyte Z390 UD
Memory
16 GB
Graphics Card(s)
nVidia GEForce RTX 2060 Super
Sound Card
onboard
Monitor(s) Displays
Two 27" Dell 4K monitors
Screen Resolution
3840 x 2160
Hard Drives
M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
PSU
850w PSU
Case
Cyberpower PC
Cooling
Water cooled
Keyboard
Backlit Cyberpower gaming keyboard
Mouse
Backlit Cyberpower gaming mouse
Internet Speed
1 GB mbps
Browser
Brave
Antivirus
Windows Security
Turn the wireless mouse off and then back on.
Replace the battery in the mouse.
Move the USB controller to a different USB Port
Test with a USB wired mouse
What does this have to do with my query?
 

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
Try going into explorer options, set to launch each in new instance, verify it opens them in a new instance (separate), then set back to same instances and see if that resets the focus for new tabs
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
Try going into explorer options, set to launch each in new instance, verify it opens them in a new instance (separate), then set back to same instances and see if that resets the focus for new tabs
Thanks for the response. I went to file explorer options and checked the box “launch folder windows in a separate process” (I don't know if that's what you meant) but it didn't work.
 

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
Correct, that’s what I was referring to. When you did that.. it did not open them in a new window instead of tab?
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
Correct, that’s what I was referring to. When you did that.. it did not open them in a new window instead of tab?
After activating this option, when I click the middle mouse button on a folder it keeps opening in a tab in the background, I want it to open in a new tab in the foreground.
 

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
Like in this video (1:32):


The new tabs are opened in the foreground.
 

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
i'm tracking what you're referring to. it doesnt work on my system (fully up to date 24h2) either. i'm working on scripting something right now to fix this. give me a few.

also for what its worth - dragging a tab from one explorer to another does work on my system, so apparently there are different issues all over the place. but i digress.
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
i'm tracking what you're referring to. it doesnt work on my system (fully up to date 24h2) either. i'm working on scripting something right now to fix this. give me a few.

also for what its worth - dragging a tab from one explorer to another does work on my system, so apparently there are different issues all over the place. but i digress.
Thank you very much for your trouble! I hope the script works! I suspect it may be solved by modifying something in the registry, but I don't know what.
 

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
Thank you very much for your trouble! I hope the script works! I suspect it may be solved by modifying something in the registry, but I don't know what.
i compiled an exe from autohotkey script. unzip this and run the exe. it will be running in your tray by the clock. so it will send middle click to open the new tab and immediately sent Ctrl+Tab to switch to the new tab.

*1 caveat - it sends Ctrl+Tab ONE time. so if you are on a tab that not immediately to the left of the new tab, it will open that new tab and switch to the next tab in the row. so, say you are on Desktop in the sample image below and open a new tab, it will open that new tab but only switch to Music since that is the next one over. i understand this is not a full solution, but I will keep editing the script to make it function properly and post it when i finish it.

1739678538692.webp

EDIT: *MOSTLY FIXED*

unzip this script (its compiled to exe already). will make middle click opened folder in new tab and will focus on newly opened tab.
*STILL 1 Caveat - does not focus when middle clicking navigation pane folders.


EDIT 2: FIXED
see the currently attached. it will run in your tray and will open new tabs from nav pane or inside a window via middle clicking directory and will focus on newly opened tab.
 

Attachments

Last edited:

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
It runs flawlessly! Thanks a lot! I think this will be useful for many people.
 

My Computer My Computer

At a glance

Windows 11 ProIntel i9-14900KCorsair Vengeance RGB 32GB 2x16GB DDR5 6000MH...Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB...
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel i9-14900K
Motherboard
Asus PRIME Z790-P WIFI
Memory
Corsair Vengeance RGB 32GB 2x16GB DDR5 6000MHz CL36
Graphics Card(s)
Gigabyte AMD Radeon RX 9070 XT GAMING OC 16GB GDDR6
Sound Card
Asus Xonar Essence STX II
Monitor(s) Displays
Samsunq TQ75QN85C
Screen Resolution
3840x2160
Hard Drives
Samsung 980 Pro 2TB x2 RAID 0
PSU
Corsair RM Series RM850 850W
Case
Corsair Carbide 275Q
Cooling
Corsair Hydro H100x
Keyboard
Corsair K70
Mouse
Logitech G PRO
Internet Speed
1 GB Symmetric
Browser
Mozilla Firefox
Antivirus
NOD32 Antivirus
It runs flawlessly! Thanks a lot! I think this will be useful for many people.
no problem. please mark as solved so others searching know this thread has the resolution. thanks.
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
i compiled an exe from autohotkey script. unzip this and run the exe. it will be running in your tray by the clock. so it will send middle click to open the new tab and immediately sent Ctrl+Tab to switch to the new tab.

*1 caveat - it sends Ctrl+Tab ONE time. so if you are on a tab that not immediately to the left of the new tab, it will open that new tab and switch to the next tab in the row. so, say you are on Desktop in the sample image below and open a new tab, it will open that new tab but only switch to Music since that is the next one over. i understand this is not a full solution, but I will keep editing the script to make it function properly and post it when i finish it.

View attachment 125504

EDIT: *MOSTLY FIXED*

unzip this script (its compiled to exe already). will make middle click opened folder in new tab and will focus on newly opened tab.
*STILL 1 Caveat - does not focus when middle clicking navigation pane folders.


EDIT 2: FIXED
see the currently attached. it will run in your tray and will open new tabs from nav pane or inside a window via middle clicking directory and will focus on newly opened tab.
Hi Dacrone - could you supply the code for this script so we can verify it's safe (and also I'm interested to know how it works).

Cheers
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
PC/Desktop
Hi Dacrone - could you supply the code for this script so we can verify it's safe (and also I'm interested to know how it works).

Cheers
I don’t have that anymore. Made it for that user. It’s compiled from an ahk. Just open the exe in notepad or another and it’s visible. What it does is stated in the code.
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro

Latest Support Threads

Back
Top Bottom