Closed Bug 1859346 Opened 1 year ago Closed 1 year ago

Focus ring flashes as a line in the titlebar when dialog appears

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

Firefox 118
Unspecified
All
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- wontfix
firefox119 --- wontfix
firefox120 --- verified
firefox121 --- verified

People

(Reporter: ke5trel, Assigned: sefeng)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR:

  1. Enable "Confirm before quitting with Ctrl+Q" on Ubuntu 23.10.
  2. Press Ctrl+Q.

Orange/white line flashes at the top of the titlebar before confirmation dialog appears. Colors are the same as a focus ring and is more noticeable with a dark theme.

Occurs with other dialogs as well.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f412f38f5b6c938db981e49c1dea24f36df093f9&tochange=f41311ee4ade08929b1224c893ccf12993d32ead

Regressed by Bug 1811129.

:sefeng, since you are the author of the regressor, bug 1811129, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(sefeng)

Kestrel, is that a regression with 23.10 or does it reproduce on 23.04 as well? Also wondering if this is a Linux only regression or cross platform.

Flags: needinfo?(ke5trel)

Can we get QA to reproduce this bug and check if this is Linux only? Thanks

Flags: qe-verify+

I can also reproduce it on Ubuntu 22.04 LTS and Windows 10.

Flags: needinfo?(ke5trel)
OS: Unspecified → All

This focus ring is not needed and causing confusions. We should
remove this.

Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Severity: -- → S3
Flags: needinfo?(sefeng)
Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d2de3e783430 Remove the default focus ring for #window-modal-dialog r=desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

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

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

For more information, please visit BugBot documentation.

Flags: needinfo?(sefeng)

I don't think this is a huge issue that needs an uplift, I'll just let it ride the train.

Flags: needinfo?(sefeng)

Reproducible on Firefox 119.0 on Ubuntu 22.
Verified as fixed on Firefox 120.0b4 and Nightly 121.0a1 on Ubuntu 22, Windows 10, macOS 12.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: