STEPS TO REPRODUCE 1. use Wayland 2. open Firefox in CSD mode 3. try to resize Firefox vertically with middle click on maximize/restore button or horizontally with right-click on the same button OBSERVED RESULT nothing happens EXPECTED RESULT the window is resized vertically (middle-click) or horizontally (right-click) SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.26.1 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Graphics Platform: Wayland
The actual buttons themselves are provided by Firefox, not KWin. So KWin's features won't work there. This is just one of the drawbacks of using CSDs. If you want this functionality, you'll have to disable Firefox's CSD mode and bring back the KWin-provided titlebar.
Gnome Disks and Nautilus file manager are also affected. Is this a gtk issue?
It's just a CSD issue in general. CSD apps provide their own minimize/maximize/close buttons, which means they're responsible for the features present in those buttons. With SSD apps, KWin provides the buttons, and it is therefore free to add cool features like the ones you're looking for. But those CSD apps don't implement those same features.