[Bug]: Revealing a file in File Explorer takes over 2 seconds on Windows#33063

opened2d agobyLlyn1dev

Area

apps/desktop

Steps to reproduce

On Windows, open a file in the file preview panel and press Open in File Explorer.

Expected behavior

Explorer opens with the file selected about as fast as the OS allows.

Actual behavior

About 2.4 s here. T3 starts a hidden Windows PowerShell before Explorer. T3's own server work takes 8-55 ms (server traces).

Time until the file is selected (Windows 11 26200, Core Ultra 7 255H, 4 runs each, after a warm-up):

RouteAverage
main (PowerShell then explorer /select)2,453 ms
Electron shell.showItemInFolder1,279 ms

Separately, in the real launcher: main 2,208 ms, skipping PowerShell 1,747 ms.

Related: #21221, #30954, #19526

Impact

Minor bug or occasional failure

Version or commit

main @ ade473018, also 0.1.6