Bug 237190 - Feature Request: An event on <input type=file> for when HEIC to JPEG conversion starts
Summary: Feature Request: An event on <input type=file> for when HEIC to JPEG conversi...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 15
Hardware: Mac (Intel) macOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-25 01:13 PST by martin_petrov
Modified: 2022-02-25 16:08 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin_petrov 2022-02-25 01:13:14 PST
<input type="file" accept="image/jpeg" multiple>

The automatic conversion of multiple HEIC files to JPEG is slow on older machines. I would like to display a loader. I can already show a loader when the user clicks the input, and hide it when the "change" event fires. However the "change" event doesn't fire when canceling the "Choose files" dialog.

A solution could be an extra event that fires immediately after files are chosen (before conversion), or alternatively, an event for the Cancel action.
Comment 1 Radar WebKit Bug Importer 2022-02-25 09:56:34 PST
<rdar://problem/89479482>