gecko-dev/browser/components/shell
Ben Hearsum 588bf8226f Bug 1762994: ensure a Private Browsing shortcut exists as early as possible r=mhowell,fluent-reviewers
This fixes a bug where pinning a Private Browsing window to Taskbar with the windows context menu item pins regular Firefox instead. This happens because Windows cannot find an appropriate shortcut (presumably by looking for one with the right AUMID), and ends up creating its own instead -- with almost entirely incorrect metadata.

With this, we'll be creating one at a few points (if it doesn't already exist):
* Installer - for new installs
* Post-Update - to make sure we get one when people update to the first version where we pref this on
* Startup idle - for zip installs, and to handle any other possible case where the shortcut doesn't exist

Until we enable separation of Private Windows by default I've pref'ed off this behaviour (otherwise a user may pin the shortcut to the Taskbar, but the app will launch into a different icon).

Differential Revision: https://phabricator.services.mozilla.com/D147702
2022-06-23 15:15:42 +00:00
..
content
search-provider-files
test Bug 1726465 - Don't enable Marionette in new Firefox processes launched by browser-chrome shell tests. r=mossop 2022-05-10 15:08:17 +00:00
HeadlessShell.jsm
jar.mn
moz.build Bug 1750991: Automatically create shortcut if it's not already present when pinning to the Windows Taskbar. r=mhowell 2022-03-17 16:33:34 +00:00
nsGNOMEShellDBusHelper.cpp Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellDBusHelper.h Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellSearchProvider.cpp Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellSearchProvider.h Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellService.cpp Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsGNOMEShellService.h Bug 1773148 - Cleanup browser/components/shell includes r=sylvestre 2022-06-08 09:53:54 +00:00
nsIGNOMEShellService.idl
nsIMacShellService.idl
nsIShellService.idl
nsIWindowsShellService.idl Bug 1762994: ensure a Private Browsing shortcut exists as early as possible r=mhowell,fluent-reviewers 2022-06-23 15:15:42 +00:00
nsMacShellService.cpp
nsMacShellService.h
nsShellService.h
nsToolkitShellService.h
nsWindowsShellService.cpp Bug 1762994: ensure a Private Browsing shortcut exists as early as possible r=mhowell,fluent-reviewers 2022-06-23 15:15:42 +00:00
nsWindowsShellService.h
ScreenshotChild.jsm
ShellService.jsm Bug 1772100 - Part 17: Use plain object for lazy getter in browser/components/shell/. r=bytesized 2022-06-06 22:46:25 +00:00
WindowsDefaultBrowser.cpp
WindowsDefaultBrowser.h
WindowsUserChoice.cpp Bug 1766377 - Fix remaining sign-compare warnings in Windows builds. r=rkraesig,gsvelto,media-playback-reviewers,gfx-reviewers,bryce,sotaro 2022-04-29 09:14:12 +00:00
WindowsUserChoice.h