Closed Bug 1293046 Opened 8 years ago Closed 2 years ago

Pressing Delete in search bar to delete text selected with keyboard can remove history entries instead of deleting text

Categories

(Firefox :: Search, defect, P3)

47 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1242764

People

(Reporter: mozilla_bugs_peep, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: dataloss, Whiteboard: [fxsearch])

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 Build ID: 20160623154057 Steps to reproduce: 1.) Use the search bar to search for "Mozilla Bugzilla" (or a similar multi word phrase) to get the search into your history. 2.) Clear the search bar 3.) Make sure the search bar has focus and ... 4.) Type "Mozilla" to get "Mozilla Bugzilla" to appear in the search history 5.) Press the Down button to highlight "Mozilla Bugzilla" to populate the search bar with that text. 6.) Press "End" to move the cursor to the end of the text now in the search bar 7.) Hold Shift+Ctrl+Right arrow to select "Bugzilla" text in the search bar text area 8.) Assume we just wanted to search for "Mozilla" at this point so we press "delete" to remove "Bugzilla" and just have "Mozilla" I do the above fairly regularly with search terms that are hard to spell or if I want a small change to a previous search. Trying to remove leading text as well. Actual results: The history entry for "Mozilla Bugzilla" was deleted, but the text bar still reads "Mozilla Bugzilla" with the second word highlighted. Expected results: The selected text from the textbox should have been deleted as our keyboard navigation had us interacting with the textbox widget last. The search history entry should not have been effected.
looks like a similar issue as bug 1293046. both about the behavior of delete key, when drop down is opened and text field has a focus. there is a difference in how to select the drop down menu item (intentionally and not intentionally), but the situation would be similar.
Status: UNCONFIRMED → NEW
Component: Untriaged → Search
Ever confirmed: true
This *is* bug #1293046, which bug did you mean to refer to?
sorry, I meant bug 1290424.
Priority: -- → P2
Whiteboard: [fxsearch]
See Also: → 1290424
Keywords: dataloss
See Also: → 1242764
Depends on: 1242764
See Also: 1242764
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Priority: P2 → P3
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.