dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Right-click context menu displays incorrect background

Open thisisarnabdas opened this issue 9 months ago • 2 comments

Describe the bug

When right-clicking in the browser window, the context menu appears correctly, but its background renders a seemingly random chunk of the desktop instead of a consistent or transparent background. The visual glitch persists as long as the menu is open and affects user experience.

Steps to reproduce

1.Open Brave.

2.Right-click anywhere on the page.

3.Observe the background of the context menu.

Expected behavior

The context menu should display with a solid background color or theme-consistent transparency without showing parts of the desktop or other window layers.

Screenshots

Image

Image

Distribution

Arch Linux

If Other, specify

No response

Additional context

Brave was installed from AUR witth paru. This is the particular package Link:

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

thisisarnabdas avatar May 24 '25 03:05 thisisarnabdas

I have the same on my system. Wasn’t able to find a solution for it. I read that chromium based browser must be launched with a wayland specific parameter.

mylinuxforwork avatar May 24 '25 16:05 mylinuxforwork

ozone-platform=wayland

clifinger avatar May 25 '25 07:05 clifinger

This works for me on Edge Flatpak:

flatpak run com.microsoft.Edge --ozone-platform=wayland

You can change your .desktop file and add the parameter.

mylinuxforwork avatar Jun 05 '25 19:06 mylinuxforwork