View Single Post
Old 09-25-2020, 09:48 AM   #3
barro350
Junior Member
barro350 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2020
Device: Desktop (Windows)
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.
barro350 is offline   Reply With Quote