Created attachment 126382 [details] screen recording STEPS TO REPRODUCE 1. set gtk3 theme to Adwaita in system settings > application style > "Configure Gnome/GTK Application Style" button 2. open Firefox and maximize/restore its window 3. OBSERVED RESULT Maximize/restore button takes ~1 second to change after window resizing. Watch the attached screen recording please. EXPECTED RESULT button should immediately change to "restore" after the window to be maximized; and it should immediately change to "maximize" after the window to be restored. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.18.1 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1
This behavior only affects Firefox with CSD. Firefox 74 Operating System: Arch Linux KDE Plasma Version: 5.18.3 KDE Frameworks Version: 5.68.0 Qt Version: 5.14.1
KWin doesn't draw client-side decorations. Could you please report this bug to Firefox developers and leave the link to the upstream bug report here?