WICG / file-handling

API for web applications to handle files
Other
82 stars 15 forks source link

File Handling Launch Destination on Chrome OS #69

Closed Offroaders123 closed 2 years ago

Offroaders123 commented 2 years ago

I wasn't sure if this is intended behavior, as it only happens on Chrome OS. I found out that opening files from the file system in my PWA, using the File Handling API, a new PWA window is created every time, but inside of a new browser window tab, not a standalone PWA window. Is it required to use the Declarative Link Capturing API to get the original behavior of opening the new window in standalone mode? This is still the case on other platforms, and this difference only happens on Chrome OS for me.

tomayac commented 2 years ago

The behavior you see is temporary. In the mid-term "launch_handler" will allow you to specify what should happen. The declarative link capturing feature will not launch, see https://github.com/GoogleChrome/web.dev/pull/6863 for details.

Offroaders123 commented 2 years ago

Thanks! I thought this was the case, since it is a pretty new API. Thought I'd mention it just in case it wasn't already known about 👍

evanstade commented 2 years ago

I think this was a bug that should be fixed now.