On Linux this depends on what file manager is in use. I recently added some extra code so that nautilus and dolphin works with selecting file, while others like thunar does not, because it does not have support for selecting files.
https://github.com/strawberrymusicplayer/strawberry/blob/master/src/core/utilities.cpp#L335