microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.26k stars 8.27k forks source link

acrylic effect goes away when window loses focus #3497

Closed ethanhowell closed 4 years ago

ethanhowell commented 4 years ago

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version (if applicable): 0.6.2951.0

Any other software?

Steps to reproduce

  1. Open up Windows Terminal. Open up any other window. Make sure windows terminal has the useAcrylic set to tru and the opacity set to something like .5. Snap the two windows to either side. When Terminal is in focus the acrylic will work. When it's not it will not.

Expected behavior

The acrylic effect to stay whether or not terminal is in focus.

Actual behavior

The acrylic effect only appears when terminal is in focus

d-bingham commented 4 years ago

This is just part of how the Windows UI works -- Acrylic effects fade in and out depending on focus.

WorldMaker commented 4 years ago

Terminal feels like a case where it would be great to have the opposite: acrylic to blend into the background when inactive and not when focused.

zadjii-msft commented 4 years ago

This has been discussed to death why it's not possible unfortunately.

Unfortunately this is by design. The system-level policy for all acrylic applications is that only the active/focused window is allowed to display it. So there is no parameter or config that you can use to always display it.

This is, unfortunately, by design. System policy dictates (and Windows controls this, not Terminal(!)) that only a currently-active window can be displayed with the acrylic effect.

It may be difficult due to the limitations of the OS.

docs.microsoft.com/en-us/windows/uwp/design/style/acrylic#usability-and-adaptability

In addition, only background acrylic will replace its translucency and texture with a solid color:

  • When an app window on desktop deactivates
  • When the UWP app is running on phone, Xbox, HoloLens or tablet mode

/dup #2326 #1886 #1747 #1546 #1505 #1099 #593 #3336 #2763 #2698

ghost commented 4 years ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

Pitta commented 3 years ago

Just realized I could do this. Came here to be sad about the out of focus lack of acrylic blur.

This is a bummer.

zadjii-msft commented 3 years ago

@Pitta If you'd take a look at #7158, there's a potential solution that just requires a decent amount of work to investigate and apply.

caywen commented 3 years ago

[Edited - Rewording - apologies for being a bit harsh earlier] I feel this acrylic feature is not useful if it makes the contrast of the active window less than that of background windows. I'm just going to turn it off.

Pitta commented 3 years ago

I wouldn't go that far. The app is open source and the internal maintainers are not likely to be core windows development that can make that a priority.

I'll dump on MS for totally breaking stuff on the mobile Xbox app and ignoring it, but this just seems unfortunate and ultimately not super important.

opticSquid commented 3 years ago

I came here thinking it would just be a tweak to settings.json but I found it as a bummer...

stefanba3 commented 3 years ago

Just realized I could do this. Came here to be sad about the out of focus lack of acrylic blur.

This is a bummer.

Sadness

rohilpinto commented 3 years ago

:( terminal looks ugly when its fully black

ghost commented 3 years ago

It may be difficult due to the limitations of the OS.

Good thing a new OS is here to save us; Windows 11.

PS: Not going to happen

ghost commented 1 year ago

this sucks :(

Ark2000 commented 1 year ago

stupid microsoft

zadjii-msft commented 1 year ago

If you'd read, you'd find that #15923 was merged last month, fixing #7158 (and this issue).