You are here

Add new comment

rncbc's picture

this debug output:
...

#3  0x00007f8742f9f510 in QMimeData::hasUrls() const () from /usr/lib64/libQt5Core.so.5
#4  0x00000000004a1170 in qtractorFiles::stabilizeSlot (this=0x248fc10) at qtractorFiles.cpp:428

...
actually points to src/qtractorFiles.cpp, lines 427-8:

	m_pPasteItemAction->setEnabled(
		(QApplication::clipboard()->mimeData())->hasUrls());

which might be QApplication::clipboard()->mimeData() that is returning an invalid pointer, possibly NULL. if it is so, it's a bug in your specific Qt5 version on Weston: QClipboard::mimeData() should always return a valid pointer.

ok, just to be sure, would you be so kind and edit src/qtractorFiles.cpp, lines 427-8 as above, and rewrite/paste the following instead?

	const QMimeData *pMimeData = QApplication::clipboard()->mimeData();
	m_pPasteItemAction->setEnabled(pMimeData && pMimeData->hasUrls());

if it works or gets it through and beyond, then it's confirmed as a Qt5 bug, specific to your version on Weston perhaps. it has come to my knowledge that Qt5 on Android suffered from the same a while ago. maybe it's the same on Weston, maybe not. you're my eyes and ears over there ;)

hth.
cheers.