Set FileDialog::nameFilters to an appropriate value
Bug #1673022 reported by
Chris Coulson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Triaged
|
High
|
Santosh |
Bug Description
There is a TODO in the file dialog implementation:
+ // TODO: Find correct mapping from mimetypes to namefilter.
+ // nameFilters does filtering of file based on file extension and
+ // no clear mapping available from mimetypes to file extension, so allow
+ // all files to avoid any inconsistency as of now.
+ nameFilters: ["All files (*)"]
This can use net::GetExtensi
Also, the descriptions "All files" and any additional ones (like "Images" or "Videos") need to be localized.
Changed in oxide: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Santosh (santoshbit2007) |
To post a comment you must log in.