Details
Description
onclick handlers are never fired for mouse buttons 4 and 5 (the back and forward buttons on the mouse). The following simple PyQt script reproduces the problem. SImply click anywhere in the window ad yu get an alert, but this happens only when left clicking, not when pressing the 4th or 5th buttons on the mouse.
from PyQt5.QtWebEngineWidgets import QWebEngineView
from PyQt5.Qt import QApplication, QMainWindow
app = QApplication([])
mw = QMainWindow()
w = QWebEngineView()
w.setHtml('''<body onclick="alert(1111)"><p>hello world''')
mw.setCentralWidget(w)
mw.show()
app.exec_()