New issue
Advanced search Search tips

Issue 840851 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Opening file picker inside popup.html closes the popup inside (Linux-specific)

Reported by x0a.c...@gmail.com, May 8 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36

Steps to reproduce the problem:
1. Inside a popup.html, create a simple <input type="file">
2. Attach .onchange event with FileReader, to display the contents of the file
3. Click "browse" and select your file

What is the expected behavior?
After selecting the file, the page should process it's contents, and display them on the page.

See video (Windows, correct behavior): https://i.imgur.com/yUWRm80.gifv

What went wrong?
Opening the file picker causes the popup.html window to lose focus, closing it and destroying any events associated with the file element.

See video (Linux, incorrect behavior): https://i.imgur.com/3sIS8Pv.gifv

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 66.0.3359.139  Channel: stable
OS Version: 10.0
Flash Version:
 
ff bug.zip
901 bytes Download
Labels: Needs-Triage-M66
Components: Blink>Forms>File
Labels: M-68 FoundIn-68 Triaged-ET Target-68
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Ubuntu 17.10 using chrome reported version #66.0.3359.139 and latest canary #68.0.3424.0. Issue is specific to OS-linux.
This is a non-regression issue as it is observed from M60 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!

Comment 3 by tkent@chromium.org, May 9 2018

Components: -Blink>Forms>File Platform>Extensions UI
Similar to  issue 172502 .

Labels: -Pri-2 -Target-68 -Needs-Triage-M66 Pri-3
Status: Available (was: Untriaged)
This is definitely something that would be nice to fix, but we probably won't get to it in the immediate future.  Marking as available in case anyone wants to jump on this.
Labels: Hotlist-DesktopUIChecked
** UI Mass Triage**
Unable to reproduce the issue on linux debian using chrome stable-70.0.3538.110 as per zip file provided in C#0. Please find the attached screencast for reference.Adding respective labels to proceed further.
840851-Unable to repro on latest stable on linux.mp4
1.5 MB View Download
Labels: Hotlist-DesktopUIToolingRequired
Cc: jmukthavaram@chromium.org

Sign in to add a comment