https://bugs.kde.org/show_bug.cgi?id=375951

--- Comment #27 from Chris Holland <zrenf...@gmail.com> ---
I've restarted interest in this feature after finding and modifying zzag's
material decoration. I've bundled psifidotos's AppMenuModel.cpp from his
appmenu widget. He bundled libdbusmenuqt so I've done the same as I couldn't
iron out how to link to it.

* https://i.imgur.com/R3qHgaN.png
* https://github.com/Zren/material-decoration/tree/lim
* https://github.com/psifidotos/applet-window-appmenu/tree/master/plugin
* https://github.com/KDE/breeze/blob/master/kdecoration/breezesizegrip.cpp

It's a work in progress. I'm not sure if I'll attempt to embed a Widget QMenu
somehow, or if I'll stick with using
KDecoration2::DecorationButtonType::Custom. While it'll be easier to theme
"Custom" buttons, QMenu comes with "hover"+Left/Right Arrows to change
submenues and other basic menu features.

I recommend using the following command to test the LIM branch. It filters out
the non-essential logging, and restarts KWin.

    sudo make install && QT_LOGGING_RULES="*=false;kdecoration.material=true"
kstart5 -- kwin_x11 --replace

Tip: I also found that just opening the System Settings > Window Decorations
kcm was more convenient for testing the close/maximize/minimize buttons.

    kcmshell5 kwindecoration

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to