Closed
Bug 1314643
Opened 8 years ago
Closed 8 years ago
[One-off searches] Changing the default search engine from Search bar does not work first time
Categories
(Firefox :: Search, defect, P2)
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
firefox49 | --- | unaffected |
firefox50 | --- | unaffected |
firefox51 | --- | verified |
firefox52 | --- | verified |
People
(Reporter: cirdeiliviu, Assigned: standard8)
References
Details
(Keywords: regression, Whiteboard: [fxsearch][fixed by bug 1297374])
[Affected versions]:
Aurora 51
[Affected platforms]:
All
[Steps to reproduce]:
1. Open Aurora 51 and type something in Search bar.
2. Right-click on a one-off searches icons. (e.g. Wikipedia).
3. From context menu click "Set as default search engine".
[Expected Result]:
The search engine should be set as default.
[Actual Result]:
The search engine is not set as default. Repeating this with other engines does not set any of them as default engine until the Search bar is closed and reopened.
This happens only for the first time the user starts Firefox or any time he opens a new window and opens the Search bar.
[Regression]:
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=109281cadd425161c50bce8ab4064faa68c4113c&tochange=3b3e87b91108ced2173ae34357cfed8db7cfe6c0
Probably regressed by Bug 1297976 - Fix accessibility for the unified one-off search buttons in the urlbar and searchbar
[Notes]
[1] This reproduces on Aurora where the oneOffSearches from Awesomebar is disabled.
[2] This was reproducible also on Nightly if the "browser.urlbar.oneOffSearches" was set to false UNTIL bug 1297374 was fixed. So bug 1297374 fixed this issue, but only on Nightly. I think the easiest way to fix this is to uplift the fix from bug 1297374 to Aurora.
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 3•8 years ago
|
||
Hi ::mak,
Per notes [2] in description, do you think we need to uplift the fix of bug 1297374 to 51 aurora to fix this issue?
Flags: needinfo?(mak77)
Comment 4•8 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #2)
> (In reply to Milan Sreckovic [:milan] from comment #1)
> > One off search is enabled in Aurora?
>
> No, it shouldn't be, and Aurora bugs won't be fixed.
It looks to me like this bug is about one offs in the search bar, not the awesomebar; if so it's been enabled since Firefox 34.
Comment 5•8 years ago
|
||
Ah sorry, I misread the bug as being related to the awesomebar (so confusing). This is about one-off buttons in the search bar.
Yes, it could be worth uplifting bug 1297374 if it fixes this bug in the searchbar.
Flags: needinfo?(mak77)
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: [fxsearch]
Reporter | ||
Comment 6•8 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #4)
> It looks to me like this bug is about one offs in the search bar, not the
> awesomebar; if so it's been enabled since Firefox 34.
Even if it is in the search bar, this bug was introduced by the Awesomebar work. (See the regression range from the report). It is not the first time when the one-off searches from awesomebar work affects search bar, and until now Drew fixed the bugs even for Aurora (uplifting the fix). As I know oneoff searches is disabled in Aurora but some code is still touched and my cause regressions, like this one.
Comment 7•8 years ago
|
||
makes sense, most of the code is now shared.
Assignee | ||
Comment 8•8 years ago
|
||
I'll take a look in a bit and see how easy it is to uplift that patch.
Assignee: nobody → standard8
Assignee | ||
Comment 9•8 years ago
|
||
This is the same bug as bug 1297374. It doesn't matter which way the preference is set, bug 1180944 added the buttons to the urlbar and in doing so changed some code which accidentally caused the regression.
Since this will be an uplift of the same bug fix I'm going to mark this as duplicate of bug 1297374 and deal with the uplift there - it'll be clearer for drivers.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 10•8 years ago
|
||
Oh, and now I remember this isn't exactly the same bug, but I still think its worth managing in the same place.
Assignee | ||
Comment 11•8 years ago
|
||
Ok, to make this all clearer, changing the annotation to fixed by bug 1297374.
Setting verified for 52 as per comment 0.
Depends on: 1297374
Resolution: DUPLICATE → FIXED
Whiteboard: [fxsearch] → [fxsearch][fixed by bug 1297374]
Comment 12•8 years ago
|
||
Mark 51 fixed as this was fixed in 51 of bug 1297374.
Reporter | ||
Comment 13•8 years ago
|
||
The fix is verified on Aurora 51.0a2 (Build ID 20161105004017). I tested on:
*Windows 10
*Ubuntu 16.04
*Mac 10.11
Changing the default search engine from search bar works as expected.
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Flags: in-qa-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•