Closed
Bug 1909189
Opened 3 months ago
Closed 29 days ago
Evaluate alternatives to avoid shifting url when using double-click to select
Categories
(Firefox :: Address Bar, defect, P3)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
132 Branch
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
While in most cases it works fine, there's cases where the removal of permission icons, not secure label, and the appearance of the dedicated search button, may cause double-click to select word to target an unexpected word.
To appropriately address the problem, we must ensure the url doesn't move until dbl-click is complete, that means the space in front of the input field must remain the same.
There's various approaches, all having their pro and cons:
- modify the ui so the url doesn't move at all, for example introducing a fixed size "dynamic island"-like box
- introduce a delay before showing/hiding icons. Though that delay can't be smaller than 1s, because double click delay is by default 500ms, and on touch it's closer to 1s. That introduces some risks as other events may arrive that invalidate the state. Plus the ui may feel "slow"
- Apply a css trick where for 1s we fix the before-url boxes width and use overflow: hidden, then unlock it after 1s. In some cases text/icons may appear cut for 1s.
Updated•3 months ago
|
Assignee | ||
Updated•1 month ago
|
Assignee: nobody → mak
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•1 month ago
|
||
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/63171f1495ff
Don't shift URL in the Address Bar on mouse focus, delay DOM changes to the first input event. r=jteow,daleharvey,desktop-theme-reviewers,urlbar-reviewers,dao
Comment 3•29 days ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 29 days ago
status-firefox132:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•