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

Menus are always blurred on Wayland, even if "Blur menus" is disabled #29

Closed
taj-ny opened this issue Mar 24, 2024 · 1 comment
Closed
Labels
bug Something isn't working wayland

Comments

@taj-ny
Copy link
Owner

taj-ny commented Mar 24, 2024

The window type must be different on Wayland for some reason, since EffectWindow::isMenu(), EffectWindow::isDropdownMenu() and EffectWindow::isPopupMenu() all return false. It could be a KWin bug, as the Translucency effect uses the same properties and doesn't work on Wayland as well.

if (window.dialog === true) {
    checkWindow(window, translucencyEffect.settings.dialogs);
} else if (window.dropdownMenu === true) {
    checkWindow(window, translucencyEffect.settings.dropdownmenus);
} else if (window.popupMenu === true) {
    checkWindow(window, translucencyEffect.settings.popupmenus);
} else if (window.comboBox === true) {
    checkWindow(window, translucencyEffect.settings.comboboxpopups);
} else if (window.menu === true) {
    checkWindow(window, translucencyEffect.settings.tornoffmenus);
}
@taj-ny taj-ny added bug Something isn't working wayland labels Mar 24, 2024
taj-ny added a commit that referenced this issue Apr 20, 2024
taj-ny added a commit that referenced this issue Apr 20, 2024
@taj-ny taj-ny added this to the v2.0.0 milestone May 3, 2024
@taj-ny
Copy link
Owner Author

taj-ny commented May 28, 2024

Fixed in v1.2.1.

@taj-ny taj-ny closed this as completed May 28, 2024
@taj-ny taj-ny removed this from the v2.0.0 milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wayland
Projects
None yet
Development

No branches or pull requests

1 participant