Bug 152930 - Jumpy text and off-by-one-pixel errors in Calc with 150% high-DPI scaling
Summary: Jumpy text and off-by-one-pixel errors in Calc with 150% high-DPI scaling
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 155513 160486 (view as bug list)
Depends on:
Blocks: HiDPI
  Show dependency treegraph
 
Reported: 2023-01-08 16:19 UTC by Freddie Witherden
Modified: 2024-04-10 17:33 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Issues as shown on a simple calc sheet (see red line annotations) (91.34 KB, image/png)
2023-01-08 16:20 UTC, Freddie Witherden
Details

Note You need to log in before you can comment on or make changes to this bug.
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