https://bugs.kde.org/show_bug.cgi?id=421974
--- Comment #15 from Méven Car <[email protected]> --- I do reproduce it: Operating System: Kubuntu 21.04 KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.11.0-25-generic (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 15.1 Gio of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 After https://bugreports.qt.io/browse/QTBUG-87657 the mime type are correctly advertised. But I could see something suspicious in the logs: [1675147,350] -> [email protected]_data_source(new id wl_data_source@31) [1675147,497] -> [email protected]("application/x-qt-image") [1675147,512] -> [email protected]("x-kde-force-image-copy") [1675147,520] -> [email protected]("image/png") [1675147,529] -> [email protected]("image/avif") [1675147,536] -> [email protected]("image/bmp") [1675147,546] -> [email protected]("image/bw") [1675147,555] -> [email protected]("image/cur") [1675147,567] -> [email protected]("image/eps") [1675147,577] -> [email protected]("image/epsf") [1675147,586] -> [email protected]("image/epsi") [1675147,596] -> [email protected]("image/icns") [1675147,607] -> [email protected]("image/ico") [1675147,616] -> [email protected]("image/jpeg") [1675147,627] -> [email protected]("image/jpg") [1675147,639] -> [email protected]("image/pbm") [1675147,650] -> [email protected]("image/pcx") [1675147,661] -> [email protected]("image/pgm") [1675147,672] -> [email protected]("image/pic") [1675147,684] -> [email protected]("image/ppm") [1675147,694] -> [email protected]("image/rgb") [1675147,705] -> [email protected]("image/rgba") [1675147,717] -> [email protected]("image/sgi") [1675147,728] -> [email protected]("image/tga") [1675147,739] -> [email protected]("image/tif") [1675147,750] -> [email protected]("image/tiff") [1675147,761] -> [email protected]("image/wbmp") [1675147,773] -> [email protected]("image/webp") [1675147,784] -> [email protected]("image/xbm") [1675147,796] -> [email protected]("image/xpm") [1675147,812] -> [email protected]_selection(wl_data_source@31, 42469) [1675147,831] -> [email protected]() <-- this looks very suspicious [1675148,131] -> [email protected]_min_size(921, 411) [1675148,158] -> [email protected]_max_size(0, 0) [1675148,175] -> [email protected]() A good old gdb showed: Thread 1 "spectacle" hit Breakpoint 1, QtWaylandClient::QWaylandDataOffer::~QWaylandDataOffer (this=0x555555b52a60, __in_chrg=<optimized out>) at qwaylanddataoffer.cpp:66 66 qwaylanddataoffer.cpp: Aucun fichier ou dossier de ce type. (gdb) bt #0 QtWaylandClient::QWaylandDataOffer::~QWaylandDataOffer (this=0x555555b52a60, __in_chrg=<optimized out>) at qwaylanddataoffer.cpp:66 #1 0x00007ffff3810d52 in QScopedPointerDeleter<QtWaylandClient::QWaylandDataOffer>::cleanup (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:60 #2 QScopedPointer<QtWaylandClient::QWaylandDataOffer, QScopedPointerDeleter<QtWaylandClient::QWaylandDataOffer> >::reset (other=0x0, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:159 #3 QtWaylandClient::QWaylandDataDevice::invalidateSelectionOffer (this=<optimized out>) at qwaylanddatadevice.cpp:87 #4 0x00007ffff37f01b6 in QtWaylandClient::QWaylandInputDevice::Keyboard::handleFocusLost (this=0x55555560cb50) at qwaylandinputdevice.cpp:1305 So qtwaylandclient discard the data_offer upon keyboard focus loss, which would be fine for primary selection copy, but it is not for regular case. This seems to relate to the bug fix https://bugreports.qt.io/browse/QTBUG-73825 And qt patch https://codereview.qt-project.org/c/qt/qtwayland/+/253360 -- You are receiving this mail because: You are watching all bug changes.
