Filebrowser problem

Hi, vid attached.

Problem when using filebrowser and cmd-tabbing to another window - when you come back, the treeview is closed and you lose current position.

Doesn’t happen when manually clicking on windows.

In the vid, the first and last switch were cmd-tab, the 2nd two were manual switches.

Also, I’d expect to see volumes at the top level so that I can navigate to different drives on the system.

thx

This seems to be due to, but surely this shouldn’t close down any open tree branches?

{
    const bool isProcessActive = Process::isForegroundProcess();

    if (wasProcessActive != isProcessActive)
    {
        wasProcessActive = isProcessActive;

        if (isProcessActive && fileList != nullptr)
            refresh();
    }
}

Ideally we should be able to choose this behaviour ourselves I think - I don’t want a refresh when I switch to another app and back… I’ll modify myself for now, but if this could be added as an option that would be great.