GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

Demo does not work in Chrome on elementary os (ubuntu?) #79

Closed chhch closed 2 years ago

chhch commented 2 years ago

The demo https://browser-fs-access.glitch.me/ does not work for me in Chrome. When I click on the following buttons, nothing happens, only the console prints The user aborted a request:

This buttons work:

In Firefox everything works as excepted.

I come from excalidraw where I had the same problem (https://github.com/excalidraw/excalidraw/issues/4112). There I get a Failed to execute 'showSaveFilePicker' on 'Window': Must be handling a user gesture to show a file picker. Error when I try to save a file as images.

I think the problem is related to this https://github.com/GoogleChromeLabs/browser-fs-access/issues/38. In this demo mentioned in the comment https://github.com/GoogleChromeLabs/browser-fs-access/issues/38#issuecomment-809212784, saving as image works for me.


Chrome Version: 95.0.4638.54 OS Version: elementary os 6 (based on Ubuntu 20.04.3 LTS)

tomayac commented 2 years ago

Thanks for reporting, I can reproduce this on Debian. It seems to be a Linux issue, so I have opened a Chrome bug on your behalf. Please star this bug. I'm closing the present Issue, since it's apparently not related to the library.