Closed Bug 1712724 Opened 4 years ago Closed 4 years ago

Adding @ to any text on the Firefox Sync login page will automatically select the entire text

Categories

(Firefox :: Keyboard Navigation, defect)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- unaffected
firefox90 --- fixed

People

(Reporter: rdoghi, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached video 2021-05-25_15h27_00.mp4

[Affected platforms]:
Platforms: Windows, Mac, Ubuntu

[Steps to reproduce]

  1. Launch the Firefox browser and reach the Firefox SYNC Sign in page.
  2. Add any text and then insert an @.

[Expected result]
The user should be able to add any characters without issues.

[Actual result]
Adding the @ character will select the entire text.
Clicking inside the field after adding the @ character and then deleting the @ character again will highlight the entire remaining text.

I will try to get a regression range for this issue as soon as possible.

Has Regression Range: --- → no
Has STR: --- → yes

Found the issue that regressed it : Bug 1711057 seems to be the culprit.

Has Regression Range: no → yes
Regressed by: 1711057

Emilio can you please take a look at this issue?

Flags: needinfo?(emilio)
Assignee: nobody → emilio

No behavior change, but this makes the next patch more straight-forward.

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/36504d508b34 Cleanup focus method mask usage. r=smaug https://hg.mozilla.org/integration/autoland/rev/46b1d60b6b6b Don't trigger select on programmatic focus during keyboard events. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/29111 for changes under testing/web-platform/tests
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/61d8ca98120b Fix test_focus.xhtml to account for the new flag.

Backed out 3 changesets (Bug 1712724) for causing mochitests without e10s failures in test_focus.xhtml
Backout link: https://hg.mozilla.org/integration/autoland/rev/0b451a88f161548a6244a3f34e3bed1780dfdb71
Push with failures, failure log.

Flags: needinfo?(emilio)
Upstream PR was closed without merging
Attachment #9223374 - Attachment description: Bug 1712724 - Don't trigger select on programmatic focus during keyboard events. r=edgar,smaug → Bug 1712724 - Don't trigger select on programmatic focus during keyboard events. r=smaug
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b439a624f195 Cleanup focus method mask usage. r=smaug https://hg.mozilla.org/integration/autoland/rev/fab0c2183cfb Don't trigger select on programmatic focus during keyboard events. r=smaug
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Upstream PR merged by moz-wptsync-bot
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: