taj-ny / kwin-effects-forceblur

Blur any window on KDE Plasma 6
GNU General Public License v3.0
107 stars 7 forks source link

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

Closed taj-ny closed 1 month ago

taj-ny commented 3 months ago

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 commented 1 month ago

Fixed in v1.2.1.