edge-frfox icon indicating copy to clipboard operation
edge-frfox copied to clipboard

Add blurred right click menu

Open nonetrix opened this issue 2 years ago • 4 comments

Description Add blur to right click menu this requires layout.css.backdrop-filter.enabled to be set to true on older versions of Firefox it was only recently enabled by default as of 103 to my knowledge maybe 102-101?

Include screenshot / video recording if possible.

Screenshot 2022-07-29 203312

nonetrix avatar Jul 30 '22 01:07 nonetrix

It is set to true for me but I don't see the blur effect. Do you use Mica ?

IkelAtomig avatar Jul 30 '22 02:07 IkelAtomig

I am on Windows 11 I assume so the screenshot is Edge not Firefox

nonetrix avatar Aug 02 '22 00:08 nonetrix

It seems that backdrop-filter cannot be applied to the context menu. I think it is because Firefox draws context menus as their own windows separate from other content, but Firefox can only blur it's own in-page content.

.menupopup-arrowscrollbox {
  background: #fff8 !important;
  backdrop-filter: blur(20px) !important;
}

screen shot

backdrop-filter is definitely enabled:

body {
  backdrop-filter: blur(20px) !important;
}

backdrop-filter test

bmFtZQ avatar Aug 04 '22 07:08 bmFtZQ

Well in that case you can probably use Mica for everyone in some way or Picom on Linux

I know on Linux Firefox menu has it's own window class in xprop something like right_click_menu I'm sure it's same on Windows

nonetrix avatar Aug 04 '22 19:08 nonetrix

Closing this due to Mica being no longer supported.

bmFtZQ avatar Dec 20 '23 03:12 bmFtZQ