search-textbox focusable area should include area outside the inner input
Categories
(Toolkit :: UI Widgets, defect, P3)
Tracking
()
People
(Reporter: tustamido, Assigned: dao)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Since 1521280, when search-textbox was converted to a custom element, I often miss clicks to focus input texts. Even when the cursor changes to text, the element is not focused when I click (so that I can type something). This happens when the cursor is among the first 3px when it changes to text cursor.
I experience this a lot in Library "Search History'.
I will attach a gif screen recording. When I click, the textbox border flashes blue, but it's not focused (at least not the text input).
I'm on Windows 10, don't know if can be OS specific.
Comment 1•5 years ago
|
||
Able to reproduce on Beta 72, and Nightly 73.0a1 (2020-01-03)
Updated•5 years ago
|
Comment 2•5 years ago
|
||
This bug appears to be a regression - last good build 2019-05-09, first broken build 2019-05-10.
From mozregression:
2020-01-04T16:23:04: INFO : Narrowed inbound regression window from [b86c8998, c5798de8] (3 builds) to [73254a69, c5798de8] (2 builds) (~1 steps left)
2020-01-04T16:23:04: DEBUG : Starting merge handling...
2020-01-04T16:23:04: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=c5798de806e28251aeda7d23123ab2b05eb7e8fb&full=1
2020-01-04T16:23:05: DEBUG : Found commit message:
Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23045
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
•
|
||
search-textbox.js needs to have this ported: https://hg.mozilla.org/mozilla-central/file/f977fdcfa5cf515065533627722f2ad54da4120c/toolkit/content/widgets/textbox.xml#l184
If someone wants to submit a patch, please feel free, I'm fairly busy over the coming weeks.
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Hi Dao, is there someone who might be able to take comment 3 on?
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Comment 7•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Please nominate this for Beta approval when you're comfortable doing so.
Assignee | ||
Comment 9•5 years ago
|
||
I think we should just let this ride the 74 train at this point.
Comment 10•5 years ago
|
||
I have reproduced the issue on Windows 10 using Firefox Nightly 68.0a1(20190511220902)
I've also verified it on Nightly 74.0a1(20200131013147) and it has been fixed so I'm marking it accordingly.
Description
•