Closed
Bug 1111947
Opened 10 years ago
Closed 10 years ago
Dropping text on the searchbar shouldn't search it immediately
Categories
(Firefox :: Search, defect)
Tracking
()
People
(Reporter: alice0775, Assigned: florian)
References
(Depends on 1 open bug)
Details
(Keywords: regression, ux-discovery)
Attachments
(1 file)
(deleted),
patch
|
mossop
:
review+
phlsa
:
ui-review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Not possible to recognize which search engine will be used before performing drop text to Searchbar
I.e., transmits the data to the unexpected site.
The browser should be explicit search engine to be used.
Reporter | ||
Updated•10 years ago
|
Keywords: ux-natural-mapping → ux-discovery
Assignee | ||
Comment 1•10 years ago
|
||
Philipp, I don't think we have ever discussed this case; do you see anything obvious we can do here?
Flags: needinfo?(philipp)
Summary: Not possible to recognize which search engine will be used before performing drop text to Searchbar → Dropping text on the searchbar searches it immediately without showing which engine will be used
Comment 2•10 years ago
|
||
As far as I understand, this is polishing. We won't block the release for this.
In addition to dropping text this also happens when right-clicking in the search field and selecting "paste" / "paste & search" and when jumping into the search field with ctrl+k and ctrl+v.
This ultimately stems from the removal of the search engine name from the search box. This is something that should be reconsidered.
Comment 4•10 years ago
|
||
The behavior that the search bar triggers a search automatically seems odd in general.
The awesomebar just shows the text as if the user has pasted it manually. Seems like the search box should do the same.
Flags: needinfo?(philipp)
Assignee | ||
Comment 5•10 years ago
|
||
Rephrasing the summary to match my understanding of comment 4.
Summary: Dropping text on the searchbar searches it immediately without showing which engine will be used → Dropping text on the searchbar shouldn't search it immediately
Assignee | ||
Comment 6•10 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=57f8515822f1
Also asking for ui-review for confirmation, because the behavior we are changing has been in place since probably Firefox 1.0 (I couldn't find the exact check-in, but it's from the aviary branch).
Assignee: nobody → florian
Attachment #8554541 -
Flags: ui-review?(philipp)
Attachment #8554541 -
Flags: review?(dtownsend)
Assignee | ||
Updated•10 years ago
|
Points: --- → 2
Flags: qe-verify+
Flags: firefox-backlog+
Updated•10 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 38.1 - 26 Jan
Comment 7•10 years ago
|
||
Comment on attachment 8554541 [details] [diff] [review]
Patch
Review of attachment 8554541 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/components/search/test/browser_426329.js
@@ -226,5 @@
> "Shift+MiddleClick loaded results in background tab");
> is(event.originalTarget.URL, expectedURL(searchBar.value), "testShiftMiddleClick opened correct search page");
> });
>
> -add_task(function testDropText() {
Can we still test that the popup opened here?
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Dave Townsend [:mossop] from comment #7)
> ::: browser/components/search/test/browser_426329.js
> @@ -226,5 @@
> > "Shift+MiddleClick loaded results in background tab");
> > is(event.originalTarget.URL, expectedURL(searchBar.value), "testShiftMiddleClick opened correct search page");
> > });
> >
> > -add_task(function testDropText() {
>
> Can we still test that the popup opened here?
How would this be different from the test I added in browser_searchbar_openpopup.js?
Comment 9•10 years ago
|
||
Comment on attachment 8554541 [details] [diff] [review]
Patch
Review of attachment 8554541 [details] [diff] [review]:
-----------------------------------------------------------------
Never mind, missed the added test. r+ assuming this gets ui+
Attachment #8554541 -
Flags: review?(dtownsend) → review+
Updated•10 years ago
|
Iteration: 38.1 - 26 Jan → 38.2 - 9 Feb
Comment 10•10 years ago
|
||
Comment on attachment 8554541 [details] [diff] [review]
Patch
Looks good!
Attachment #8554541 -
Flags: ui-review?(philipp) → ui-review+
Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #6)
> Created attachment 8554541 [details] [diff] [review]
> Patch
>
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=57f8515822f1
This is consistently failing on Windows XP debug (but not on Windows XP opt, or Windows 7 debug). I don't see any obvious way to debug this. Is there an easy way to disable the test only for XP debug (but keep it running on 7 debug)?
Flags: needinfo?(dtownsend)
Comment 12•10 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #11)
> (In reply to Florian Quèze [:florian] [:flo] from comment #6)
> > Created attachment 8554541 [details] [diff] [review]
> > Patch
> >
> > https://treeherder.mozilla.org/#/jobs?repo=try&revision=57f8515822f1
>
> This is consistently failing on Windows XP debug (but not on Windows XP opt,
> or Windows 7 debug). I don't see any obvious way to debug this. Is there an
> easy way to disable the test only for XP debug (but keep it running on 7
> debug)?
I am reliably informed that this should work:
skip-if = (os == "win" && os_version == "5.1" && debug)
Flags: needinfo?(dtownsend)
Assignee | ||
Comment 13•10 years ago
|
||
Assignee | ||
Comment 14•10 years ago
|
||
Flags: in-testsuite+
Whiteboard: [fixed-in-fx-team]
Comment 15•10 years ago
|
||
sorry had to back this out for merge conflicts down from m-c in browser_searchbar_openpopup.js
Comment 16•10 years ago
|
||
Comment 17•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
Updated•10 years ago
|
status-firefox38:
--- → fixed
Updated•10 years ago
|
QA Contact: petruta.rasa
Assignee | ||
Comment 18•10 years ago
|
||
Comment on attachment 8554541 [details] [diff] [review]
Patch
Approval Request Comment
[Feature/regressing bug #]: bug 1088660.
[User impact if declined]: Dropping text on the searchbox starts a search without the user having an opportunity to see which search engine will be used.
[Describe test coverage new/current, TreeHerder]: the patch contains a test.
[Risks and why]: Not much technical risk; the code change is a one liner and has tests, but some users may be upset by this new behavior, so I don't think we should uplift it to beta; better have a whole 6 weeks for people to file bugs if there are edge cases where we should polish the behavior.
[String/UUID change made/needed]: none
Attachment #8554541 -
Flags: approval-mozilla-aurora?
Comment 19•10 years ago
|
||
Comment on attachment 8554541 [details] [diff] [review]
Patch
I agree that we should be cautious about changing behaviour that some users may have come to rely upon. Let's take this simple change on Aurora and get a full Beta cycle to test as well. Aurora+
Attachment #8554541 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Comment 20•10 years ago
|
||
Comment 21•10 years ago
|
||
Backed out from Aurora for test failures.
https://hg.mozilla.org/releases/mozilla-aurora/rev/a57cce6af02c
https://treeherder.mozilla.org/logviewer.html#?job_id=569134&repo=mozilla-aurora
Flags: needinfo?(florian)
Comment 22•10 years ago
|
||
The search panel is opened when dropping text in it - note that this only happens in non e10s windows (due to bug 936092).
Tested with Nightly 38.0a1 2015-02-08 under Ubuntu 12.04 LTS 32-bit, Windows 7 64-bit and Mac OS X 10.9.5.
Status: RESOLVED → VERIFIED
Comment 23•10 years ago
|
||
Assignee | ||
Comment 24•10 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #21)
> Backed out from Aurora for test failures.
> https://hg.mozilla.org/releases/mozilla-aurora/rev/a57cce6af02c
>
> https://treeherder.mozilla.org/logviewer.html#?job_id=569134&repo=mozilla-
> aurora
This is failing only on XP debug. This test is disabled on central for (os == "win" && os_version == "5.1" && debug) (see comment 12).
I think this code confusing because of the backout that happened when merging fx-team and mozilla-central.
I landed in comment 14 with the test disabled, Tomcat backed it out in comment 16 (without reenabling the test), and then relanded it in comment 17 (which I guess is what was uplifted).
Flags: needinfo?(florian)
Comment 25•10 years ago
|
||
Good call, thanks for looking into it.
https://hg.mozilla.org/releases/mozilla-aurora/rev/511fb27a5333
Comment 26•10 years ago
|
||
Verified as fixed using Firefox 37 beta 1 under Ubuntu 12.04 LTS 32-bit, Windows 7 64-bit and Mac OS X 10.9.5.
You need to log in
before you can comment on or make changes to this bug.
Description
•