Closed Bug 1365509 Opened 7 years ago Closed 7 years ago

Default theme chrome is not registered after restart when a LWT is enabled

Categories

(Toolkit :: Add-ons Manager, defect)

55 Branch
x86_64
All
defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla55
Tracking Status
firefox-esr45 --- unaffected
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 + verified

People

(Reporter: Virtual, Assigned: kmag)

References

(Blocks 1 open bug)

Details

(Keywords: nightly-community, platform-parity, regression)

Attachments

(10 files)

6.66 KB, image/png
Details
7.24 KB, image/png
Details
7.34 KB, image/png
Details
28.72 KB, image/png
Details
7.94 KB, image/png
Details
12.28 KB, image/png
Details
5.73 KB, image/png
Details
2.60 MB, image/png
Details
59 bytes, text/x-review-board-request
rhelmer
: review+
Details
59 bytes, text/x-review-board-request
rhelmer
: review+
Details
[Tracking Requested - why for this release]: Regression STR: 1. Hover these things to see issue: - tab close button - new tab button - address bar 2. Go to about:addons to see that: Extensions, Appearance, Dictionaries, Experiments; - icons are missing "Speedy" Regression window (mozilla-central) Good: https://ftp.mozilla.org/pub/firefox/nightly/2017/05/2017-05-15-03-02-05-mozilla-central/ Bad: https://ftp.mozilla.org/pub/firefox/nightly/2017/05/2017-05-15-03-02-05-mozilla-central/ Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e66dedabe582ba7b394aee4f89ed70fe389b3c46&tochange=b8e9b674033bcd1f3a4c59b9d0ee7619c1a17cc5
(In reply to Virtual_ManPL [:Virtual] - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #0) > - address bar That issue is duplicate of bug #1365275, so probably this bug is also caused by bug #1352366, so I'm blocking it.
Blocks: 1352366
Has STR: --- → yes
Flags: needinfo?(dale)
I can reproduce some problem on Windows10 Nightly55 when Light Weight theme is installed. Regression window: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b2b2746d51ea149bff83ea3e97efdff05bdd9a92&tochange=b8e9b674033bcd1f3a4c59b9d0ee7619c1a17cc5 Regressed by: b8e9b674033b Kris Maglione — Bug 1365256: Don't register chrome for disabled, restartful add-ons. r=aswan a=RyanVM CLOSED TREE @:kmag, :aswan, :RyanVM I think that a bunch of patches should be backed out. And should not touch any codes if there are no automate tests! Could you look this?
Blocks: 1365256
Flags: needinfo?(ryanvm)
Flags: needinfo?(kmaglione+bmo)
Flags: needinfo?(aswan)
Yup 1365275 is a dupe of the url bar issues, fix in review
Flags: needinfo?(dale)
Can't really track this since it appears to be a collection of various unrelated issues.
[Tracking Requested - why for this release]: I can also reproduce on Win7 Nightly55. The problem of Icon Addon manager, NewTab hover styling, Tab Close Icon hover styling are same regression window: Regression window: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b2b2746d51ea149bff83ea3e97efdff05bdd9a92&tochange=b8e9b674033bcd1f3a4c59b9d0ee7619c1a17cc5 Regressed by: b8e9b674033b Kris Maglione — Bug 1365256: Don't register chrome for disabled, restartful add-ons. r=aswan a=RyanVM CLOSED TREE
No longer blocks: 1352366
Component: Theme → Add-ons Manager
Product: Firefox → Toolkit
I asked about backing out the addon manager patches yesterday, but there's a one-way data migration involved, so there's a lot of risk in trying to go backwards at this point too.
Flags: needinfo?(ryanvm)
And I'm also not crazy about lumping a bunch of different issues into one bug, but I guess we'll see where it goes.
FYI - Some part of this bug issues is tracked in bug #1365275 (fallout of bug #1352366), so let's track here issues only related to fallout of bug #1365256 (please see comment #12 to see which ones).
Has Regression Range: --- → yes
Summary: Various GUI artifacts and issues in Mozilla Firefox Nightly 55.0a1 (2017-05-16) → Various GUI artifacts and issues in Mozilla Firefox Nightly 55.0a1 (2017-05-16) with Persona/Light Theme/Appearance
I can't reproduce any of these bugs in a new profile with any of 3 built-in themes. Windows 8.1
Are all of these screenshots in safe mode or only some of them? (In reply to Alice0775 White from comment #9) > I think that a bunch of patches should be backed out. These patches can't be backed out. > And should not touch any codes if there are no automate tests! There are many, many automated tests. If anything, there are too many. They're just not very good.
Flags: needinfo?(kmaglione+bmo)
(In reply to Kris Maglione [:kmag] (busy; behind on reviews) from comment #17) > Are all of these screenshots in safe mode or only some of them? > You should install a Lightweight Theme and enable it. On Windows10 , Icon in addons manager are missing. On Windows7 , Icon in addons manager are missing, Tab Close button, NewTab, Background tab hover styling are broken.
And you should restart browser after enable the Lightweight Theme.
That doesn't answer my question. Some of the attached screenshots are clearly in safe mode. I'd like to know if there are any that aren't. If not, it would help to have screenshots of the behavior in a non-safe-mode session.
All of the screenshots are in NON SAFE MODE.
attachment 8868418 [details] is very clearly in safe mode. If these ones are not, that tells me what I need to know. Thanks.
Blocks: 1365706
I cannot reproduce this issue on macosx on today's nightly. Peter DeHaan also checked on his win10 laptop and he wasn't able to reproduce this issue either. windows 10: https://www.dropbox.com/s/t9i69eg30a6u1gz/windows10.jpg?dl=0 macosx: https://www.dropbox.com/s/nqekz6y1231ngkt/Screenshot%202017-05-17%2012.00.24.png?dl=0
@ Kris Maglione [:kmag] - All of my screenshoots were taken in Safe Mode (to see if it's not GFX related issue), but the issue is also reproducible in non Safe Mode (see Alice0775 White reply in Comment #21, except 1 screenshot in top right of screen, which should have normal close buttons, instead of this big one), and looks like that Safe Mode uncovered another issue, reported already by Alice0775 White , which is bug #1365706.
(In reply to krupa raj [:kraj] from comment #23) > I cannot reproduce this issue on macosx on today's nightly. > > Peter DeHaan also checked on his win10 laptop and he wasn't able to > reproduce this issue either. > > windows 10: https://www.dropbox.com/s/t9i69eg30a6u1gz/windows10.jpg?dl=0 > macosx: > https://www.dropbox.com/s/nqekz6y1231ngkt/Screenshot%202017-05-17%2012.00.24. > png?dl=0 Oddly, looks like he was able to reproduce some part of the issue, just see this big close button on Windows and compare it how it looks on Mac.
I can also reproduce the icon problem in addon manager on Ubuntu16.04 x64 with new profice+Lightweight Theme. So, this is not Windows specific.
Keywords: pp
OS: Windows 7 → All
OK, apparently we're not loading chrome for the default theme when a persona is enabled, but I'm not sure why this only has obvious effects on some systems. I suppose there was yet another special case in the extensions.ini code that we missed in the migration.
Assignee: nobody → kmaglione+bmo
Flags: needinfo?(aswan)
Blocks: 1365717
Summary: Various GUI artifacts and issues in Mozilla Firefox Nightly 55.0a1 (2017-05-16) with Persona/Light Theme/Appearance → Default theme chrome is not registered after restart when a LWT is enabled
Comment on attachment 8868751 [details] Bug 1365509: Special case handling of enabled state for XUL themes. https://reviewboard.mozilla.org/r/140354/#review144202
Attachment #8868751 - Flags: review?(rhelmer) → review+
Comment on attachment 8868752 [details] Bug 1365509: Don't trigger a sync load of the add-ons DB at startup when a built-in LWT is enabled. https://reviewboard.mozilla.org/r/140356/#review144212 ::: toolkit/mozapps/extensions/internal/XPIProviderUtils.js:827 (Diff revision 1) > // jank-tastic! Must synchronously load DB if the theme switches from > // an XPI theme to a lightweight theme before the DB has loaded, > // because we're called from sync XPIProvider.addonChanged > - logger.warn("Synchronous load of XPI database due to getAddonsByType([" + > - aTypes.join(", ") + "])"); > + logger.warn(`Synchronous load of XPI database due to ` + > + `getAddonsByType([${aTypes.join(", ")}]) ` + > + `Stack: ${Error().stack}`); Do you think it's useful to log the stack in the warning?
Attachment #8868752 - Flags: review?(rhelmer) → review+
Comment on attachment 8868752 [details] Bug 1365509: Don't trigger a sync load of the add-ons DB at startup when a built-in LWT is enabled. https://reviewboard.mozilla.org/r/140356/#review144212 > Do you think it's useful to log the stack in the warning? Yes. I had to manually add the stack log to figure out what was triggering it. It would have been much easier if it had been there from teh start.
https://hg.mozilla.org/integration/mozilla-inbound/rev/861266a11cd2f2127e2fc0e86fa20120659ef3fc Bug 1365509: Special case handling of enabled state for XUL themes. r=rhelmer https://hg.mozilla.org/integration/mozilla-inbound/rev/396de980a0d585f31e06799dfba4fab2656adc3b Bug 1365509: Don't trigger a sync load of the add-ons DB at startup when a built-in LWT is enabled. r=rhelmer
I'm confirming that this issue is fixed, starting from Mozilla Firefox Nightly 55.0a1 (2017-05-20).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: