Broken line properties dialog
I noticed that you've moved to python3 lately, that's awesome!
In my attempt to use the version still in development for a personal project I came across the following issue.
At commit 383a1faf, in master, the line properties dialog is broken on Fedora 33 (kernel: 5.10.14-200.fc33.x86_64)
The Meson build system Version: 0.55.3 Build type: native build Project name: dia Project version: 0.97.3 C compiler for the host machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)") C linker for the host machine: cc ld.bfd 2.35-18 C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)") C++ linker for the host machine: c++ ld.bfd 2.35-18 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (1.7.3) Run-time dependency glib-2.0 found: YES 2.66.7 Run-time dependency gtk+-2.0 found: YES 2.24.33 Run-time dependency libxml-2.0 found: YES 2.9.10 Run-time dependency gmodule-2.0 found: YES 2.66.7 Run-time dependency zlib found: YES 1.2.11 Run-time dependency cairo found: YES 1.16.0 Run-time dependency graphene-1.0 found: YES 1.10.4 Run-time dependency poppler found: YES 0.90.0 Run-time dependency libxslt found: YES 1.1.34 Run-time dependency gdk-2.0 found: YES 2.24.33
And intel graphics hardware:
*-display description: VGA compatible controller product: Haswell-ULT Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 0b width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:47 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
Note: this issue has been reproduced with an AMD graphic card and on ubuntu 20.4.
It appears that the cairo_paint of line arrow and line style is not properly clipped and spill out into the rest of the dialog.
In an attempt to solve this issue, I've forked the project into: https://gitlab.gnome.org/aauzi/dia and modified lib/dia-arrow-cell-renderer.c lib/dia-line-cell-renderer.c in commit: aauzi/dia@473d411b
The result is:
FWIW, I've also tackled some warnings during my warming up before analysing the actual defect.
Let me know if a merge request is expected.
With best regards,