Bug 34643
| Summary: | "Choose file" button opens file browser view of application private directory on C drive | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | nokiabugz |
| Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | benjamin |
| Priority: | P3 | Keywords: | Qt |
| Version: | 528+ (Nightly build) | ||
| Hardware: | S60 Hardware | ||
| OS: | S60 3rd edition | ||
nokiabugz
STEPS TO REPRODUCE:
1.load www.flickr.com
2. Select the "Sign in" link
3. Select "Upload photo"
4. In new page press onto "Choose file" button
ACTUAL RESULTS:
File browser view appears.
View displays content of Bedrock private directory on C drive
Path is C:\Private\200267df\
EXPECTED RESULTS:
Assess should be to the Media files storage
*NOTE: *
Same results observed using Anomaly 4.6.1
Its private path is C:\Private\a000cf71\
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
This is the default behavior of QFileDialog, it has to be fixed in your browser, we cannot fix that for you.
You need to subclass QWebPage::extension() and QWebPage::chooseFile() to set a default directory.