1.5-dev Pen Tool line draw double-click end, embeds clipboard image

Daryl Hall
2026-04-05T01:40:35Z

#### Summary:

... Drawing a line with Pen Tool the double click to end the line also embeds into the canvas a clipboard image.

#### Steps to reproduce:

- copy a small image to the clipboard
- open Inkscape
- select Pen tool and draw a line
- double-clicking to end the line also inserts the clipboard image onto the canvas

#### What happened?

A clipboard image was embedded, which should not have happened.

#### What should have happened?

Double-click should end the line drawn, not insert image

Sample attachments:

#### Version info

```

Inkscape 1.5-dev (85e98c1, 2026-04-03, custom)

Compile (Run)
GLib version: 2.86.3
GTK version: 4.20.3 (4.20.3)
glibmm version: 2.86.0
gtkmm version: 4.20.0
libxml2 version: 2.15.1
libxslt version: 1.1.45
Cairo version: 1.18.4 (1.18.4)
Pango version: 1.56.4 (1.56.4)
HarfBuzz version: 12.3.0 (12.3.0)
Poppler version: 25.12.0

OS version: Windows 11 25H2

```