App crashes in private tab when sports widget feature is enabled and "new private tab entry" is disabled
Categories
(Firefox for Android :: Homepage, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | unaffected |
| firefox151 | --- | verified |
| firefox152 | --- | verified |
People
(Reporter: segun, Assigned: jdelorenzo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 4 external files)
|
1011.13 KB,
video/mp4
|
Details |
Steps to reproduce
- Disable the feature that say s"Enable private mode and stories entry point" (via secret settings?)
- Enable the sports widget feature
- Open a private tab
Expected behavior
- Tab opens successfully and I can browse
Actual behavior
- App crashes
Device information
- Firefox version: Nightly build 2016160735
- Android device model: Any
Any additional information?
- If your app tries to resume in private mode, it will stay in a crash loop forever
Stack trace:
Uncaught exception handled:
android.content.res.Resources$NotFoundException: Resource ID #0x0
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:305)
at android.content.res.Resources.getValue(Resources.java:1494)
at androidx.compose.ui.res.ResourceIdCache.resolveResourcePath(Resources.android.kt:38)
at androidx.compose.ui.res.PainterResources_androidKt.painterResource(PainterResources.android.kt:62)
at org.mozilla.fenix.home.ui.WordmarkKt.WordmarkLogo(Wordmark.kt:40)
at org.mozilla.fenix.home.ui.HomepageHeaderKt.HomepageHeader-0dUczTk(HomepageHeader.kt:61)
at org.mozilla.fenix.home.ui.HomepageKt.Homepage$lambda$4(Homepage.kt:182)
at org.mozilla.fenix.home.ui.HomepageKt.$r8$lambda$rzpov58u4-aPkTDOqc7lKZ6fBMU(Unknown Source:0)
at org.mozilla.fenix.home.ui.HomepageKt$$ExternalSyntheticLambda4.invoke(D8$$SyntheticClass:0)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:131)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:52)
We need to register the fenixWordMarkSportLogo in private theme as we did for the normal theme
| Assignee | ||
Updated•6 months ago
|
Comment 1•6 months ago
|
||
Set release status flags based on info from the regressing bug 2037413
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 2•6 months ago
|
||
Comment 4•6 months ago
|
||
| bugherder | ||
Original Revision: https://phabricator.services.mozilla.com/D300446
Original Revision: https://phabricator.services.mozilla.com/D300446
Original Revision: https://phabricator.services.mozilla.com/D300446
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 9•5 months ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Updated•5 months ago
|
Comment 10•5 months ago
•
|
||
Verified as fixed on RC 151.0.3 and Beta 152.0b6 with Asus Zenfone 9 ( Android 13) and Lenovo Yoga Tab 11 (Android 12).
Updated•5 months ago
|
Description
•