Open MiloLug opened 1 year ago
Sounds more like a feature than a bug. Different browsers have their native ways of opening browser managers that aren't fully cross platform supported or reproducible programmatically. But it is a good feature/fallback to have; just with complex checks and additional code.
Hi, Can I work on this issue.
API functions as
showFolderDialog
,showSaveDialog
andshowOpenDialog
do nothing on systems without default file manager. They just return empty arrays or empty strings etc. but don't even throw an error.Steps to reproduce the behavior: For this you need a simple Linux setup with a window manager (like DWM) and no file explorer. Then you can run a simple neutralino app that just tries to use showOpenDialog.
Expected behavior If you try to use plain html file input, then it will open the default browser's manager. I suppose browsers ship some common file managers with them, so I expected neutralino API to use such fallback.
Environment Neutralinojs version: v4.9.0 Neutralinojs client library version: v3.8.0