Open
Bug 1242764
Opened 9 years ago
Updated 1 years ago
Change deleting search suggestion history in the search bar from del to shift-del on all platforms (delete causes issues if a search suggestion is selected)
Categories
(Firefox :: Search, defect, P3)
Firefox
Search
Tracking
()
NEW
People
(Reporter: arni2033, Unassigned)
References
Details
(Keywords: papercut, polish, regression, Whiteboard: [snt-scrubbed][search-papercut])
Attachments
(1 file)
122.78 KB,
image/png
|
Details |
>>> My Info: Win7_64, Nightly 46, 32bit, ID 20160121030208
STR:
0. Make sure that you're using Google search engine in Search bar
1. Type "hello world" in Search bar [popup menu with search suggestions will appear]
2. Make sure that there's at least 2 search suggestions in popup menu
3. Press Down key [the 1st search suggestion will be selected]
4. Press Home key
5. Press Delete key
6. Press Ctrl+Del
Result:
After Step 5 Searchbar says "hello world". The 1st suggestion was deleted.
After Step 6 Searchbar says "hello world". The 2nd suggestion was deleted.
Expectations:
After Step 5 Searchbar should display text "ello world"
After Step 6 Searchbar should display text "world"
This issue was implemented in bug 1114707. Regression range:
> https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ae5d04409cd9&tochange=0c2f7434c325
Note:
This may also be an item from Search History, not the suggestions.
In this case my precious history item will be deleted. Actually, that happened several times.
Comment 1•9 years ago
|
||
shift+delete should remove but ctrl-delete should not
Severity: normal → minor
Priority: -- → P4
Whiteboard: [fxsearch]
Comment 1 is not complete explanation:
1) What about simply Delete?
2) I haven't mention Shift+Delete, but it's default action is "delete 1 symbol after the caret"
This behavior is presented in <textarea>, <input>, Location bar and even in Search bar.
I often press Shift+Delete as well, expecting it to delete 1 symbol. So if Shift+Del will
be deleting my precious history items (I saved them on purpose, right?), this is still a bug.
(In reply to :shell escalante from comment #1)
> shift+delete should remove but ctrl-delete should not
Have you really read the STR in comment 0?
Does it make difference to you if in Step 5 you do nothing? Because, if these 2 scenarios look the same to you, then we need to clarify something... They are not the same; expectations are different. Also, I don't feel like this respond about Shift+Del really refers to comment 0. Therefore setting NI
Flags: needinfo?(sescalante)
Comment 4•9 years ago
|
||
(In reply to arni2033 from comment #3)
> (In reply to :shell escalante from comment #1)
> > shift+delete should remove but ctrl-delete should not
> Have you really read the STR in comment 0?
Shell's comment here is a short summary what we/I said during a triage meeting. I had indeed missed step 5 in the STRs.
It seems the Del key removing the selected suggestion is consistent with the behavior in the awesomebar.
Not closing the search panel when the user interacts with the searchbar was an intentional UX change.
I guess one possible fix would be to clear the suggestion selection when the caret is moved using the keyboard (Home key in your STRs, but also left/right arrow keys). Note that moving the caret with a click already clears the suggestion selection.
Flags: needinfo?(sescalante)
(In reply to Florian Quèze [:florian] [:flo] from comment #4)
> Shell's comment here is a short summary what we/I said during a triage meeting.
> I had indeed missed step 5 in the STRs.
I'm sorry, my comment 3 was a bit incorrect. The key point in STR is Step 4, not step 5. Looks like
you understood it anyway, but also wrote "Step 5". So just in case, here's the full description from
my side. Now I can be sure that whatever decision you'll take, it's based directly on what I meant
Improved STR:
0. Make sure that you're using Google search engine in Search bar
1. Type "hello world" in Search bar [popup menu with search suggestions will appear]
2. Make sure that there're at least 2 search suggestions in popup menu
3. Press Down key [the 1st search suggestion will be selected]
4.A) Do nothing
4.B) Press Home key
4.C) Press Left key several times, then press Ctrl+Left twice
5. Press Delete key
6. Press Shift+Del
7. Press Ctrl+Del
AR:
After Step 5 Searchbar says "hello world". The 1st suggestion was deleted.
After Step 6 Searchbar says "hello world". The 2nd suggestion was deleted.
After Step 7 Searchbar says "hello world". The 3rd suggestion was deleted.
ER:
(A): AR is expected
(B), (C): After Step 5 Searchbar should display text "ello world"
After Step 6 Searchbar should display text "llo world"
After Step 7 Searchbar should display text "world"
Explanation:
In scenarios (B) and (C) user (me) moves caret within the search bar. It's clear that user started working with text inside <input>, so all attention is paid to <input>, not to suggestions.
So pressing Delete key should apply to the <input>.
![]() |
||
Updated•9 years ago
|
Comment 6•9 years ago
|
||
Panos: do you want to increase the priority of this given comment 4?
Flags: needinfo?(past)
Comment 7•9 years ago
|
||
Thanks for the ping, I think the removal of the suggestion with a plain Delete is particularly annoying. Shift-Delete should keep matching the behavior of the awesomebar, but Ctrl-Delete or plain Delete should keep editing the input field text. Marking it as P3 as there is a number of other similar bugs with this priority, but I could be convinced to make it a P2 if others feel strongly about it.
Flags: needinfo?(past)
Priority: P4 → P3
status-firefox49:
--- → affected
status-firefox50:
--- → affected
Updated•9 years ago
|
fix-optional unless it changes to a P2.
status-firefox65:
--- → affected
Comment 10•6 years ago
|
||
i have google suggestions disabled, i am not sure about it, but this is still existent with search history suggestions in ff 65.0 64bit.
Updated•6 years ago
|
status-firefox66:
--- → fix-optional
status-firefox67:
--- → fix-optional
status-firefox-esr60:
--- → wontfix
Comment 11•6 years ago
|
||
Bulk change for all regression bugs with status-firefox67 as 'fix-optional' to be marked 'affected' for status-firefox68.
status-firefox68:
--- → affected
Updated•6 years ago
|
Comment 12•6 years ago
|
||
I've just discussed this with :mverdi and we've agreed that changing to shift-delete on all platforms (mac already uses it) is the right thing to do here. It makes it consistent with the recent address bar switch, and avoids these type of issues (this bug and bug 1293046).
Blocks: 1293046
status-firefox47:
wontfix → ---
status-firefox48:
wontfix → ---
status-firefox49:
wontfix → ---
status-firefox50:
wontfix → ---
status-firefox51:
wontfix → ---
status-firefox52:
wontfix → ---
status-firefox65:
wontfix → ---
status-firefox66:
fix-optional → ---
status-firefox67:
fix-optional → ---
status-firefox68:
fix-optional → ---
status-firefox-esr60:
wontfix → ---
See Also: 1293046 →
Summary: It's not possible to delete text with (Ctrl+)Del if one of search suggestions was accidentally selected → Change deleting search suggestion history in the search bar from del to shift-del on all platforms (delete causes issues if a search suggestion is selected)
Comment 13•5 years ago
|
||
The shortcut was changed to shift+del in bug 1525547. So I think we can close this as fixed and make it depend on that bug.
Flags: needinfo?(dharvey)
Comment 14•5 years ago
|
||
Sorry the shortcut was changed for the address bar not the search bar.
Flags: needinfo?(dharvey)
Updated•4 years ago
|
Assignee: nobody → standard8
Severity: minor → S4
Updated•4 years ago
|
Assignee: standard8 → nobody
Updated•2 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SNT-332
Updated•2 years ago
|
Severity: S4 → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•