Closed
Bug 896768
Opened 11 years ago
Closed 11 years ago
Want to be able to style <textbox autocompletesearch="file"> results
Categories
(Toolkit :: Autocomplete, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(2 files, 1 obsolete file)
5.11 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
3.23 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
SeaMonkey and DOM Inspector have autocomplete textboxes that complete from both history and (on Linux only) local files. History autocomplete provides favicons, however local autocomplete provides no autocomplete images or styles. One option is to make the nsFileResult's GetImageAt return a -moz-icon for the file, this would affect all the consumers (XUL filepicker for Linux included). Another option is to make the nsFileResult's GetStyleAt return two values (such as "directory" and "file", as per nsFileView::GetCellProperties). Consumers would have to provide their own styles if desired (in filepicker.css for the XUL filepicker).
Assignee | ||
Comment 1•11 years ago
|
||
The filepicker.css changes are only for demonstration purposes unless you think that they are a good idea. As a reminder the XUL filepicker is only available on Linux by setting the ui.allow_platform_file_picker preference to false.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #779483 -
Flags: review?(dtownsend+bugmail)
Comment 2•11 years ago
|
||
Comment on attachment 779483 [details] [diff] [review] Possible patch Review of attachment 779483 [details] [diff] [review]: ----------------------------------------------------------------- Is this something we can easily test?
Attachment #779483 -
Flags: review?(dtownsend+bugmail) → review+
Assignee | ||
Comment 3•11 years ago
|
||
This is the best I could come up with. The fifth test fails without the patch. Unfortunately I don't know an easy way of predicting the filesystem layout.
Attachment #780848 -
Flags: review?(dtownsend+bugmail)
Assignee | ||
Comment 4•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=8572e12d55cb tests without patch (all failed) https://tbpl.mozilla.org/?tree=Try&rev=412b37833a1a tests with patch (random orange)
Comment 5•11 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #3) > Created attachment 780848 [details] [diff] [review] > XPCShellTest > > This is the best I could come up with. The fifth test fails without the > patch. Unfortunately I don't know an easy way of predicting the filesystem > layout. Can't we create a directory in the temporary profile and load it up with a predictable filesystem?
Comment 6•11 years ago
|
||
Comment on attachment 780848 [details] [diff] [review] XPCShellTest Review of attachment 780848 [details] [diff] [review]: ----------------------------------------------------------------- Waiting on a reply to my last question.
Attachment #780848 -
Flags: review?(dtownsend+bugmail)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #780848 -
Attachment is obsolete: true
Attachment #788362 -
Flags: review?(dtownsend+bugmail)
Updated•11 years ago
|
Attachment #788362 -
Flags: review?(dtownsend+bugmail) → review+
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/cf1c3a76352d https://hg.mozilla.org/integration/mozilla-inbound/rev/f3e583c68088
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cf1c3a76352d https://hg.mozilla.org/mozilla-central/rev/f3e583c68088
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•