Open Bug 531207 Opened 13 years ago Updated 2 years ago

search service should accept non-16x16px images if they're the only ones available

Categories

(Firefox :: Search, defect, P3)

defect

Tracking

()

People

(Reporter: Gavin, Unassigned)

References

Details

Fennec started specifying 32x32px images in its search engine description files, since we display them at that size and want them to look good. However, we were forced to specify the size as 16x16 since those are the only sizes _parseImage will accept. We should probably have it favor 16x16px images, but fall back to others if none are present.
Summary: search service should accept no-16x16px images if they're the only ones available → search service should accept non-16x16px images if they're the only ones available
might need to reconsider bug 361923 if .ico's with more pages are going to be of more use...
So I'm trying to load a search plugin to Firefox mobile with a 32x32 icon...
(Ideally I want to use the same icon for desktop and mobile being a .ico containing both 16 and 32 square icons)

I'd specify this simply as 
<Image>*urlsnip*</Image>
and the browser would choose the best icon from the file.

but that gives on desktop:
"OpenSearch image must have explicit width=16 height=16: *urlsnip*"
in the browser console.

http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_description_document
tells me the width and height are optional
(though I'll admit to not following all of the spec)

Am I right in thinking there is currently no way (other than shipped search plugins) of adding a full sized icon to mobile?
Bug 900137 addressed that use case properly (though it's only shipping in Firefox 28).

The workaround prior to that was to include a 32x32 (or larger) image, but just lie and label it as 16x16. Should work fine!
Priority: -- → P3
See Also: → 795866
Severity: normal → S4
You need to log in before you can comment on or make changes to this bug.