URL text is selected when switching from a loaded tab and not selected when switching from a new tab
Categories
(Firefox :: Address Bar, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox113 | --- | wontfix |
firefox114 | --- | wontfix |
firefox115 | --- | verified |
firefox116 | --- | verified |
People
(Reporter: atrif, Assigned: daisuke)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [snt-scrubbed] [search-papercut])
Attachments
(3 files, 3 obsolete files)
721.29 KB,
image/gif
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
- noticed in bug 1834218 comment 14
Found in
- 115.0a1
Affected versions
- 115.0a1 (2023-05-31)
- 114.0RC2
- 113.0.2
Tested platforms
- Affected platforms: Windows10 x64, Ubuntu 20.04, macOS 12
- Unaffected platforms: none
Preconditions
- new profile
- have a random webpage loaded in a new tab
- have a new tab opened with an empty URL bar
Steps to reproduce
- Open a new tab and type a random text inside the URL bar.
- Switch to the tab that has the loaded webpage and back and observe the URL bar.
- Switch to the new tab with the empty URL bar and back and observe the URL bar.
Expected result
- Switching from a new tab or a loaded tab back to the tab that contains the text behaves the same.
Actual result
- switching from a loaded tab will select the text inside the URL bar
- switching from a new tab will not select the text and will move the caret to the left side
Regression range
- Reproduced with Firefox 111.0a1 (2023-02-02) as well. I will search for one ASAP if there is one.
Additional notes
- Attached a screen recording.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d1c5e3749ee46b179801c5d3e1ab15fd7c77a400&tochange=4cef8491818d39b729267a6ccd09ba517311726e
Regressed by Bug 1565751.
Comment 2•1 years ago
|
||
Set release status flags based on info from the regressing bug 1565751
:daisuke, since you are the author of the regressor, bug 1565751, could you take a look?
For more information, please visit BugBot documentation.
Updated•1 years ago
|
Assignee | ||
Updated•1 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D180266
Comment 9•1 year ago
|
||
Backed out for causing failures at browser_keepStateAcrossTabSwitches.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/d242be9ed14eaa1cbe26517c0aaa51a1c3720d00
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=419285143&repo=autoland&lineNumber=7083
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7ccb930352bf
https://hg.mozilla.org/mozilla-central/rev/513f9d3ebb82
Updated•1 year ago
|
Comment 12•1 year ago
|
||
The patch landed in nightly and beta is affected.
:daisuke, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox115
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 13•1 year ago
|
||
Comment on attachment 9337948 [details]
Bug 1836051: Make the urlbar to revert its previous focus state when switching tabs
Beta/Release Uplift Approval Request
- User impact if declined: When user selects a tab, the text on the urlbar is selected or not depending on the condition.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This change affects only tab switching.
- String changes made/needed: None
- Is Android affected?: Unknown
Assignee | ||
Updated•1 year ago
|
Comment 14•1 year ago
|
||
Comment on attachment 9337948 [details]
Bug 1836051: Make the urlbar to revert its previous focus state when switching tabs
Approved for 115.0b8.
Comment 15•1 year ago
|
||
Comment on attachment 9338233 [details]
Bug 1836051: Restore selection range when tab switching
Approved for 115.0b8.
Comment 16•1 year ago
|
||
bugherder uplift |
Updated•1 year ago
|
Updated•1 year ago
|
Comment 17•1 year ago
|
||
Hello,
Confirming this issue as verified fixed on 115.0b8(20230620180051) and 116.0a1(20230621040008).
Verified using macOS 13.1, Ubuntu 22 and Windows 11.
Description
•