Page 2 of 2

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Sun Jul 05, 2020 10:43 am
by karlchen
Hi, folks.

I cannot confirm that Firefox 78.0.1 provided by Linux Mint does not permit to add additional search engines.
Means that I can confirm that adding additional search engines on Fireofx 78.0.1 may work.
At least here on LM 19.3 with Firefox 78.0.1 (78.0.1+linuxmint1+tricia), I succeeded in adding Google and Bing.
I admit I did not try more engines than those 2; and I have removed Bing again later on.
(Though the latter operation is irrelevant for the reported problem.)
karlchen at 20:00 CEST wrote:No need to follow the steps below, there is a better and more straight forward way.
See
xenopeek's post below.
The steps given by me do work. But they are more complicated than necessary. :oops:
1. Prerequisite for adding to work:
Under Preferences => Search, the separate search bar must have been enabled. (marked in screenshot)
User sueede had already mentioned so in his post above.

Image

2. Adding a search engine:
  • Go to Preferences => Search. Below the list of One-click Search Engines click on the link Add more search engines.
  • Doing so will opem a new browser tab amd take you here: Search engines in Linux Mint.
  • Click on an icon of a search engine, which is not already in your list of One-click SearchEngines.
    I will click on Bing.
  • Doing so will take you here: Bing in Linux Mint
  • The last line on this page tells you:
    Click here to add Bing to your search engines.
  • Clicking on the word and link here will do precisely nothing.
  • But:
    Clicking on the little white plus in the green circle (cf. screenshot below)

    Image

    will make the "Add Bing" line appear (cf. screenshot)

    Image
  • Click on it.

    As the next screenshot illustrates Bing is now listed as one of your search engines.

    Image
  • Switch back to the Preferences => Search tab. It should list "Bing" among your One-Click Search Engines now.

    Image
  • Goal achieved.
  • I have not found a way of making this work without the separate search bar next to the address bar. - I am sure it should work.
Best regards,
Karl
--
P.S.:
As I could not find an existing report on Github, this one has been submitted: Firefox 78.0.1: adding 1-click search engines only works, if separate searchbar enabled in iconbar #270 Already closed as solved.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Sun Jul 05, 2020 1:03 pm
by LabRat128
Just a few extra data points if anyone is interested...

Running Xfce Mint 19.3 here, no recent new installs, just regular updates.
Currently on Firefox 78.0.1 - originally installed as part of Mint, not direct from Google or anything.

As of a couple of days ago I had Google set as default search provider, with Wikipedia and Startpage as alternatives.
Suddenly today I noticed I now had Startpage as the default, with Google completely missing.

Also FWIW, going to www.google.com shows a magnifying glass icon without the green plus to add a search provider.
But www.youtube.com does show the green plus.

I've also just updated another less used machine - also Xfce Mint 19.3 from Firefox 77.0.1 to 78.0.1, but this was not affected and kept Google as the default.
So maybe FF 78.0.1 fixed causing the problem, but at least for me did not fix the ability to add Google direct from the "search box".

Both machines (now on FF 78.0.1) do show the green plus on Startpage, Yahoo, IMDB etc. Just not on Google. Very strange...

The work around given above did work for me (thank you!).
Clicking "Find more search engines" under settings takes you to https://www.linuxmint.com/searchengines.php, and clicking on Google does provide the green plus on the search box, which works. However the more obvious "click here" link as already said does nothing.

Hovering the mouse over those two areas...
"click here" says

Code: Select all

https://www.linuxmint.com/searchengines/anse.php?sen=Google&c=y#
and the "Add Google" via the search box says

Code: Select all

https://www.linuxmint.com/searchengines/google.xml

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Sun Jul 05, 2020 1:31 pm
by xenopeek
There's no need to add the separate search bar.

Here are the steps to add a search engine on Firefox 78.0.1:
  1. In Firefox go to Preferences > Search > (at the bottom) Find more search engines;
  2. On that page click the icon of the search engine you want to add (that isn't in your list of search engines yet);
  3. Then on the right side of the Firefox address bar click the ••• icon to open the page actions menu and choose Add Search Engine.
Here's a short video to demonstrate the above steps: https://i.imgur.com/LE6xTAZ.mp4

The page actions menu is perhaps less obvious but Firefox 78.0.1 behaves the same across other distros. This isn't Linux Mint specific. The instructions on the Linux Mint search engines page should perhaps be clarified though but that is something else.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Tue Jul 07, 2020 9:24 pm
by TheMatthewLyon
I can confirm this, just installed fresh Linux Mint 20 on my laptop and immediately updated to Firefox 78.0.1. I had trouble adding Google and Stack Overflow, and then found this thread. Adding the second field for search as said before allowed me to add both engines. Thanks guys!

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Fri Jul 10, 2020 7:12 am
by Tagort
xenopeek wrote:
Sun Jul 05, 2020 1:31 pm
There's no need to add the separate search bar.

Here are the steps to add a search engine on Firefox 78.0.1:
  1. In Firefox go to Preferences > Search > (at the bottom) Find more search engines;
  2. On that page click the icon of the search engine you want to add (that isn't in your list of search engines yet);
  3. Then on the right side of the Firefox address bar click the ••• icon to open the page actions menu and choose Add Search Engine.
Here's a short video to demonstrate the above steps: https://i.imgur.com/LE6xTAZ.mp4

The page actions menu is perhaps less obvious but Firefox 78.0.1 behaves the same across other distros. This isn't Linux Mint specific. The instructions on the Linux Mint search engines page should perhaps be clarified though but that is something else.
Thank you! This solution solve problem for me.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Fri Jul 10, 2020 9:34 am
by lsemmens
I have just upgraded to Mint 20 and am running FF 78.0.1 and when I try to add Google It directs me to the add google page , however, even though the "Click HERE" to add google appears to tell you to "click here" NOTHING HAPPENS!

Thank you Tagort, your video did show how I could add it! (Whoops! Thank you Xenopeek for the original solution, quoted by Tagort!:D)

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Sun Jul 12, 2020 3:35 pm
by scott8035
I did a clean install, updated and upgraded the repo like the directions say, and ended up with FF 78.0.1. It doesn't work.

Why are we forced to jump through this hoop every time we install LM? It's annoying and frustrating. I'd drop Mint before I dropped Google, so I'm hoping somebody just fixes this in the coming week. Grr.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Sun Jul 12, 2020 3:43 pm
by scott8035
Ahhh, it does indeed work after all. You have to look very closely to make it work. Click the little G icon from https://www.linuxmint.com/searchengines.php. It will take you to a second page with a "click HERE" link, but do not click that. Instead, you will notice that after clicking the icon a tiny green "+" plus sign appears within the magnifying glass icon at the left end of the search bar. Click that and you will be present with the option to add google. Grr.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Sun Jul 12, 2020 5:21 pm
by AZgl1500
scott8035 wrote:
Sun Jul 12, 2020 3:43 pm
Ahhh, it does indeed work after all. You have to look very closely to make it work. Click the little G icon from https://www.linuxmint.com/searchengines.php. It will take you to a second page with a "click HERE" link, but do not click that. Instead, you will notice that after clicking the icon a tiny green "+" plus sign appears within the magnifying glass icon at the left end of the search bar. Click that and you will be present with the option to add google. Grr.
that is what we have been saying all along...
glad you found it.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Sun Jul 12, 2020 6:37 pm
by ps-mint
Thank you very much. This workaround works :) It's an ugly bug in the new FF though!
sueede wrote:
Sun Jul 05, 2020 5:21 am
It worked for me.
I have that double bars: one addressbar and one searchbar on top of FF.
(It's under settings)

Can't get it work at the moment with only ONE bar at the top of FF
and get the new searchengine under settings - search. (I'm a newbie)

https://www.linuxmint.com/searchengines.php
And it opens a new page after click google far down.
"Click HERE to add Google to your searchengines"
After that click the green + sign at the (right) searchbar
and click add the new searchengine.

It is a little unintuitive , but it workes.

FF 78.0.1 LM 20 Cinnamon

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Mon Jul 13, 2020 2:21 am
by xenopeek
This isn't a bug though. The function "window.external.AddSearchProvider" used by websites to let you "click here" to add a search engine was removed from the HTML standard a long time ago. Firefox 78 is just catching up with that: https://www.fxsitecompat.dev/en-CA/docs ... -function/

Websites can instead use the <link rel="search" ...> HTML code to let the browser auto-discover the search engine, just as the Linux Mint search engines pages do. Just click the ••• menu in the address bar and select Add Search Engine:

Image

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Mon Jul 13, 2020 3:23 am
by AZgl1500
xenopeek wrote:
Mon Jul 13, 2020 2:21 am
This isn't a bug though. The function "window.external.AddSearchProvider" used by websites to let you "click here" to add a search engine was removed from the HTML standard a long time ago. Firefox 78 is just catching up with that: https://www.fxsitecompat.dev/en-CA/docs ... -function/

Websites can instead use the <link rel="search" ...> HTML code to let the browser auto-discover the search engine, just as the Linux Mint search engines pages do. Just click the ••• menu in the address bar and select Add Search Engine:

Image
I just tried that, and the "Add Search engine link is missing, and I can't do a Screenshot because that erases the popup window,
so, a cellphone snapshot.

Image

I am wondering if my security Extensions are getting in the way, will turn them off and BRB.

.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Mon Jul 13, 2020 3:26 am
by AZgl1500
Nope,
turning off the Extensions did not restore the Add G search engine link.

FF 78.0.2 on LM 19.3 cinnamon

the thought just occurred to me, that I already have 'Google' as an available search engine, so that probably blocked that link from the 3 dot menu?

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Mon Jul 13, 2020 6:19 am
by xenopeek
Yes, as I wrote earlier Firefox won't offer to add a search engine you've already added.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Mon Jul 13, 2020 6:39 am
by AZgl1500
xenopeek wrote:
Mon Jul 13, 2020 6:19 am
Yes, as I wrote earlier Firefox won't offer to add a search engine you've already added.
clever folks over there at Mozilla :lol: :mrgreen:

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Mon Jul 13, 2020 1:23 pm
by xenopeek
Howdy folks. The search engines pages on https://linuxmint.com/searchengines.php have been updated with instructions how to add them through page actions menu. The "click here" links have been removed as that functionality is no longer in FF78.

Re: linux mint 20, Firefox 78 and broken add search engine

Posted: Mon Jul 13, 2020 3:41 pm
by lsemmens
Thanks Xenopeek. I'm glad that's resolved.