Description: LibreOffice applications (I've tested at least Calc and Writer) are very slow to resize and redraw their windows on Linux, even under a well-optimized Wayland GNOME 45.4 and open source Mesa drivers for my AMD Radeon R9 270. No other applications (particularly GTK4 apps) have this problem, other apps resize butter-smoothly. Steps to Reproduce: Super+middle-click to resize any window without needing to be super precise, otherwise grab the window's edges to resize. Actual Results: Laggy and janky resizing, not just of toolbars (bug #127963) but also the document's canvas, statusbar, scrollbars, etc. Expected Results: Butter-smooth resizing. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Flatpak Calc: threaded
Created attachment 192924 [details] Demonstration video - Writer 24.2
Created attachment 192925 [details] Demonstration video - Calc 24.2
I can already see it in libreoffice-6.0.0.3 with a MetaWindowXwayland window and the gtk2 VCL plugin, as well as with a MetaWindowWayland in: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 479b5bbe8ca2177ba7574e7aa2308b5d0de1895c CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded Same for gen and kf5 (cairy+wayland) VCL plugin.
Unsurprisingly, I also see high CPU usage (70-100%) on one of my CPU cores during resizing (even on a pretty recent laptop), so marking this as blocking #136524 too.