Search Icons are missing again #2227
Labels
No labels
Branding
Build
Alpine
Build
AppImage
Build
AUR
Build
Debian
Build
DebianOBS
Build
Fedora
Build
FedoraCOPR
Build
Flatpak
Build
Gentoo
Component
Builds
Component
Patches
Component
Settings
Component
UI
Component
Website
Docs
Change required
Docs
FYI
Flag
Caution
Flag
Good first issue
FreeBSD
Linux
macOS
Needed
Help
Needed
Info
Needed
Testing
Repositories
Research
Source
Status
Blocked
Status
Duplicate
Status
Icebox
Status
Known issue
Status
Upstream
Status
Won't fix
Type
?
Type
Bug
Type
Discussion
Type
Feature
Type
Question
Type
Task
Windows
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: librewolf/issues#2227
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
librewolf/source#87 seems to have made the search icons dissapear again, similar to what we have seen in #1965:
When I worked on the patch, this wasn't a problem, as I think the icons were still cached for me, and I thought the
main/search-config-v2collection was needed for the icons. But it turns out there is a separatemain/search-config-iconscollection we need to add tolibrewolf.services.settings.allowedCollectionsFromDump.Adding
main/search-config-iconsto the listed setting does restore favicons for the preloaded search engines, but it's worth mentioning that manually added search engines don't seem to get an icon, which I have confirmed is the same behavior as upstream (Firefox 135.0.1). Since they default to disabling the addition of search engines this way, it seems relatively unlikely that a fix will come from their end.Here's an example config for a custom GameFAQs search I added:
And the json equivalent from
search.json.mozlz4in the profile directory:Obviously, the
_iconMapObjflag isnull. Not sure if this could be improved so that manually added search engines get a favicon too. Using the bookmark keyword system, favicons work fine, so that mechanism may be preferable to some users, depending on how they use searches.EDIT: Alternatively, using pre-made search plugins from the Mycroft Project likewise supports favicons. For that reason, I would recommend using that to add search engines rather than entering them manually, which should probably be a last resort.
Fixed in
92cf17e1f2@vaguerant wrote in #2227 (comment):
I guess this is a bug that upstream isn't interested in fixing because it only happens in the non-standard configuration we enable where custom search engines can even be added directly. Per Bug 1106626 that functionality is "not enabled by default as it is not ready yet". So I think this could be reported upstream, but I am not sure what the chances are it gets fixed by Mozilla. I'll open a new issue on our side for this, and if it isn't too complex, I may submit a patch upstream.