Cannot apply rounded corners to Firfox menu

I have applied rounded corners via picom on my i3wm.
Theme: Arc-Dark
Code for rounded corners:

# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
corner-radius = 8

# Exclude conditions for rounded corners.
rounded-corners-exclude = [
  "window_type = 'dock'",
  "window_type = 'desktop'"
];

Everything is rounded as I it should be expect for the firefox menu.


All the other things are rounded in firefox the hamburger menu, it’s rounded, when I select something and drag it is also rounded. The border is rounded, all things are rounded but the firefox menu.

This thing one stupid menu not being rounded is really driving me nuts.

Maybe you just don’t see it because the menu is slightly bigger then what you see renered on your screen.
Try to increase the radius to corner-radius = 50 and see if there is some curvature to the corners at all.
It looks bad on my system but the effect is there.

1 Like

That actually looks like XFCE with i3 installed on top.

It is just the xfce panel, without the rest of xfce

This is what seems to be the case. killall picom and opening firefox menu results in a thick black border around the menu.

At corner-radius=21 the rounded border starts to become visible inside firefox, but it starts to clip on windows and you need to add some element before the tabs, so that the tabs are not clipped. this also effects other apps which lose much greater functionality compared to firefox.

The only solution I found to get rounded corners without clipping too much into the applications currently is to use a theme with rounded corners such as adwaita.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.