Closed Bug 1366625 Opened 8 years ago Closed 5 years ago

Right click in the Address Bar popup should not select

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: Oriol, Unassigned)

References

(Depends on 1 open bug, Regression)

Details

(Whiteboard: [fxsearch] fixed by bug 1519589)

1. Write something in the search bar. 2. Right click some suggested item, this will select it. 3. Press enter. or 1. Write something in the search bar. 2. Left mousedown some suggested item, this will select it. 3. Before releasing the button, press enter. Selecting the item didn't update the text in the search bar, so you won't navigate to the selected item. Note the text is updated when you use the up and arrow keys to change the selected item. This behavior is old, but after bug 1295458 and bug 1356641 it makes sense to update the text whenever the selected item changes. This is also what Chrome does.
Some edge cases with new mousehover behavior.
Blocks: 1295458
Keywords: regression
Whiteboard: [fxsearch]
Priority: -- → P2
Priority: P2 → P1
There are 2 conflating issues here: 1. right click, this should probably be ignored, at least until we don't have a contextual menu. We currently seem to handle it as a left click. Right click should not select. 2. we select on click, not mousedown. Whether this is wanted or not may also depend on how complex is to change the current behavior. Chrome seems to select on mousedown so it may be nice to be coherent for users migrating to Firefox.
Note these issues are likely to affect both the location bar and the search bar.
It's not a recent regression, but it is more jarring with one-off buttons.
Keywords: regression
This is a P1 bug without an assignee. P1 are bugs which are being worked on for the current release cycle/iteration/sprint. If the bug is not assigned by Monday, 28 August, the bug's priority will be reset to '--'.
Keywords: stale-bug
Keywords: stale-bug
Priority: P1 → P2
Blocks: 1449488
Summary: Selecting a suggested item should update the search bar → Right click in the Address Bar popup should not select
Sorry but I disagree, selecting with right-click has its use-cases. If browser.urlbar.suggest.openpage is enabled (it is by default), then if the page you want to navigate to is already open in another tab, clicking the entry will switch to this existing tab. This is sometimes undesirable. You can use Ctrl+click to force the page to open in a new tab, but it will open at the end of the tabbar and not next to the current one. So instead I select (not click) the desired entry, and then press Ctrl+enter But if the desired entry is near the bottom, selecting it with the arrow keys is annoying. Selecting it with right-click is much more convenient. Additionally, as I said in comment 0, the urlbar is also not updated when changing selected entry by keeping left button down. Disabling right click won't fix this.
(In reply to Oriol Brufau [:Oriol] from comment #7) > If browser.urlbar.suggest.openpage is enabled (it is by default), then if > the page you want to navigate to is already open in another tab, clicking > the entry will switch to this existing tab. Just alt+click. Also shift+click should WORK, but looks like it's bogus and opens in a new window. ALT and SHIFT are the keys to override actions (like switch to tab). Using an unintended workaround is not a good idea in general, if there's a UX problem it should be handled properly by UX. > But if the desired entry is near the bottom, selecting it with the arrow > keys is annoying. Selecting it with right-click is much more convenient. Probably, but it's still an unintended workaround. If it's hard to reach the bottom result, there may be better solutions. > Additionally, as I said in comment 0, the urlbar is also not updated when > changing selected entry by keeping left button down. I don't see a use case for this and as far as I can tell it's by design. It's possible in the future we'll add a contextual menu for items, and then it's likely we'll select the item before opening the menu, but until then it doesn't make much sense. in the end, comment 2 is still the plan.
It's sad that this is not a feature. My use case is to quickly jump to the url I'm going to edit or copy.
Not a priority for now, we should re-evaluate this once we decide to add a contextual menu to the Address Bar matches.
Depends on: 1041761
Priority: P2 → P3
No longer depends on: 1041761
Depends on: 1041761
Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: 1519589
Resolution: --- → FIXED
Whiteboard: [fxsearch] → [fxsearch] fixed by bug 1519589
No longer blocks: 1295458
Regressed by: 1295458
You need to log in before you can comment on or make changes to this bug.