finalize new private browsing mode strings & icon
Categories
(Firefox :: Installer, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox103 | --- | affected |
People
(Reporter: bhearsum, Assigned: bhearsum)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidedi-pbm])
Attachments
(4 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1758961: fix .lnk.lnk names when creating shortcuts through ShellService.pinToTaskbar r?mhowell!
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Some parts of our refreshed Private Browsing Entry Points work are not yet finalized. Specifically: the string we're using in Shortcut descriptions, and the Icon we're using for shortcuts. These things will be landed pref'ed off for now, but must be updated before we pref on or otherwise make them user visible in any way.
The string changes are included in a few revisions that have yet to land:
https://phabricator.services.mozilla.com/D138196
https://phabricator.services.mozilla.com/D138197
https://phabricator.services.mozilla.com/D140653
The icon used is referred to by index in https://searchfox.org/mozilla-central/rev/61c6b2ca66b8fc7d82a71d6f045871e5a8649cbb/toolkit/xre/nsNativeAppSupportWin.h#20, https://searchfox.org/mozilla-central/rev/61c6b2ca66b8fc7d82a71d6f045871e5a8649cbb/browser/components/BrowserContentHandler.jsm#44, and the yet-to-be-landed https://phabricator.services.mozilla.com/D138197. If we end up just replacing the existing icon (the purple mask) this probably doesn't need to be changed. If we add a new icon, these indexes will likely need updating.
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
These new icon files come from the PNG handed off from UX, which I then ran through a PNG -> ICO converter, and dropped any icon sizes that aren't also included in our firefox.ico. The ones that were kept are: 256x256, 48x48, 32x32, and 16x16.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 4•3 years ago
|
||
Re-opening because we're still waiting on strings.
Updated•3 years ago
|
| Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Comment 7•3 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
•
|
||
Hi Ben! We've verified the patches from this bug on latest Nightly 104.0a1 with Win 11 x64, Win 10 x64, Win 7 x64 and Win 8.1 x86. We're not sure about a couple of things that we've encountered, so we could use your help with this:
- The tooltip for the PBM icon from taskbar is "Nightly Private Browsing", see https://prnt.sc/SujbCyluHuuf. This is expected per Romain's comment form Jira. However, the string changes into "Firefox Nightly (Private Browsing)" after clicking the PBM icon, and while hovering over the taskbar icon, see https://prnt.sc/QsXhDpe2ODK0.
Is this intended?
- The PBM icon has an .Ink extension at the end of the string, this is can be noticed if hovering over the taskbar icon or in the Win Start Menu, see https://prnt.sc/d_YJG30uSeft. Note that, I've created the PBM shortcut with the
ShellService.pinToTaskbar(true);snippet ran in the browser console, after previously changing thebrowser.privacySegmentation.enabledpref to true. I've only able to reproduce this issue on Win 11, so far.
Can you please take a look at the above?
| Assignee | ||
Comment 9•3 years ago
|
||
Thank you!
(In reply to Ciprian Georgiu [:ciprian_georgiu], Release Desktop QA from comment #8)
Hi Ben! We've verified the patches from this bug on latest Nightly 104.0a1 with Win 11 x64, Win 10 x64, Win 7 x64 and Win 8.1 x86. We're not sure about a couple of things that we've encountered, so we could use your help with this:
- The tooltip for the PBM icon from taskbar is "Nightly Private Browsing", see https://prnt.sc/SujbCyluHuuf. This is expected per Romain's comment form Jira. However, the string changes into "Firefox Nightly (Private Browsing)" after clicking the PBM icon, and while hovering over the taskbar icon, see https://prnt.sc/QsXhDpe2ODK0.
Is this intended?
It's undefined :). It turns out this is also the case for non-private Firefox. We have "Firefox" when it's not running, and "Mozilla Firefox" when it is (at least, if you're on certain pages like about:newtab -- if you're at an actual website it uses the page title, with the other string as a suffix).
At the very least we should probably remove the parenthesis from the second case. Romain, do you have an opinion here?
- The PBM icon has an .Ink extension at the end of the string, this is can be noticed if hovering over the taskbar icon or in the Win Start Menu, see https://prnt.sc/d_YJG30uSeft. Note that, I've created the PBM shortcut with the
ShellService.pinToTaskbar(true);snippet ran in the browser console, after previously changing thebrowser.privacySegmentation.enabledpref to true. I've only able to reproduce this issue on Win 11, so far.Can you please take a look at the above?
I think I know what the issue here is -- it seems I'm double appending .lnk in at least one case. (I don't know why it shows up in the start menu only on Windows 11 though.) I'll get a fix for this ready.
| Assignee | ||
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
(In reply to bhearsum@mozilla.com (:bhearsum) from comment #9)
Thank you!
(In reply to Ciprian Georgiu [:ciprian_georgiu], Release Desktop QA from comment #8)
Hi Ben! We've verified the patches from this bug on latest Nightly 104.0a1 with Win 11 x64, Win 10 x64, Win 7 x64 and Win 8.1 x86. We're not sure about a couple of things that we've encountered, so we could use your help with this:
- The tooltip for the PBM icon from taskbar is "Nightly Private Browsing", see https://prnt.sc/SujbCyluHuuf. This is expected per Romain's comment form Jira. However, the string changes into "Firefox Nightly (Private Browsing)" after clicking the PBM icon, and while hovering over the taskbar icon, see https://prnt.sc/QsXhDpe2ODK0.
Is this intended?
It's undefined :). It turns out this is also the case for non-private Firefox. We have "Firefox" when it's not running, and "Mozilla Firefox" when it is (at least, if you're on certain pages like about:newtab -- if you're at an actual website it uses the page title, with the other string as a suffix).
At the very least we should probably remove the parenthesis from the second case. Romain, do you have an opinion here?
I agree with removing parenthesis but would not block on this
Comment 12•3 years 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.
Comment 13•3 years ago
|
||
| Assignee | ||
Comment 14•3 years ago
|
||
This is something that came up in QA on this bug -- an inconsistency between the hover text on a running Firefox's Private Browser shortcut, and the hover text when it was not running (but pinned), largely captured in https://bugzilla.mozilla.org/show_bug.cgi?id=1758961#c11
Comment 15•3 years ago
|
||
| bugherder | ||
Comment 16•3 years ago
|
||
Comment 17•3 years ago
|
||
| bugherder | ||
Comment 18•3 years ago
|
||
Verified on Win7/Win8.1/Win10/Win11 using build 104.0a1(20220707093757) that:
- at hover while browser is closed following message is displayed "Nightly Private Browsing"
- at hover while browser is opened following message is displayed "Firefox Nightly Private Browsing".
Description
•