Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-moz-win-borderless-glass is broken in areas, causes a black box in front of elements drawn by this code #5

Open
DAPOPOBEFASTONYOAZZ opened this issue Dec 16, 2024 · 4 comments

Comments

@DAPOPOBEFASTONYOAZZ
Copy link

DAPOPOBEFASTONYOAZZ commented Dec 16, 2024

I have CSS code that revives a classic extension, GlassMyFox, which made many elements of the browser drawn by Windows Aero, like context menus, library panes, bookmark sidebar and more.

I had been using r3dfox before, but now trying out Marble, this build breaks -moz-win-borderless-glass in several areas.

Before, what looked like this on r3dfox:
image

Now looks like this on Marble:
image 2

You can tell that in Marble in the current state, in the context menu, it is still trying to draw its region using Windows Aero, as is evident by its translucent and blurry 1px - 2px border. But something about Marble breaks it. I thought this was something about my userChrome, but no matter what I do, I cannot get the black box to go away.

Also, other areas, like the downloads drop down, or the tab preview pop-up are completely transparent, whereas these should have also been drawn by Windows Aero when using -moz-win-borderless-glass. Prior in r3dfox, they had the same issue of the black box but still being drawn by Windows Aero underneath, but now these are completely transparent and seem to ignore -moz-win-borderless-glass, which make it quite impossible to read.
image 3

If you need me to share my userChrome files, I will attach them for you for debugging.

Edit: Using Windows 10 with OpenGlass.

@Erizur
Copy link
Collaborator

Erizur commented Dec 17, 2024

Seems like it's an issue where -moz-borderless-glass (in this case, DWM extended frames) isn't applying to all windows except for the main one. Could you test with Marble 132 perchance?

@DAPOPOBEFASTONYOAZZ
Copy link
Author

Yes, my userChrome code works just fine in Marble 132 and appears as such:
Untitled

@Erizur
Copy link
Collaborator

Erizur commented Dec 17, 2024

Since Firefox 133 added some Mica (Windows 11 additions, strange things related to glass and titlebar related stuff have been occuring on the latest version. I will have a look at it soon.

@Erizur
Copy link
Collaborator

Erizur commented Feb 8, 2025

Seems like I missed out on some code that restored the css property when merging the new 133 changes. I am not updating Marble 133 anymore, but I will certainly have this fixed for the ESR branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants