MicrosoftEdge / MSEdgeExplainers

Home for explainer documents originated by the Microsoft Edge team
Creative Commons Attribution 4.0 International
1.31k stars 213 forks source link

Options for how to disable run on startup #155

Open ThomasTheDane opened 4 years ago

ThomasTheDane commented 4 years ago

As stated in the explainer, it would be great to have an easy way to disable run on startup, both for a specific application or for all applications.

Let's discuss different ways we could do this!

One idea is for it to be a right click option for the icon in the tray

Another idea is in the three dot menu

Another is in site settings

inexorabletash commented 4 years ago

For reference, this is regarding the "Run on Login" explainer:

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/RunOnLogin/Explainer.md

(Multiple explainers in the same repo, so disambiguating for future readers.)

carlosfriasand commented 4 years ago

Thank you Thomas for your feedback!

On the location for the option to disable this feature, I like the suggestions you mention. Having an option to disable in the three dots menu is indeed the approach we are currently exploring, and the site settings could be also a good place for having it along with other permissions for the site.

Regarding the tray icon approach, we will have to analyze more the approach for this regarding the Run on Login option, there is currently a separate effort in place for system tray icon on PWAs.

Also, it is important to note that most OSes provide a built-in settings location to enable/disable startup applications for example: macOS: Login Items under Users & Groups. Windows: Startup applications settings screen under Apps menu, or the Startup tab in the Task Manager.

The intention here will be to provide the user the option to disable this from within the browser, while keeping the OS default way of dealing with Startup applications, thus fulfilling the PWA mission to be more like native applications.

ThomasTheDane commented 4 years ago

Huge +1 to still maintaining OS methods of managing this (and I'm excited we have the same opinions on making PWAs behave exactly as native apps :D).

I also like the three dot menu approach and am happy to hear you're considering it. I think if we had that, having something in the icon menu wouldn't be that necessary.

Garbee commented 4 years ago

MacOS, right click in dock goto options and it does contain "Open at Login". So we may want to expose that on MacOS still for consistency on that platform.

Windows side, I don't ever recall seeing a normalized pattern for this in the taskbar icon menus. If that is the case, go for it. Otherwise I'd say it's one way the platforms natively diverge and that is OK as long as the main startup apps area in the OS is covered as described previously.