On Mon Aug 24 14:41:54 2026 +0000, Andrea Faulds wrote:
It works under WINE, because WINE launches a separate `explorer` process for every folder window, and therefore gives a process handle. Without this bit, the WINE session never ends, which is very annoying. However, I would not be surprised if it does nothing on Windows (which doesn't launch separate `explorer` processes) and there is in fact a hidden explorer window sticking around, which is not good… I think it might be possible to rework this to try to find the new window with `IShellWindows` and close it, but that would make things very complicated and I'm a little worried it might be fragile. If I removed the test, do you think the fix would still be mergeable? Otherwise, I guess I'll do the `IShellWindows` thing. Can we reuse the existing helper? It doesn't make multi-process assumptions and close the window instead.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11709#note_149686