[PyQt] QWebEngineView triggerPageAction segfaults

Rembrand at daxLAB rembrand at daxlab.com
Thu Dec 8 11:12:12 GMT 2016


Dear all,

I'm using Qt 5.7, latest download of sip and PyQt5 for Python 2.7 (on Linux)

I can use the triggerPageAcrion from QWebEngineView for some actions but not for all. Selecting and deselecting content works as well as refresh/reload  BUT everything related to an image like the actions: 

  QWebEnginePage::CopyImageToClipboard
  QWebEnginePage::CopyImageUrlToClipboard
  QWebEnginePage::DownloadImageToDisk

results in a segfault when executed.  

When I select QWebEnginePage::Copy it does not segfault but there is no image at all inside the clipboard.

If anybody knows a method to copy an image from QWebEngineview to the clipboard (or even download) without a segfault I would be very happy.

Is it possible that this is not implemented in PyQt5?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161208/3302ce84/attachment-0001.html>


More information about the PyQt mailing list