Arrow keys should move the caret in the urlbar when a one-off search button is selected, not the one-off selection
Categories
(Firefox :: Address Bar, defect, P5)
Tracking
()
People
(Reporter: lukas, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- Paste really long URL into URL bar
- Press any arrow key to navigate the URL*/make some changes*
- Press enter to go to url
- I made changes in the URL part (behind the first "/"); changing the host focuses the suggestion that appears.
Actual results:
- At step 2: Those "action buttons" for search engines and preferences in the "url bar dropdown" get selected.
- Typing in text or clicking in the url bar does not unfocus those so when step three is executed the selected action button will be "clicked".
Expected results:
- I should be able to move the cursor in the URL bar with the arrow keys
- "Arrow Up" should go to the beginning of the URL instead of selecting some action buttons
- Clicking in the URL bar after selecting/focusing one of the action buttons should unfocus said action button and focus the url (so that pressing enter executes "go to url")
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
It's true that once a search button becomes selected, pressing left/right/up/down will move the selection among the search buttons instead of moving the caret within the input. I agree that we might want to reconsider having left/right move the caret instead.
It's also true that when a search button is selected and you click in the input, the button remains selected.
But when a search button is selected and I start typing again, the button becomes unselected, so I can't reproduce that part of this report.
Comment 3•4 years ago
|
||
(In reply to lukas from comment #0)
Expected results:
- I should be able to move the cursor in the URL bar with the arrow keys
- "Arrow Up" should go to the beginning of the URL instead of selecting some action buttons
I'll leave this bug open for the two points above.
- Clicking in the URL bar after selecting/focusing one of the action buttons should unfocus said action button and focus the url (so that pressing enter executes "go to url")
This is similar to bug 1615149. Not quite the same but it could cover this too. I would mark this a dupe of that if not for the first two points.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•