Bug 147230 - Ruler is distorted when Skia HW Rendering is enabled (present in LO 7.2 but not in LO 7.3)
Summary: Ruler is distorted when Skia HW Rendering is enabled (present in LO 7.2 but n...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Rulers
  Show dependency treegraph
 
Reported: 2022-02-06 12:28 UTC by bugzilla2
Modified: 2023-02-05 20:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Ruler with Skia HW Rendering (12.34 KB, image/jpeg)
2022-02-06 12:28 UTC, bugzilla2
Details
Ruler with Skia SW Rendering (12.34 KB, image/jpeg)
2022-02-06 12:29 UTC, bugzilla2
Details
Ruler with Skia HW Rendering (updated) (11.50 KB, image/jpeg)
2022-02-06 12:31 UTC, bugzilla2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugzilla2 2022-02-06 12:28:00 UTC
Description:
When Skia hardware-rendering is enabled, the ruler in Writer 7.2.x is distorted (see screenshots). When Skia software-rendering is used, the ruler looks fine. In 7.1 this problem didn't exist, so its a regression.

Steps to Reproduce:
1. Enable Ski Hardware-Rendering
2. Open Writer

Actual Results:
Ruler is distorted.

Expected Results:
Ruler should not be distorted.


Reproducible: Always


User Profile Reset: Yes



Additional Info:

Only tested on several Systems with AMD-GPU so far. Not tested on Intel or Nvidia GPU until yet.

Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 1 bugzilla2 2022-02-06 12:28:43 UTC Comment hidden (obsolete)
Comment 2 bugzilla2 2022-02-06 12:29:12 UTC
Created attachment 178094 [details]
Ruler with Skia SW Rendering
Comment 3 bugzilla2 2022-02-06 12:30:29 UTC Comment hidden (obsolete)
Comment 4 bugzilla2 2022-02-06 12:31:29 UTC
Created attachment 178095 [details]
Ruler with Skia HW Rendering (updated)
Comment 5 bugzilla2 2022-02-09 10:12:39 UTC
Update: Tested on PC with Intel HD Graphics -> no result, because SW rendering is used with this GPU, even though its not forced.
Comment 6 bugzilla2 2022-02-09 10:34:54 UTC
Update: Test on Computer with Nvidia GPU is a bit more useful -> GTX 1070 with quite recent driver, Skia/Vulkan -> no distorted ruler.

So, my initial guess seems to be right, that this issue could apply on AMD GPU's only.
Comment 7 Dieter 2022-02-24 07:56:57 UTC
Thank you for reporting the bug. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.

BTW: I don't know what's the difference between Skia SW and Skia HW and whre I can see or change the setting.
Comment 8 bugzilla2 2022-02-25 17:30:19 UTC
(In reply to Dieter from comment #7)
> Could you please try to reproduce it with the latest version of LibreOffice?

I did a re-test with 7.2.6.1 and 7.3.1.2 -> The bug does not exist in the 7.3 RC, but it still exists in the latest 7.2.x Build. So for me its still not resolved, as 7.2 Series is still in Support. So set it back to 'UNCONFIRMED'.


> BTW: I don't know what's the difference between Skia SW and Skia HW and whre
> I can see or change the setting.

You can see in the About Screen, if SW-Rendering or HW-Rendering is used.
UI render: Skia/Raster -> Software Rendering
UI render: Skia/Vulkan -> Hardware Rendering
At least that's my Interpretation, I haven't found any official explanation of those lines.
You can NOT enable HW-Rendering if your GPU isn't supported, but you can disable Hardware-Rendering by set the Rendering to "Force SKIA software rendering" ("Rendern mittels SKIA-Software erzwingen") in "View"-Options (Ansichts-Optionen).
Comment 9 Dieter 2022-02-25 18:48:11 UTC
(In reply to bugzilla2 from comment #8)
> So for me its still
> not resolved, as 7.2 Series is still in Support. So set it back to
> 'UNCONFIRMED'.

O. K. for me, but I'm afraid that nobody will try to fix it for 7.2, if it works in 7.3. but let's see.

> > BTW: I don't know what's the difference between Skia SW and Skia HW and whre
> > I can see or change the setting.
> 
> You can see in the About Screen, if SW-Rendering or HW-Rendering is used.
> UI render: Skia/Raster -> Software Rendering
> UI render: Skia/Vulkan -> Hardware Rendering

Thanks for explanation. I use Skia/Raster.
Comment 10 Dieter 2023-02-05 20:28:00 UTC
(In reply to Dieter from comment #9)
> O. K. for me, but I'm afraid that nobody will try to fix it for 7.2, if it
> works in 7.3. but let's see.

Since there is no further development on LO 7.2 and it worked in 7.3 let's close it now.

=> RESOLVED WORKSFORME