Bug 160015 - Janky / slow window resizing and redrawing under Wayland
Summary: Janky / slow window resizing and redrawing under Wayland
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: RenderContext Flickering-UI
  Show dependency treegraph
 
Reported: 2024-03-04 02:54 UTC by Jeff Fortin Tam
Modified: 2024-03-19 14:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Demonstration video - Writer 24.2 (1.71 MB, video/mp4)
2024-03-04 02:56 UTC, Jeff Fortin Tam
Details
Demonstration video - Calc 24.2 (3.35 MB, video/mp4)
2024-03-04 02:56 UTC, Jeff Fortin Tam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2024-03-04 02:54:49 UTC
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
Comment 1 Jeff Fortin Tam 2024-03-04 02:56:08 UTC
Created attachment 192924 [details]
Demonstration video - Writer 24.2
Comment 2 Jeff Fortin Tam 2024-03-04 02:56:58 UTC
Created attachment 192925 [details]
Demonstration video - Calc 24.2
Comment 3 Stéphane Guillou (stragu) 2024-03-19 14:24:49 UTC
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.