Closed Bug 1565751 Opened 7 years ago Closed 4 years ago

Selection of Address Bar is collapsed randomly when switching tab

Categories

(Firefox :: Address Bar, defect, P2)

68 Branch
Desktop
Windows 10
defect
Points:
5

Tracking

()

VERIFIED FIXED
106 Branch
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- wontfix
firefox-esr91 --- wontfix
firefox-esr102 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox104 --- wontfix
firefox105 --- wontfix
firefox106 --- verified
firefox107 --- verified

People

(Reporter: alice0775, Assigned: daisuke)

References

(Blocks 1 open bug, Regression)

Details

(4 keywords, Whiteboard: [snt-scrubbed][search-papercut])

Attachments

(1 file, 2 external files)

Reproducible: random --- It is not consistent, It is very annoying.

Steps To Reproduce:

  1. Open several web page in new tabs
    i.e, Tab1: about:home
    Tab2: http://ftp.mozilla.org/pub/firefox/nightly/
    Tab3: http://ftp.mozilla.org/pub/firefox/nightly/
  2. Select all url text of a Tab3
  3. Switch tabs
    Tab3 -> Tab1 -> Tab3
  4. Switch tabs
    Tab3 -> Tab2 -> Tab3

Actual Results:
Step3: Selection of Address Bar is collapsed randomly.
Step4: selection of Address Bar is re-built randomly.
It is not consistent, It is very annoying.

Expected Results:
Selection should not be collapsed.
It should be consistent

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

Regressed by: a022c40e4d55f303bbaac93b33447faa02e93add Mike Conley — Bug 1478112 - Get rid of preselect tabbox workaround, and adjust focus after changing visible tab right away. r=dao

Mike Conley,
Your patch seems to cause the regression. Can you please look into this?

Flags: needinfo?(mconley)
Regressed by: 1478112

Another Steps To Reproduce:

  1. Open several web page in new tabs
    i.e, Tab1: about:home
    Tab2: http://ftp.mozilla.org/pub/firefox/nightly/
  2. Select all url text of a Tab2
  3. Switch tabs quickly
    Tab2 -> Tab1 -> Tab2 -> Tab1 -> Tab2 ...

Actual Results:
Sometimes collapsed. And sometimes selected.
It is not consistent, It is very annoying.

Attached video Screencast (Comment 2) —

The selection is randomly collapsed and selected in Addressbar when switching tabs.
It is very annoying.

Priority: -- → P2
Has Regression Range: --- → yes
Has STR: --- → yes
Keywords: papercut
Points: --- → 3
Flags: needinfo?(mconley)
Points: 3 → 5

The Bug 1426058 might be a duplicate, but at this moment we're not sure.
Stephanie[:scunnane] is working on Bug 1426058 and we will check back on this bug to see if Bug 1426058 has fixed this issue as well.

See Also: → 1426058
Whiteboard: [snt-scrubbed]
Whiteboard: [snt-scrubbed] → [snt-scrubbed][search-papercut]
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Attachment #9290575 - Attachment description: WIP: Bug 1565751: Wait for processing needed before selecting text. → Bug 1565751: Wait for processing needed before selecting text.
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b429b75ef61d Wait for processing needed before selecting text. r=adw https://hg.mozilla.org/integration/autoland/rev/4cef8491818d Use 'SetURI' event for custom new window. r=adw,scunnane
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Regressions: 1792971

I've managed to reproduce the issue using Fx103.0a1 (2022-06-13).
The issue is verified fixed using Fx 107.0a1 and Fx 106.0 on Windows 10 and Ubuntu 22.04. The URL is no longer de-selected when switching between tabs multiple times.

Status: RESOLVED → VERIFIED
See Also: → 1801060
See Also: → 1796381
Regressions: 1836051
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: