New issue
Advanced search Search tips

Issue 703557 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

“Open Files” dialog disappears after selecting file(s) in chrome and chromium

Reported by ldy...@gmail.com, Mar 21 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36

Steps to reproduce the problem:
https://stackoverflow.com/questions/42908320/open-files-dialog-disappears-after-selecting-files-in-chrome-and-chromium

What is the expected behavior?
"Open Files dialog" should appear each time when clicked

What went wrong?
When clicking a select file(s) button a use is prompted with "Open Files dialog" -where he picks a file(s). After selecting the file(s) and clicking Open button, dialog closes (as expected) and application goes with the flow. However, next time user clicks the select file(s) button then Open Files dialog does not show!

Problem repeats as soon as user click Open button after selecting file(s) and "selectfile directive" is addet to Preferences file. What is the solution for my problem ?

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 56.0.2924.76  Channel: n/a
OS Version: Ubuntu 16.04
Flash Version: Shockwave Flash 21.0 r0

-Application works in Firefox.
-Operating system that I am using is Ubuntu 16.04
-The same behavior repeats in Chrome
-All browsers are up to date at this point of time (Chromium v56, Chrome v57)

Fix:
The closes that I get to the solution is investigating Preferences file where sites activity are stored. 
*~/.config/chromium/Default/Preferences*

What seems to cause the problem is selectfile directive appended at the end of the Preferences file. This directive lists location of a directory where the last selected file was placed at.

"selectfile": {
    "last_directory": "/home/lukas/Pictures/Sample/paired"
 }

After removing this directive from Preferences file, application behaves normally and Open Files dialog appears as expected.
 
Preferences
28.5 KB View Download

Comment 1 by tkent@chromium.org, Mar 21 2017

Components: -Blink>FileAPI UI Blink>Forms>File
Labels: -Hotlist-Interop Needs-Bisect
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
ldynia@,Thanks for filing the issue.
Unable to reproduce the issue on Linux Ubuntu-16.04,Mac 10.12.3 & Windows 7 using chrome reported version-56.0.2924.76,stable-57.0.2987.110 & Canary-59.0.3047.0 as per below steps:
1.Open crbug.com 
2.Click on 'New issue' button
3.Click on next button
4.Click on 'Attach files'
5.Observed 'Open files' window opened successfully
6.Select the required file & click on 'open' button & observe 'open files' window gets closed
7.Again click on 'attach files' button
8.Observed 'Open files' window opened successfully
9.Select the required file & click on 'open' button & observe 'open files' window gets closed
 Able to repeat the same steps from step 4 to step 6 without any issue & observed 'Open files' window opened when user click on 'attachfiles' button

Checked the same issue on gmail (click on 'attachment icon' while composing email & observed 'open files' window opened successfully )

Please find the attached screencast for reference & let us know if we miss anything to reproduce the issue.

703557.webm
5.9 MB View Download

Comment 3 by ldy...@gmail.com, Mar 22 2017

@jmukthavaram Thanks for your input. I left with insane bug to fix :) 
Project Member

Comment 4 by sheriffbot@chromium.org, Mar 22 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "jmukthavaram@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
ldynia@,It would be more helpful if you provide us the screencast where you observed the issue.
Thanks in advance!!

Comment 6 Deleted

Project Member

Comment 7 by sheriffbot@chromium.org, Mar 24 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "jmukthavaram@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 Deleted

Comment 9 by ldy...@gmail.com, Mar 24 2017

jmukthavaram@ I don't think it will be necessary anymore. It looks like chromium came back to correct behavior (I wonder what caused that). Lets close the ticket
Labels: -Needs-Bisect
Status: WontFix (was: Unconfirmed)
Thanks for the update.Closing this issue as of now as per above comment # 9.
Please raise a new issue if you still face any issue using chrome in further.

Sign in to add a comment