<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>237190</bug_id>
          
          <creation_ts>2022-02-25 01:13:14 -0800</creation_ts>
          <short_desc>Feature Request: An event on &lt;input type=file&gt; for when HEIC to JPEG conversion starts</short_desc>
          <delta_ts>2022-02-25 16:08:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>Safari 15</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>martin_petrov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>cdumez</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1845941</commentid>
    <comment_count>0</comment_count>
    <who name="">martin_petrov</who>
    <bug_when>2022-02-25 01:13:14 -0800</bug_when>
    <thetext>&lt;input type=&quot;file&quot; accept=&quot;image/jpeg&quot; multiple&gt;

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 &quot;change&quot; event fires. However the &quot;change&quot; event doesn&apos;t fire when canceling the &quot;Choose files&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1846063</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-25 09:56:34 -0800</bug_when>
    <thetext>&lt;rdar://problem/89479482&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>