Bug 144981 - Insert Hyperlink dialog with artifacts in icons on the left bar (using kf5/kf6)
Summary: Insert Hyperlink dialog with artifacts in icons on the left bar (using kf5/kf6)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KDE, KF5 Hyperlink-Dialog
  Show dependency treegraph
 
Reported: 2021-10-07 13:33 UTC by Rafael Lima
Modified: 2024-04-18 06:10 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (28.86 KB, image/png)
2021-10-07 13:33 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-10-07 13:33:07 UTC
Created attachment 175570 [details]
Screenshot showing the problem

The "Insert - Hyperlink" dialog has artifacts in the border surrounding the icons in the left bar (see attached image).

It seems like there's a border misaligned.

System info:
Version: 7.2.1.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.2.1-0ubuntu0.21.04.1~lo1
Calc: threaded

Also in LO 7.3 alpha:
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: c92a29fd6ef341a1657f90759d20e4f052b45843
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-09-26_16:13:32
Calc: threaded
Comment 1 Rafael Lima 2021-10-07 13:35:50 UTC
Maybe a kf5 issue?

The problem does not happen under the "gen" VCL plugin.

Version: 7.2.1.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: x11
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.2.1-0ubuntu0.21.04.1~lo1
Calc: threaded
Comment 2 Dieter 2021-10-07 19:18:54 UTC
Also not a problem in Windows. Tested with

Version: 7.2.1.2 (x64) / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 3 Deep17 2021-11-05 15:16:55 UTC
I can't reproduce this in 

Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

and

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 542a38de1a071f54f61806683dafea84e43edce9
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 Rafael Lima 2021-12-07 00:27:00 UTC
Possibly a Kf5-only issue.

The bug is still present in LO 7.3 beta 1.

Version: 7.3.0.0.beta1 / LibreOffice Community
Build ID: 436f14c25ec1847646b953cf13d0db4f7ca3be57
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 5 Michael Weghorn 2021-12-07 07:28:46 UTC
I can reproduce with

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 2e5d18127f3be6741677bb567f9db37e2f4a9908
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 6 Jan-Marek Glogowski 2022-04-07 05:15:27 UTC
This looks like a bug in the headless VCL plugin code. Removing the 

        cairo_matrix_t aMatrix;
        cairo_matrix_init_translate(&aMatrix, 0.5, 0.5);
        cairo_set_matrix(cr, &aMatrix);

block from SvpGraphicsBackend::drawPolyPolygon fixes this artifact, but results in other drawing glitches, because the sub-pixel positioning then is a bit off (half a pixel). Or I'm missing something else or maybe it's a Cairo bug.

It doesn't show up in gtk3, which also uses Cairo / this code, because gtk3 - via weld - uses a native widget instead of LO's widget (some GtkNotebook). The QPainter Qt5 code is also correct.
Comment 7 QA Administrators 2024-04-07 03:14:30 UTC Comment hidden (obsolete)
Comment 8 Haris 2024-04-12 01:24:37 UTC
I cannot reproduce the bug in 

Stable Build
Version: 24.2.2.2 (AARCH64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Master/Daily Build
Version: 24.8.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: c4023d3ec604abfff38be2053e2989c7ec2ba8c1
CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Please let me know if its still present on Linux in the newer versions.
Comment 9 BogdanB 2024-04-12 11:22:27 UTC
(In reply to Haris from comment #8)
> I cannot reproduce the bug in 
> 
> Stable Build
> Version: 24.2.2.2 (AARCH64) / LibreOffice Community
> Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
> CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded
> 
> Master/Daily Build
> Version: 24.8.0.0.alpha0+ (AARCH64) / LibreOffice Community
> Build ID: c4023d3ec604abfff38be2053e2989c7ec2ba8c1
> CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded
> 
> Please let me know if its still present on Linux in the newer versions.

Should be tested on kf5.
Comment 10 Buovjaga 2024-04-18 06:10:25 UTC
Repro

Arch Linux 64-bit
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1d5630c5deeec5dca724c29ec8c886bfa71a2099
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 16 April 2024