Open
Bug 1306561
Opened 8 years ago
Updated 2 years ago
Restore Defaults button is enabled and has undesired effects on a clean profile using Aurora
Categories
(Firefox :: Toolbars and Customization, defect, P3)
Tracking
()
REOPENED
Firefox 53
People
(Reporter: JuliaC, Unassigned)
References
Details
(Keywords: regression)
Attachments
(2 files)
[Note]: - This issue only affects Aurora builds [Affected versions]: - latest Aurora 51.0a2 (2016-09-29) - Aurora 50.0a2 - Aurora 49.0a2 [Affected platforms]: - Windows 10 x64 - Ubuntu 16.04 x86 - Mac OS X 10.11.6 [Steps to reproduce]: 1. Launch Firefox with a clean profile 2. Go to about:addons and choose the Appearance tab - inspect each displayed theme state 3. Open the Menu Panel, click the Customize button and then open the Themes menu - inspect My Themes section 4. Check the state of the Restore Defaults button and then click it - inspect each displayed theme state from about:addons -> Appearance tab - inspect My Themes section [Expected result]: - [step 2] and [step 3] Each theme state is clearly revealed: the Developer Edition Theme is displayed like being enabled and the Default one has the disabled state - [step 4] The Restore Defaults button is disabled [Actual result]: - [step 2] and [step 3] The Default and Developer Edition themes are displayed like both are being enabled in that moment - [step 4] The Restore Defaults button is enabled, even if the profile is new and there are no changes / customization made - [step 5] * The Developer Edition theme is replaced by the Default one * Only one theme (the Default one) is now displayed like being enabled [Regression range]: - Last good revision: 5c8f37e61ac7af86accd5d86f6c9d10cd0eadf64 - First bad revision: cea65ca3d0bdd8325dc556f6bfde6277fc83fe6e - Pushlog: https://hg.mozilla.org/releases/mozilla-aurora/pushloghtml?fromchange=5c8f37e61ac7af86accd5d86f6c9d10cd0eadf64&tochange=cea65ca3d0bdd8325dc556f6bfde6277fc83fe6e - Possible regressor - bug https://bugzilla.mozilla.org/show_bug.cgi?id=1061747 [Additional notes]: - Before 49.0a2 (2016-06-06), both themes still seems enabled, the Restore Defaults button is still enabled, but clicking the Restore Defaults button doesn't switch the themes anymore
Comment 1•8 years ago
|
||
Hi :dolske, Since it's related to Toolbars, can you help shed some light here or find an owner for this?
Flags: needinfo?(dolske)
Comment 3•8 years ago
|
||
Has bug 1164954 fully fixed this or is there something left to do here?
Flags: needinfo?(iulia.cristescu)
Reporter | ||
Comment 4•8 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #3) > Has bug 1164954 fully fixed this or is there something left to do here? Hello! Bug 1164954 only fixes the both themes selection problem, but the Restore Defaults button is still enabled, even if the profile is new and there are no changes / customization made.
Flags: needinfo?(iulia.cristescu)
:dolske, I tagged this as fix-optional, please make a change if we must have the fix.
status-firefox52:
--- → fix-optional
Flags: needinfo?(dolske)
Comment 6•8 years ago
|
||
Is fixing this just a question of changing the default lwtheme pref to match devedition on those builds where we use it by default?
Comment 7•8 years ago
|
||
Per comment 4/5, sounds like there is a bit more to do here?
Flags: needinfo?(dolske) → needinfo?(dao+bmo)
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Assignee: nobody → dao+bmo
Flags: needinfo?(dao+bmo)
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8825784 [details] Bug 1306561 - Make the Restore Default button take into account that the devedition theme is the default in devedition builds. https://reviewboard.mozilla.org/r/103868/#review104744 Note that this is in a race with bug 1314091.
Attachment #8825784 -
Flags: review?(jaws) → review+
Comment 12•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8825784 [details] Bug 1306561 - Make the Restore Default button take into account that the devedition theme is the default in devedition builds. https://reviewboard.mozilla.org/r/103868/#review104744 Also, it would be nice if you updated browser_970511_undo_restore_default.js to cover this case.
Comment 13•7 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #11) > Note that this is in a race with bug 1314091. Hmm, I don't see any of those patches touch CustomizableUI.jsm. > Also, it would be nice if you updated browser_970511_undo_restore_default.js > to cover this case. lightweightThemes.selectedThemeID needs to be non-empty by default in order to test this. I don't see how to do that in a browser-chrome test.
Flags: in-testsuite-
Comment 14•7 years ago
|
||
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b3761531b00b Make the Restore Default button take into account that the devedition theme is the default in devedition builds. r=jaws
Comment 15•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b3761531b00b
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Comment 16•7 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #13) > (In reply to Jared Wein [:jaws] (please needinfo? me) from comment #11) > > Note that this is in a race with bug 1314091. > > Hmm, I don't see any of those patches touch CustomizableUI.jsm. > > > Also, it would be nice if you updated browser_970511_undo_restore_default.js > > to cover this case. > > lightweightThemes.selectedThemeID needs to be non-empty by default in order > to test this. I don't see how to do that in a browser-chrome test. Assign to the default pref branch using Services.prefs.getDefaultBranch("blah").setCharPref(...); (and unset in a cleanup function, of course) Please can we reconsider the in-testsuite- here?
Flags: needinfo?(dao+bmo)
Updated•7 years ago
|
Flags: needinfo?(dao+bmo)
Flags: in-testsuite-
Comment 17•7 years ago
|
||
Is this worth uplifting to Aurora? If so, please nominate.
Flags: needinfo?(dao+bmo)
Comment 18•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #17) > Is this worth uplifting to Aurora? If so, please nominate. No, Aurora will soon become Beta where this bug doesn't apply.
Flags: needinfo?(dao+bmo)
Comment 19•7 years ago
|
||
I backed this out of inbound for causing bug 1332612 (mass bc CUI test orange) which would block the Monday merge to aurora.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 20•7 years ago
|
||
Backout by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/dc5a594e63f2 Backed out changeset b3761531b00b for perma-oranging a lot of tests once 53 merges to aurora, rs=bustage,me,etc.
Comment 21•7 years ago
|
||
backout bugherder |
https://hg.mozilla.org/mozilla-central/rev/dc5a594e63f2
Comment 22•7 years ago
|
||
(In reply to Iulia Cristescu, QA [:IuliaC] from comment #4) > (In reply to Dão Gottwald [:dao] from comment #3) > > Has bug 1164954 fully fixed this or is there something left to do here? > > Hello! Bug 1164954 only fixes the both themes selection problem, but the > Restore Defaults button is still enabled, even if the profile is new and > there are no changes / customization made. This bug hasn't been fixed completely, as Iulia and Justin already mentioned in Comment 4 and Comment 8. There are now _2 issues_ related to what has been reported at first in Comment 0: 1. the [Restore Defaults] button is active by default on a new profile * expected: the button should be disabled by default if there's nothing to restore (new profile) * affected: Developer Edition builds, including 20170505205544 * unaffected: Nightly 55.0a1 (2017-05-09), 54.0b6-build1 (20170508210007), 53.0.2 (20170504175505) 2. using the [Restore Defaults] button on Developer Edition builds resets the theme to 'Default' instead of 'Compact Dark' * expected: Developer Edition builds should be reset to 'Compact Dark' as far as the theme is concerned * affected: all Developer Edition builds, including 20170505205544 Dao, would you like us to follow separate bugs for these?
Flags: needinfo?(dao+bmo)
Comment 24•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → INACTIVE
Updated•6 years ago
|
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Comment hidden (off-topic) |
Comment 26•2 years ago
|
||
Sorry, there was a problem with the detection of inactive users. I'm reverting the change.
Assignee: nobody → dao+bmo
Comment 27•2 years ago
|
||
Hi Cornel,
This just popped up in our triage, and it's quite old - do you know if somebody at SoftVision has some time to try to reproduce this to see if it's still applicable?
Flags: needinfo?(cornel.ionce)
Comment 28•2 years ago
|
||
Hey guys, can you assign someone to check this?
Flags: needinfo?(mihai.boldan)
Flags: needinfo?(cornel.ionce)
Flags: needinfo?(camelia.badau)
Comment 29•2 years ago
|
||
Comment 30•2 years ago
|
||
I've managed to reproduce both issues described in Comment 22 using Firefox Dev Edition 104.0b9 on Windows 10 x64 and macOS Ventura13 :
1. the [Restore Defaults] button is active by default on a new profile
* expected: the button should be disabled by default if there's nothing to restore (new profile)
2. using the [Restore Defaults] button on Developer Edition builds resets the theme to 'Default' instead of 'Compact Dark'
* expected: Developer Edition builds should be reset to 'Compact Dark' as far as the theme is
concerned
Updated•2 years ago
|
Flags: needinfo?(mihai.boldan)
Flags: needinfo?(camelia.badau)
Comment 31•2 years ago
|
||
Hey dao, is this something you were still planning on working on, or should we clear the assignee?
Flags: needinfo?(dao+bmo)
Comment 32•2 years ago
|
||
Alright, I'm going to go ahead and clear the assignee.
Assignee: dao+bmo → nobody
Severity: normal → S4
Flags: needinfo?(dao+bmo)
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•