Closed Bug 1904829 Opened 3 months ago Closed 2 months ago

Editing the hidden scheme in the address bar behaves inconsistently

Categories

(Firefox :: Address Bar, defect, P2)

Firefox 129
defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox129 --- disabled
firefox130 --- fixed

People

(Reporter: simonf, Assigned: mak)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng])

Attachments

(2 files)

In the current Nightly, when I edit an address in the address bar and I press Home the scheme appears. Sometimes it immediately appears, sometimes I have to press e.g. Left-Arrow for it to appear. When I press quickly press Home twice it never appears anymore.

(In reply to Simon Friedberger (:simonf) from comment #0)

In the current Nightly, when I edit an address in the address bar and I press Home the scheme appears. Sometimes it immediately appears, sometimes I have to press e.g. Left-Arrow for it to appear. When I press quickly press Home twice it never appears anymore.

Could you please tell me more about your system and the steps to reproduce the problem?
Which OS are you using?
How are you focusing the address bar before pressing Home? Clicking with the mouse, with a keyboard shortcut?
Which steps are more commonly causing the problem, do you just quickly press Home twice?
A screencast showing the bug may also be useful to better understand what happens, if you could capture it easily.

Flags: needinfo?(sfriedberger)

I can reproduce this on Wayland Linux and have attached a screen recording. This is what I did:

  1. Click in the address bar
  2. Hold the HOME key for 1s
  3. Move around with the arrow keys and type text

This does not seem to happen if I just press the HOME key quickly, or double press it. But I suspect that holding the key also triggers some sort of double press due to keyboard repetition.

Holding down HOME is indeed reproducing the problem.

Whiteboard: [sng]
Flags: needinfo?(sfriedberger)
Severity: -- → S3
Priority: -- → P2
Assignee: nobody → mak
Status: NEW → ASSIGNED

Avoid handling repeated keydown events in the urlbar handler as they are not
necessary and confuse our bookkeeping.

Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/dcfaeca37f65
Don't handle repeated keydown in urlbar handler. r=urlbar-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

The patch landed in nightly and beta is affected.
:mak, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox129 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(mak)
Flags: needinfo?(mak)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: