setAttribute("selectedIndex", 0) on <deck> doesn't appear to work
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
People
(Reporter: betterbird.project+10, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-esr115+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.43
Steps to reproduce:
In a debugging session we noticed that this line
this._wizardButtonDeck.setAttribute("selectedIndex", 0);
https://searchfox.org/mozilla-central/rev/23808d46cde6155213b1230675b00a0a426f466e/toolkit/content/widgets/wizard.js#622
seems to have no effect. Can be seen by adding console.log()
here:
https://searchfox.org/comm-central/rev/38b9c6416aa503df4003dbf400271d1e82f3bc75/mozilla/toolkit/content/widgets/tabbox.js#221
This seems to have regressed by bug 1689816. See Bug 1855807 comment #1 for an analysis. TB decided not to fix this issue, however, this is a toolkit bug which may effect other things.
The fix appears to be a direct assignment as we do here:
https://github.com/Betterbird/thunderbird-patches/blob/main/115/bugs/1855807-fix-account-wizard-m-c.patch
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
The patch in comment 0 makes sense to me, can you send it via phabricator? Happy to stamp and land.
Reporter | ||
Comment 2•1 year ago
|
||
We don't have a Phab account.
Assignee | ||
Comment 3•1 year ago
|
||
Setting the "selectedIndex" attribute doesn't trigger all the relevant
side effects. It's also simpler.
MANUAL PUSH: Author doesn't have a Phab account.
Comment 5•1 year ago
|
||
bugherder |
Comment 6•1 year ago
|
||
Set release status flags based on info from the regressing bug 1689816
Updated•1 year ago
|
Updated•1 year ago
|
Comment 7•1 year ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox119
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Sounds like we might want to get this on ESR115 for the TB folks.
Assignee | ||
Comment 9•1 year ago
|
||
Comment on attachment 9356099 [details]
Bug 1856189 - Use selectedIndex setter on wizard.
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Affects thunderbird, one-liner.
- User impact if declined: see above.
- Fix Landed on Version: 120
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Trivial
Comment 10•1 year ago
|
||
Comment on attachment 9356099 [details]
Bug 1856189 - Use selectedIndex setter on wizard.
Approved for 115.5esr
Comment 11•1 year ago
|
||
uplift |
Updated•1 year ago
|
Description
•