View Single Post
Old 08-23-2023, 09:32 AM   #5
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,842
Karma: 6120478
Join Date: Nov 2009
Device: many
Drag and drop according to the official Qt docs was supposed to be disabled by default. Sigil has been around a long time, long before Qt supported drag and drop at all without crashing. So this functionality was never used or tested in Sigil's CodeView.

Then silently, without changing their official docs, Qt turned ON drag and drop by default but it still could cause crashing in Qt 5.12.x and even Qt 5.15x.

This crashing was finally reported to us, and since Sigil was never designed/tested to use drag and drop, we decided to revert to disabling it (as that was the original Qt default) as fixing internal Drag and Drop crashes deep in Qt are beyond our control.

So with an environment variable set, you can enable drag and drop again, but we will NOT be accepting bug reports related to drag and drop editing. Any backtrace or bug regarding drag and drop will be closed and any such bug reports should be directed directly to Qt as it is not something our code controls.

If you do not like that, you can of course use Sigil's OpenWith command to edit the xhtml file with whatever html/code editor you prefer.

Last edited by KevinH; 08-23-2023 at 11:13 AM.
KevinH is online now   Reply With Quote