Denis Auroux - 2021-11-07

I don't understand why this is happening, as the image should always
appear at the location of the button release event. If the image appears
at the wrong location it means xournal got the wrong location for the
button event. Does it matter which device you use to click to insert the
image? (mouse, touchpad, stylus, etc.) ? Does disabling Options -> Use
XInput help with this behavior? (if you have a stylus/touchscreen you
probably don't want to leave it disabled, this is only for debugging
purposes).

Do note:

(1) you can select an image using the rectangle selection tool by
clicking anywhere in the image, and then resize/move it, so if it is not
scaled / positioned properly and somehow didn't get selected properly
upon being inserted, you can always move it.

(2) you can copy-paste images into xournal instead of using the insert
image tool, in case that behaves better.

Denis