Bug 152930

Summary: Jumpy text and off-by-one-pixel errors in Calc with 150% high-DPI scaling
Product: LibreOffice Reporter: Freddie Witherden <freddie>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: aron.budea, ilmari.lauhakangas, redmoon1945, rustamabd
Priority: medium    
Version: 7.4.3.2 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 90796    
Attachments: Issues as shown on a simple calc sheet (see red line annotations)

Description Freddie Witherden 2023-01-08 16:19:51 UTC
Description:
On Linux the drawing code in Calc appears to have issues with fractional scaling that results in text/line art corruption.  This includes cell lines breaking up, and pieces of text being cut off/overdrawn (see screenshot where issues are identified in red).  On window blur the issues resolve themselves.

Steps to Reproduce:
1. On an X11 Linux system with a high-DPI display open up a new Calc document.
2. Populate some cells with content.
3. Use the arrow keys to move around cells, soon on-screen corruption will begin to appear.

Actual Results:
Text and line art is corrupted after moving around a few cells.  Can also be triggered by typing into a cell.

Expected Results:
There should be no cropping/overdrawing/misalignment.


Reproducible: Always


User Profile Reset: No

Additional Info:
UI renderer: default; VCL: kf5 (cairo+xcb).
Comment 1 Freddie Witherden 2023-01-08 16:20:39 UTC
Created attachment 184526 [details]
Issues as shown on a simple calc sheet (see red line annotations)
Comment 2 Buovjaga 2023-08-11 14:15:18 UTC
*** Bug 155513 has been marked as a duplicate of this bug. ***
Comment 3 Buovjaga 2023-08-11 14:16:08 UTC
NEW per duplicate
Comment 4 Buovjaga 2024-04-10 16:55:59 UTC
*** Bug 160486 has been marked as a duplicate of this bug. ***
Comment 5 Timur 2024-04-10 17:33:45 UTC
I could assume this is a duplicate of bug 154602