Add new comment

Permalink

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.

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.