On windows, when using selectInput() or selectOutput() the file dialog popup is always behind the main sketch/app and also any other file browser windows you may have open.
From memory this problem has been around for some time :
GitHub issue here that did not get solved - > https://github.com/processing/processing/issues/3775
On the old forum I thought there used to be some workaround suggestions that would bring the dialog to the front… but can’t seem to find them now.
Has anyone got any suggestions ?