The Pin Promo is still displayed in a Private Window if a user chooses to Pin a shortcut to the taskbar from the Existing users Onboarding modals
Categories
(Firefox :: Messaging System, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox105 | --- | unaffected |
firefox106 | --- | affected |
firefox107 | --- | affected |
People
(Reporter: cmuresan, Assigned: pdahiya)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
4.03 MB,
image/gif
|
Details |
[Affected versions]:
- Firefox Beta 106.0b4 - Build ID: 20220925185751
- Firefox Nightly 107.0a1 - Build ID: 20220923093059
[Affected Platforms]:
- Windows 10
- Windows 7
[Prerequisites]:
- Have a clean new Firefox Beta 105 profile.
[Steps to reproduce]:
- Open the Browser with the profile from prerequisites.
- Update the browser to the latest version.
- Skip the Onboarding modals until you reach the 2nd to last.
- Click the Pin Private Browsing button.
- Open a New Private Window and observe the page.
[Expected result]:
- The Focus Promo is displayed.
[Actual result]:
- The Pin Promo is displayed.
[Notes]:
- The issue is no longer reproducible after the browser is restarted.
- Attached a screen recording of the issue.
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
We are caching doesAppNeedPrivatePin, cache refreshes every six hours or on browser restart causing pin promo to be shown when user opens new private window in the same Firefox instance right after pinning private browsing window from upgrade dialog.
Assignee | ||
Comment 2•2 years ago
|
||
privatePinPromo is the only usecase for doesAppNeedPrivatePin targeting, to fix the issue we can remove caching of doesAppNeedPrivatePin or reduce cache update interval, however this approach is not scalable if we have more use cases of doesAppNeedPrivatePin.
Second option is to expose doesAppNeedPrivatePin method inside AboutPrivateBrowsingParent similar to shouldShowPromo and hide the message on client side if the check returns false.
https://searchfox.org/mozilla-central/source/browser/actors/AboutPrivateBrowsingParent.jsm#176
https://searchfox.org/mozilla-central/source/browser/components/privatebrowsing/content/aboutPrivateBrowsing.js#92
Considering both approaches can have slight load time increase due to extra check on opening about:privatebrowsing, NI product for feedback on priority of this fix , it might help to get some data points on how frequent this issue is seen by users.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Updating bug priority to track and fix in next release cycle
Description
•