--- a/eric7/WebBrowser/WebBrowserPage.py Thu May 19 10:11:59 2022 +0200 +++ b/eric7/WebBrowser/WebBrowserPage.py Thu May 19 10:45:41 2022 +0200 @@ -392,8 +392,8 @@ @return viewport position @rtype QPoint """ - return QPoint(pos.x() // self.zoomFactor(), - pos.y() // self.zoomFactor()) + return QPoint(int(pos.x() // self.zoomFactor()), + int(pos.y() // self.zoomFactor())) def hitTestContent(self, pos): """