Update button is showing on MSIX about dialog
Categories
(Firefox :: Installer, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox106 | --- | unaffected |
firefox107 | --- | verified |
firefox108 | --- | verified |
People
(Reporter: mkaply, Assigned: mkaply)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
1.40 KB,
patch
|
dmeehan
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
The nightly MSIX is showing the Update button in the about dialog. It did not before.
The issue is that the updateDeck
is getting a selectedIndex of 1 by default whereas before it getting no index so it was showing as blank (there is no updater in this case).
I believe this is fallout from the flexbox work.
Comment 3•2 years ago
|
||
Please don't guess? Is there a way to bisect msix builds? selectedIndex on a deck is 0 by default. What used to be shown before that? Just nothing?
Assignee | ||
Comment 4•2 years ago
|
||
Yes, before that it showed nothing and there was no attribute for selectedIndex set on the deck.
All children of the deck were hidden.
I'll backout flexbox on the about dialog and see what happens.
Assignee | ||
Comment 5•2 years ago
|
||
Just looking at the patch, it definitely added a lot of selectedPanel stuff that wasn't there before, so I don't have much doubt this was the cause.
I guess the question is should we just add an empty panel to handle this case?
Assignee | ||
Comment 6•2 years ago
|
||
Ah, it was a stack before which I guess can have no selected item.
Assignee | ||
Comment 7•2 years ago
|
||
Yeah, this CSS was probably the thing:
#updateDeck > *:not(.selected) {
visibility: hidden;
}
Comment 8•2 years ago
|
||
Set release status flags based on info from the regressing bug 1792337
Assignee | ||
Comment 9•2 years ago
|
||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Assignee | ||
Comment 11•2 years ago
|
||
We'll need to take the old version of this into the 107 beta once it's landed.
Comment 12•2 years ago
|
||
bugherder |
Comment 13•2 years ago
|
||
The patch landed in nightly and beta is affected.
:mkaply, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox107
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 14•2 years ago
|
||
Approval Request Comment
[Feature/Bug causing the regression]: 1792337
[User impact if declined]: MSIX builds show an update button
[Is this code covered by automated tests?]: No
[Has the fix been verified in Nightly?]: No
[Needs manual test from QE? If yes, steps to reproduce]: Install MSIX, go to about dialog verify there is no update button.
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: No
[Why is the change risky/not risky?]: Just adds code for this case.
[String changes made/needed]:
Comment 15•2 years ago
|
||
Comment on attachment 9300791 [details] [diff] [review]
Patch for beta
Approved for 107.0b7.
Comment 16•2 years ago
|
||
bugherder uplift |
Updated•2 years ago
|
Comment 17•2 years ago
|
||
I was able to reproduce the issue on Win11 using FF build from 24-10-2022.
Verified on latest Nightly build 108.0a1 (20221031095213) that no "check for updates" button is displayed on About dialog on neither Win10/Win11.
Hello Mike,
I can not verify the fix on Beta as I was not able to find the msix build for Beta.
Do you know if there is any location where I can find it? Thank you so much.
Comment 18•2 years ago
|
||
(In reply to Monica Chiorean from comment #17)
I was able to reproduce the issue on Win11 using FF build from 24-10-2022.
Verified on latest Nightly build 108.0a1 (20221031095213) that no "check for updates" button is displayed on About dialog on neither Win10/Win11.Hello Mike,
I can not verify the fix on Beta as I was not able to find the msix build for Beta.
Do you know if there is any location where I can find it? Thank you so much.
MSIX Betas are in directories like https://archive.mozilla.org/pub/firefox/releases/107.0b7/win64/multi/. (I don't know if this fix made it into Beta 7 though.)
Comment 19•2 years ago
|
||
It made it to 107.0b7 as after install I did not get the "check for updates" on both Win10 and Win11. Marking issue as Verified.
Description
•