If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Previous search query should be cleared from the editbox when returning

RESOLVED DUPLICATE of bug 1048022

Status

()

Firefox for Android
Search Activity
RESOLVED DUPLICATE of bug 1048022
3 years ago
3 years ago

People

(Reporter: mfinkle, Assigned: Margaret)

Tracking

(Blocks: 1 bug)

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

I have been doing a number of searches throughout the day. Every time I go to the Search activity, the previous search query is still in the box so I need to press the 'x' to clear it. The previous query is also in the search history, so I don't think we need to leave it in the editbox too.
(Assignee)

Comment 1

3 years ago
This is caused by the fact that we don't actually reset the SearchFragment when we show the PreSearchFragment on resume:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/search/java/org/mozilla/search/MainActivity.java#101

I think bug 1046485 will help with this.
Blocks: 1017135
(Assignee)

Updated

3 years ago
Assignee: nobody → margaret.leibovic
(Assignee)

Comment 2

3 years ago
I'm going to deal with this as part of bug 1048022.
(Assignee)

Comment 3

3 years ago
My patch in bug 1048022 fixes this issue.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1048022
You need to log in before you can comment on or make changes to this bug.