Closed Bug 1048066 Opened 10 years ago Closed 10 years ago

Previous search query should be cleared from the editbox when returning

Categories

(Firefox for Android Graveyard :: Search Activity, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1048022

People

(Reporter: mfinkle, Assigned: Margaret)

References

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.
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: search
Assignee: nobody → margaret.leibovic
I'm going to deal with this as part of bug 1048022.
My patch in bug 1048022 fixes this issue.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.