Bug 1909189 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

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:
  1.  modify the ui so the url doesn't move at all, for example introducing a fixed size "dynamic island"-like box
  2.   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"
  3.  Apply a css trick where for 1s we fix the boxes width and use overflow: hidden, then unlock it after 1s. In some cases text/icons may appear cut for 1s.
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:
  1.  modify the ui so the url doesn't move at all, for example introducing a fixed size "dynamic island"-like box
  2.   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"
  3.  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.

Back to Bug 1909189 Comment 0