electron: dialog.showOpenDialog does not work with network shares on macOS
- Electron version: 1.8.2
- Operating system: macOS 10.13.3
Expected behavior
I should be able to see folders inside a network share using dialog.showOpenDialog
Actual behavior
I can’t see folders inside a network share
How to reproduce
git clone -b cannot-see-network-folders https://github.com/greggman/electron-quick-start.git
cd electron-quick-start
npm install
npm start
An open dialog will appear.
- Navigate to a network share and try to find content inside. None will appear.
- Click cancel
- Click “Choose Files” (this is an
<input type="file">
element - Navigate to a network share and try to find content inside. It will work
Even stranger
- Click cancel
- Click “click to select files/folders”
It will start in the network share showing the contents. Re-navigate to the network share and the contents will not appear
Since using <input type="file">
WORKS IN ELECTRON so it looks like it’s just some flag missing? Maybe I’m just using it wrong although I didn’t see anything in the docs
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 15 (11 by maintainers)
Seems to work on 2.0.1
@etyp it was backported to the
2-0-X
release line, so it’s almost definitely gone out by now