View Single Post
Old 10-12-2023, 12:45 PM   #46
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,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Okay, I have built a debug version of PageEdit for Windows.

To use this debug version you must set the environment variable:

PAGEEDIT_DEBUG_LOGFILE

to be the full path to a local debug file on machine (so something ending in "debug.txt").

Then copy from calibre Normal RichText a table of some sort.

Then open PageEdit.

IMPORTANT NOTE: To do the paste you **must** only use PageEdit"s Edit->Paste menu item as that is the path with the debug information.

Once that is done. Please post the resulting "debug.txt" file here so we can see what formats calibre is producing.

I have also included debuging info to actually dump the html it is seeing on the clipboard if any exists.

Then I have tried adding a workaround to take the info from the clipboard and write it back only as html (with that mimedata type), to see if that approach could be used to workaround the issue.

When you get the Message Box about html being present, say No to the request to save as plain text only so it will try the workaround.

See the link to PageEdit Windows build in the next post.

I hope this will give us enough info to track this one down.

Last edited by KevinH; 10-12-2023 at 12:54 PM.
KevinH is offline   Reply With Quote