Powertoys: [Launcher] Fluent UX: improve accessibility

Created on 27 Apr 2020  路  21Comments  路  Source: microsoft/PowerToys

In some cases, the launcher is hard to find:

image

High contrast mode
Current implementation does not have high contrast mode, needs to be added.

1 pixel border
Current windows in Windows follow a model where there is a 1 pixel border around every window. It defaults to lightgray, so it blends in with the backdrop shadow. The user is capable to change this and e.g. use the accent color. Would be nice to follow this approach.

Backdrop
Having a (semi)transparent backdrop (like Shortcut guide) could help. Should be theme dependent as well.

Here's what that could look like:
image

cc-ing @anuthadev @mdtauk

Area-User Interface Product-Launcher Resolution-Fix-Committed

Most helpful comment

3663 mentions that blur was dropped to support older versions of Windows, but I don't see why it can't just be an option that is shown on newer versions.

We'd need for WinUI 3 to support this.. I think version 3.1 will support this, 3.0 not will not AFAIK.

Referred to this issue from #4862 by @niels9001

A darkened background is cool for light mode, but in dark mode it doesn't stand out - not enough contrast when apps in the background are black as well. How about a background blur option for users who use dark mode?

As a backdrop I would go for a dimmed background: better for permoance I guess, and it would follow other Windows 10 experiences that do this (Gamebar, Cortana, Snip and Sketch).

That should work for Dark Mode as well, we can try that out. Seems to work fine for me when using e.g. Shortcut Guide.

All 21 comments

Maybe we do a lighter / grey style shadow for darkmode to cause it to pop more

We are using WPF to host the XAML Islands. The UWP controls background are already set to an acrylicbrush, and the WPF window is set to transparent but that doesn't seem to work.

@mdtauk is heavily involved in the conversation around this on the WinUI repo. It seems that this can be done with C++/UWP, but not with Island? Or just not in WinUI3.0 atm?

HostBackdropAcrylic can be done in winUI 2.x, but is scheduled to be removed in 3.0 only to be back in 3.x

We need to go with what we have access to now and then do the shift to WinUI 3.

@crutkas winUI 3.0 won't release until november this year, so would the shift be after that or will we shift as soon as winUI 3.0 preview is released ??

@anuthadev, we are proactively working with the team to see when a good opportunity for us to adopt is. If we were in the office, most of the team is across the hallway from me :)

Nice idea in #3663 - using Blur instead of a regular backdrop.

@AnuthaDev
My thoughts on PR #2988: If we add the accent border colour (maybe as optional feature) then we should have it on both windows. The search bar and the result list.
This then leads to a consistent look and feel and I think we must have the visibility problem on the result list too.

Nice idea in #3663 - using Blur instead of a regular backdrop.

@crutkas I have found a way to enable backdrop acrylic in wpf, based on this project (which btw also supports rounded corners 馃槉 ). Is there interest in it? We can maybe use acrylic as a backdrop or the background of the searchbox/resultlist. What are your thoughts?

Nice idea in #3663 - using Blur instead of a regular backdrop.

@crutkas I have found a way to enable backdrop acrylic in wpf, based on this project (which btw also supports rounded corners 馃槉 ). Is there interest in it? We can maybe use acrylic as a backdrop or the background of the searchbox/resultlist. What are your thoughts?

Also, we can customize every aspect of it, since its a custom brush, not provided by the system. Blurring windows in wpf isn't particularly trivial... Let alone acrylic...

@crutkas @niels9001 Until we can switch to winUI 3, should this be added to the resultlist items' command buttons (open file location, start as admin etc): https://blog.walterlv.com/post/fluent-design-reveal-brush-in-wpf.html

I like the idea of a backdrop, but I'd like to suggest two more things:

  1. The possibility of showing "just the desktop and taskbar" when PowerToys Run/Launcher is launched.
  2. The option of the backdrop to have an element of blur, maybe Gaussian Blur as the Fluent UX system seems to use that a lot. This should definately be an option as it could harm performance.

3663 mentions that blur was dropped to support older versions of Windows, but I don't see why it can't just be an option that is shown on newer versions.

Nice idea in #3663 - using Blur instead of a regular backdrop.

@crutkas I have found a way to enable backdrop acrylic in wpf, based on this project (which btw also supports rounded corners 馃槉 ). Is there interest in it? We can maybe use acrylic as a backdrop or the background of the searchbox/resultlist. What are your thoughts?

This seems great.

Referred to this issue from #4862 by @niels9001

A darkened background is cool for light mode, but in dark mode it doesn't stand out - not enough contrast when apps in the background are black as well. How about a background blur option for users who use dark mode?

3663 mentions that blur was dropped to support older versions of Windows, but I don't see why it can't just be an option that is shown on newer versions.

We'd need for WinUI 3 to support this.. I think version 3.1 will support this, 3.0 not will not AFAIK.

Referred to this issue from #4862 by @niels9001

A darkened background is cool for light mode, but in dark mode it doesn't stand out - not enough contrast when apps in the background are black as well. How about a background blur option for users who use dark mode?

As a backdrop I would go for a dimmed background: better for permoance I guess, and it would follow other Windows 10 experiences that do this (Gamebar, Cortana, Snip and Sketch).

That should work for Dark Mode as well, we can try that out. Seems to work fine for me when using e.g. Shortcut Guide.

3663 mentions that blur was dropped to support older versions of Windows, but I don't see why it can't just be an option that is shown on newer versions.

We'd need for WinUI 3 to support this.. I think version 3.1 will support this, 3.0 not will not AFAIK.

Referred to this issue from #4862 by @niels9001
A darkened background is cool for light mode, but in dark mode it doesn't stand out - not enough contrast when apps in the background are black as well. How about a background blur option for users who use dark mode?

As a backdrop I would go for a dimmed background: better for permoance I guess, and it would follow other Windows 10 experiences that do this (Gamebar, Cortana, Snip and Sketch).

That should work for Dark Mode as well, we can try that out. Seems to work fine for me when using e.g. Shortcut Guide.

For the love of god, do not dim my whole display for a launcher. Look at Spotlight, Alfred, and many third party alternatives for inspiration.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

saahmedm picture saahmedm  路  3Comments

niels9001 picture niels9001  路  3Comments

aminya picture aminya  路  3Comments

patware picture patware  路  3Comments

Marrib picture Marrib  路  3Comments