Summary: | copy / paste of text file from kate / kwrite into pastebin fails over 200kB | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Barry Jackson <zen25000> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Barry Jackson
2010-04-27 18:42:59 UTC
The console output says: QClipboard: Timed out while sending data The Qt source code says: // 5s timeout on clipboard operations qclipboard_x11.cpp:static int clipboard_timeout = 5000; So Qt has a hard coded 5s timeout. If the transaction is not finished in that time, it is aborted. QClipboard uses the eventloop to restart this timer. Kate Parts code looks like this: void KateView::copy() const { QString text = selectionText(); // [...] QApplication::clipboard()->setText(text); } So Kate simply sets the text and can do nothing about it... Reporting upstream: http://bugreports.qt.nokia.com/browse/QTBUG-11085 |