QNetITQ / WaveFox

Firefox CSS Theme/Style for manual customization
MIT License
1.04k stars 48 forks source link

Windows 11 Mica/Acrylic showing as black #132

Closed RibShark closed 1 year ago

RibShark commented 1 year ago

image As you can see in the image above, I have all the settings showing correctly but WaveFox is simply showing black where there should be Mica/Acrylic. I'm using Firefox 113.0b6 and Windows 11 22624.1610 (note that I got A/B enrolled into the Windows test to automatically show Mica on all titlebars even if MicaForEveryone isn't installed, but I installed it anyway just to make sure).

QNetITQ commented 1 year ago

Everything works. Check the app settings изображение

RibShark commented 1 year ago

I have set the settings exactly the same way as you and it still shows as black.

QNetITQ commented 1 year ago

A black browser frame (Dark theme) indicates that transparency is active. So something is interfering. Check if transparency is enabled in Windows. Disable programs related to system customization, if installed. The accent color must be disabled in the system. Hardware acceleration must also be enabled both in the system and in the browser.

RibShark commented 1 year ago

Figured out the issue. Firefox disables DirectComposition on NVIDIA GPUs if two monitors are connected with different refresh rates ("Blocklisted; failure code NVIDIA_REFRESH_RATE_MIXED"). It seems DirectComposition is necessary in order to get these effects working. You can force DirectComposition enabled in this case by setting "gfx.webrender.dcomp-apply-1704954" to false. So it might be a good idea to add to the readme that if it doesn't work, make sure all monitors have the same refresh rate or to set that about:config flag.