<?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>181081</bug_id>
          
          <creation_ts>2017-12-21 03:06:36 -0800</creation_ts>
          <short_desc>Dropping multiple files to Safari changes the file counter to 0</short_desc>
          <delta_ts>2019-04-03 11:32:01 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>196511</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=170874</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=196511</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chudesno</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
    
    <cc>ap</cc>
    
    <cc>pvollan</cc>
    
    <cc>timothy</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1384078</commentid>
    <comment_count>0</comment_count>
    <who name="">chudesno</who>
    <bug_when>2017-12-21 03:06:36 -0800</bug_when>
    <thetext>Steps to reproduce:
1. Open any webpage in Safari
2. Select a few files in Finder and drag them onto the page. Mind the files count shown in a red circle next to the cursor in osX.

Expected result:
Files count shows the number of files being dragged
https://i.stack.imgur.com/lNXFu.png

Actual result:
Files count resets to 0 once over web page opened in Safari.
https://i.stack.imgur.com/f0bRL.png

Screenshots and the problem title are taken from Stackoverflow question.
https://stackoverflow.com/questions/27797760/dropping-multiple-files-to-safari-changes-the-file-counter-to-0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1384314</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-12-21 16:51:48 -0800</bug_when>
    <thetext>Could you please confirm which Safari (Tech Preview?) version you are seeing this with?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1384430</commentid>
    <comment_count>2</comment_count>
    <who name="">chudesno</who>
    <bug_when>2017-12-22 01:27:25 -0800</bug_when>
    <thetext>That happens with Version 11.0.2 (12604.4.7.1.4) and Tech Preview Release 46 (Safari 11.1, WebKit 12605.1.18.2).

Also, just mentioned that it is not 100% consistent. If I drag over rapidly, it may show the correct files number. But if I cross the Safari window border slowly it always resets to 0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1384432</commentid>
    <comment_count>3</comment_count>
    <who name="">chudesno</who>
    <bug_when>2017-12-22 01:30:21 -0800</bug_when>
    <thetext>Also, I was able to find a post on stackoverflow dated Jan 2015 about this issue. https://stackoverflow.com/questions/27797760/dropping-multiple-files-to-safari-changes-the-file-counter-to-0

So it seems to be there for a while now.

Thanks for having a look into this!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1386965</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-01-08 15:46:38 -0800</bug_when>
    <thetext>See also: rdar://problem/34373187 (didn&apos;t read it carefully enough to be sure if that&apos;s the same issue).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1523809</commentid>
    <comment_count>5</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2019-04-03 11:32:01 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 196511 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>