View Single Post
Old 10-13-2023, 07:34 PM   #75
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,860
Karma: 6120478
Join Date: Nov 2009
Device: many
And it is only an issue on Windows because what is stored by calibre on Windows only does not meet the cf_html clipboard spec used/needed by Qt as it leaves out the html and body tags.

If a fix is needed, then shouldn't calibre be the one that produces the correct cf_html that Windows Qt apps relies on since calibre is a Qt app?

Or perhaps Qt on Windows should be more forgiving of fragments that do not include the html and body tags for the context part of the cf_html spec?

If on Windows copying a table from FireFox, Edge, Chrome, LibreOffice, Word, Sigil, etc and pasting it into PageEdit works then the issue really is a non-compliant clipboard implementation done by calibre and not that Qt should be more forgiving. If copying a table from those sources to PageEdit does not work, please include the debug txt output so we can see why.

If other major apps besides calibre do not work with PageEdit on Windows and for similar reasons, then I will try a Windows specific workaround.

Last edited by KevinH; 10-13-2023 at 07:39 PM.
KevinH is offline   Reply With Quote