(In reply to Chris Coulson from comment #14) > Created attachment 602368 > Treat distribution/searchplugins as a known location and don't use the full > path for the search engine ID's > > We've been carrying a distro patch for a long time to do the normalize() in > _loadEnginesFromDir(), and I'd like to be able to drop this at some point. > Whilst normalize() works for us, it probably wouldn't work in all cases (ie, > if the application directory can move around and nobody symlinked the > distribution folder to a stable path). > > Would you accept something like the attached patch (which basically treats > distribution/searchplugins as a known location)?
Interestingly, I have a somehow similar patch in debian, but i treat distribution/searchplugins as [app]/ instead of [distribution]/, because i moved all the default searchplugins there. And I have some additional code to make the transition smoother, although there are apparently some edge cases where that doesn't work quite well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/428306 Title: default search engines are removed and readded (keywords wiped) with upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/428306/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
