Hello Reiner, > Currently it is not possible to copy or cut data from an epub-ebook. The > program closes immediatly.
Thank you. I can reproduce the bug. ---- $ gdb /usr/bin/python3 GNU gdb (Debian 17.1-1) 17.1 (gdb) run /usr/bin/ebook-edit /tmp/test.epub Thread 1 "open_book" received signal SIGSEGV, Segmentation fault. Download failed: Invalid argument. Continuing without source file ./obj-x86_64-linux-gnu/./src/client/qwaylandclipboard.cpp. 0x00007fffdd0fe23f in QtWaylandClient::QWaylandClipboard::setMimeData (this=0x2080460, data=0x54cdc30, mode=QClipboard::Selection) at ./src/client/qwaylandclipboard.cpp:90 (gdb) where #0 0x00007fffdd0fe23f in QtWaylandClient::QWaylandClipboard::setMimeData (this=0x2080460, data=0x54cdc30, mode=QClipboard::Selection) at ./src/client/qwaylandclipboard.cpp:90 #1 0x00007ffff2826350 in QWidgetTextControlPrivate::mouseDoubleClickEvent (this=this@entry=0x1fdc1f0, e=e@entry=0x7fffffffcc40, button=<optimized out>, pos=..., modifiers=..., modifiers@entry=..., buttons=..., buttons@entry=..., globalPos=...) at ./src/widgets/widgets/qwidgettextcontrol.cpp:1901 #2 0x00007ffff28295bf in QWidgetTextControl::processEvent (this=<optimized out>, e=0x7fffffffcc40, transform=..., contextWidget=<optimized out>) at ./src/gui/kernel/qevent.h:116 #3 0x00007ffff281dbdb in QWidgetTextControl::processEvent (this=0x54c9060, e=0x7fffffffcc40, coordinateOffset=<optimized out>, contextWidget=0x54d0bf0) at ./src/widgets/widgets/qwidgettextcontrol.cpp:994 #4 0x00007ffff27f7744 in QPlainTextEditPrivate::sendControlEvent (this=<optimized out>, e=0x7fffffffcc40) at ./src/widgets/widgets/qplaintextedit_p.h:108 #5 QPlainTextEdit::mouseDoubleClickEvent (this=<optimized out>, e=0x7fffffffcc40) at ./src/widgets/widgets/qplaintextedit.cpp:2089 #6 0x00007ffff2e36fa7 in meth_QPlainTextEdit_mouseDoubleClickEvent (sipSelf=<optimized out>, sipArgs=0x7fffdd3d1270) at ./.pybuild/cpython3_3.13/build/QtWidgets/sipQtWidgetsQPlainTextEdit.cpp:3180 #7 0x0000000000594bb0 in cfunction_call (func=0x7fffdcff42c0, args=<optimized out>, kwargs=<optimized out>) at ../Objects/methodobject.c:55 ---- It seems segmentation fault inside Qt, so it might be a bug of PyQt or Qt. It seems the bug also happens on Frescobaldi v4. * Frescobaldi crashes when selecting text [Arch Linux] #2126 https://github.com/frescobaldi/frescobaldi/issues/2126 And the Frescobaldi developers reports the bug to upstream. * segfault using PyQt6 version 6.10.1 https://www.riverbankcomputing.com/pipermail/pyqt/2025-December/046406.html -- YOKOTA Hiroshi

