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.
|