Thank you for your quick reply.
I have no experience in PyQt, but in another open-source application (Anki) using newest version of QTWebengine, v5.15.0, QTWebenginePage.copy() properly copies selected text into multiple formats. (Perhaps this observation is of useless, though.)
Another bug in copying text is as follows:
## Steps for reproduction
1. Open an ePub file.
2. Activate a toolbar in the left side of the Calibre viewer. (Preferences -> Miscellaneous -> Show a toolbar with the most useful actions)
3. Select a text segment and click the 'Copy to Clipboard' button in the toolbar.
## Expected behavior (the behavior in v4.23)
The text segment is copied to clipboard in various formats (including HTML).
## Actual behavior (the behavior in v5)
Nothing happens. It doesn't copy anything, even as a plain text.
|