LibreOffice 27.2.0 to Fix Display Problems Across Wayland Monitors With Different Scale Factors
The article's text, from Joho no Todai's page.
At 11:17 UTC on December 4, 2026, LibreOffice merged four changes into its main development branch to fix display problems on monitors set to different scale factors. Written by Sergey Anisimov, the changes address the interaction between Wayland and the Qt backend for VCL, LibreOffice’s user interface toolkit.
The first bug report dates to April 9, 2021. A user running LibreOffice 7.1.2.2 on Linux 5.11 with KDE Plasma on Wayland said the app stopped working properly when displays used different scale factors.
A developer reproduced the issue on April 12, 2021. With two 1920×1080 displays set to 100% and 175%, moving a Writer window from the 100% display to the 175% display and maximizing it left much of the window unused.
An October 5, 2026 report showed that the issue also affected saving. The user ran a development build of Ubuntu 26.10 with KDE Plasma 6.7.5, Qt 6.11.2, and LibreOffice 26.8.1.1. An external 3840×2160 display was set to 200%, and the laptop’s 1920×1200 screen was set to 100%.
When the user tried to close a modified document on the 100% screen, the save prompt’s contents were larger than its window. The Save button was outside the visible area, leaving only Discard and Cancel clickable. Pressing Enter still saved the document, and the dialog displayed normally with both screens set to 200%.
The user was running plasma-integration 6.7.5 and reported that setting SAL_VCL_QT_USE_WELDED_WIDGETS=1 restored the save prompt on the 100% screen with mixed scaling.
On November 12, a user running EndeavourOS, KDE Plasma 6.8.2, and LibreOffice 26.8.2.2 also reproduced the issue. The bug tracker linked 22 duplicate reports as of its December 4 update.
Users may scale up a high-resolution display for legibility and use a lower scale on another screen for more workspace. The bug made that ordinary choice interfere with something as basic as saving a document.
LibreOffice Writer display bug (KDE Plasma and Wayland)
| Test date | Display scales and action | Result |
|---|---|---|
| April 2021 | 100%→175% Move, then maximize | Large blank area |
| October 2026 | 200%・100% Close on 100% screen | Save button outside view Enter still saves |
| October 2026 | Both screens at 200% Close document | Save prompt displays normally |
Separating display scaling from layout calculations
Qt distinguishes logical coordinates used by applications from physical display pixels. The device pixel ratio (DPR) describes the relationship. At a DPR of 1, a window 200 logical units wide and high occupies 200×200 pixels. At a DPR of 2, it uses 400×400 pixels.
Monitors with different scale factors use different numbers of physical pixels to render a window. Using application coordinates for layout lets the program recalculate positions after a move without carrying differences in display resolution into the calculation.
In April 2022, a LibreOffice developer said VCL had little support for handling changes in DPI, a measure of display density, or scaling while the app was running. Internal information about the rendering target’s DPI and scale was only updated when the window was destroyed.
An April 2022 change simulated a window resize event when the display changed to update the visible area. It did not handle changes in the scale factor itself.
On August 4, 2026, a proposal suggested using a common DPR and resolution within VCL even on monitors with different scale factors. The developer said the GTK3 backend used a common internal resolution and scale, which might explain why it rendered correctly.
The first change fixes VCL’s DPR at 1 when calculating window sizes and positions of elements. The SVP rendering path, which draws to image data, uses the actual DPR that Qt returns for the window’s widget to scale the drawing surface.
On Qt 6.6 and later, rendering updates use the event that signals a DPR change. Earlier Qt versions use notifications that a window moved to another screen.
The fix deals with differences between screens by keeping those differences out of internal layout calculations. That lets the app render at high resolution while calculating sizes and positions independently of each screen’s scale.
LibreOffice: Four Qt and Wayland fixes merged (planned for 27.2.0)
| Area | Change | Purpose or notes |
|---|---|---|
| UI toolkit (VCL) | Set layout DPR to 1 | Apply the actual scale During rendering |
| Document rendering (With SVP) | Use the active window’s Rendering scale | Blurry text and Scrolling artifacts |
| Document rendering (Without SVP) | Drawing surfaces and images Use the actual scale | Blurry text and Scrolling artifacts |
| Image data management | std::unique_ptr Manage buffers with smart pointers | Code cleanup |
Fixes also reach document rendering
Even with buttons and windows in the right place, blurry text or rendering glitches during scrolling can still interrupt everyday work.
The second change affects virtual drawing surfaces used by Qt and SVP to render text and images before displaying them. It addresses blurry text and scrolling artifacts when editing Writer documents or Calc sheets.
The updated implementation gets the scale from the drawing surface corresponding to the actual window. If it cannot get the scale there, it uses the application’s default window.
The third change handles Qt rendering paths that bypass SVP, such as the one enabled by SAL_VCL_QT_USE_QFONT=1. It also applies the actual scale when resizing virtual drawing surfaces and bitmaps, images stored as arrays of pixels.
The developers revised the internals of the bitmap class QtBitmap. When the DPR differs from 1, it retains scale-adjusted image data that multiple readers can share. The implementation separates read-only access so it does not change color data or free the already converted image.
The fourth change cleans up the code, including managing image buffers with C++’s std::unique_ptr. A fix that started in layout calculations also touches the drawing of text and images. Correcting the way scale is applied means accounting for the coordinates used by each element.
Coming in LibreOffice 27.2.0
All four changes were merged after code review and automated testing in Jenkins. The team plans to ship them in LibreOffice 27.2.0 and has asked affected users to test the fixes and provide feedback.
The official tentative release plan schedules the final 27.2.0 release for the week of February 8–14, 2027.
The original bug remained assigned in the tracker as of December 4. Testing by users will help establish how fully the fixes address the problem.
Adding a high-resolution display should still let users move windows, edit documents, and save them as usual. The change touches several layers of the application, but its value is that people can keep working without having to think about which screen they are on.
