Focus ring on links after switching back to tabs after 85 update.
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox86 | --- | wontfix |
firefox87 | --- | fixed |
People
(Reporter: AvlasenkoVitaliy, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Steps to reproduce:
Open link on any site.
Actual results:
All links that was clicked has focus line (dotted box) on it. It happens only with Firefox and after 85 update. What is the purpose of this thing? It's pretty annoying to see it everytime.
Expected results:
I think this focus line should be disabled by default as it was earlier.
Comment 1•3 years ago
•
|
||
I was not able to reproduce this issue on my machine win 10x64 on Fx 85.0 (russian and english build).
Please test if the issue occurs in safe mode. Here is a link that can help you do that:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
If the issue still persists, please test it using a new profile, you can find the steps to do that below:
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
Reporter | ||
Comment 2•3 years ago
|
||
It's strange that you can't reproduce it because I met several people who also have this problem. I've tried to check it in safe mode and with new profile - it' doesn't help me. Also I want to note that it happens with all links in Firefox that was clicked, not only with search results.
Comment 3•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Application Update' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
If you go to about:config, do you have layout.css.focus-visible.enabled=false
by any chance? It should be true.
Assignee | ||
Comment 5•3 years ago
|
||
If the answer is "yes", does a new profile show the same issue? It should not.
Assignee | ||
Comment 6•3 years ago
|
||
Ok, so this happened to a couple other people I found and they confirmed comment 4.
Bug 1690225 will "fix" this by removing the feature flag, but that's only on nightly at this point. With a bit of help from Jared we figured out what the issue is, which is basically bug 1692122...
Assignee | ||
Comment 7•3 years ago
|
||
So after some poking I'm not sure this really is bug 1692122... That'd explain the issue for the other people that I know suffered from this, which used Nightly, but not for you...
Assignee | ||
Comment 8•3 years ago
|
||
If the focus-visible pref is false, can you report the pref value of network.preload
in about:config
too? If that's also false
then it might be related to the experimental features... otherwise probably it's something else, somehow.
Assignee | ||
Comment 9•3 years ago
|
||
And alternatively, does this happen only when you switch back to a tab? If so, I can reproduce that, but that's different from what's described in comment 0.
Reporter | ||
Comment 10•3 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #9)
And alternatively, does this happen only when you switch back to a tab? If so, I can reproduce that, but that's different from what's described in comment 0.
Yes, it happen when I switch back. If I choose "open link in new tab" I don't have this ring.
Assignee | ||
Comment 11•3 years ago
|
||
Ah, ok, that's a different thing then, thanks for clarifying!
That happens because we re-focus the element when switching back to the tab. Since the focus is neither keyboard nor mouse triggered, it shows outlines per the focus-visible spec. But the refocus case is a bit special, let's see if we can handle it better.
Updated•3 years ago
|
Assignee | ||
Comment 12•3 years ago
|
||
No behavior change, just moving the decision of whether to show outlines
to slightly earlier.
Assignee | ||
Comment 13•3 years ago
|
||
Preserve the last state of when we focused the element in that window,
if the focus method is unknown.
Depends on D104861
:emilio: feel free to change the severity.
Updated•3 years ago
|
Comment 15•3 years ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/78a47c967db3 Shuffle a bit the focus ring code again. r=edgar https://hg.mozilla.org/integration/autoland/rev/bf4ed0fa612b Don't necessarily show outlines on refocus. r=edgar
Comment 17•3 years ago
|
||
Backed out 2 changesets (Bug 1689155) for causing bc failures in browser_outline_refocus.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/fe1cbbdfc7166c0c70d9d304be193062e104ec36
Failure log: https://treeherder.mozilla.org/logviewer?job_id=330010009&repo=autoland&lineNumber=18548
Assignee | ||
Updated•3 years ago
|
Comment 18•3 years ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ef87cffe51c5 Shuffle a bit the focus ring code again. r=edgar https://hg.mozilla.org/integration/autoland/rev/47cb19189a4a Don't necessarily show outlines on refocus. r=edgar
Comment 19•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef87cffe51c5
https://hg.mozilla.org/mozilla-central/rev/47cb19189a4a
Updated•3 years ago
|
Description
•