#977238 qimgv: middle-click triggers a ButtonRelease event in the underneath window; should not quit on ButtonPress

Package:
qimgv
Source:
qimgv
Description:
Qt5 image viewer with optional video support
Submitter:
Vincent Lefevre
Date:
2020-12-12 23:42:04 UTC
Severity:
important
Tags:
#977238#5
Date:
2020-12-12 23:19:43 UTC
From:
To:
When I click with the middle button (button 2), this quits qimgv and
triggers a ButtonRelease event in the underneath window, thus
affecting an unrelated application. A major consequence is that some
applications (such as xterm and rxvt) see this ButtonRelease event as
a click, and since this is a middle-click, if the window is accepting
input at this mouse position, this unexpectedly pastes data. For a
terminal like xterm or rxvt, this can be harmful, depending on what
is running and on what is pasted (this could be private data).

In no way an application should affect other applications like that.

The cause is that qimgv quits at the ButtonPress event instead of the
ButtonRelease event.

#977238#10
Date:
2020-12-12 23:39:47 UTC
From:
To:
Control: forwarded -1 https://github.com/easymodo/qimgv/issues/154
https://github.com/easymodo/qimgv/issues/154

Philip Chung