fpv-wtf / wtfos-configurator

Configurator for wtfos, with built in margerine
GNU Affero General Public License v3.0
42 stars 16 forks source link

OSD Overlay "START"-Button does not work in Safari #390

Open timephy opened 1 year ago

timephy commented 1 year ago

Device

Goggles V2

Operating System (Including version)

macOS Ventura 13.4.1

Browser

Safari

Trace ID (bottom left of the configurator screen)

c92ec69b-596e-4e08-b7ab-ab272b690886

Describe the issue

Hi, title says it all.

UI-wise nothing happens, but this error is logged to console: Unhandled Promise Rejection: TypeError: undefined is not a function (near '...window.showSaveFilePicker...')

On Chrome on the other hand everything works (same machine, same video, same fonts).

Here is a screenshot: image

rekunkel commented 1 year ago

I also have the same issue. Does this only work in Chrome?

FinalFrag commented 12 months ago

This error is caused by our use of the showSaveFilePicker function. So currently it only works in Chrome 86+, Edge 86+, Opera 72+ (source)

We'll have to look into another way to save the file.

stylesuxx commented 12 months ago

We could fall back to the "oldskool" method of saving the file if showSavFilePicker method is undefined. I implemented it like that in another project.