Summary: | Copy&paste stops working after some longer uptime | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | nfxjfg |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | christoph, ilisepe1 |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
nfxjfg
2019-05-11 13:48:25 UTC
Hmm, it is bad that this happens, thought I am not sure how we shall debug this. We only call QApplication::clipboard()->setText(view()->selectionText(), QClipboard::Selection); for selection and QApplication::clipboard()->setText(text, QClipboard::Clipboard); for clipboard. Without any large code around that e.g. would be "time" dependent or "count" stuff. Could be related to 32 bit overflow of X11 time handling. I think there is an open Qt bug about it. Correction: a fixed Qt bug. https://bugreports.qt.io/browse/QTBUG-65145 Please test Qt 5.12.3. Looks like a good bet that it's exactly this bug. I don't normally run other Qt applications for so long, so I noticed it only on Kate. Unfortunately, my distro (Debian unstable) is still on an old Qt version. I'll report back as soon as they update, and 50 days have passed. I don't mind if someone closes this bug before that. I will close this as fixed upstream. If you encounter the issue again after you got an up-to-date version of Qt, feel free to reopen it. A bit more information: This problem is not only related with Kate, but basically with any other program. I can confirm that Konsole also has the same problem. But let me give describe the problem a bit more: If you have a konsole running for a "long" period of time, for about 100 days, then copy/paste stops working, inside the konsole's tab AND to any konsole tab. If you start a new konsole window with keyboard shortcut (ctrl+shift+n), the problem is NOT resolved in this new konsole window. However if you start a new konsole (ie by clicking the konsole icon), copy/paste works in this new konsole window. Above it tested on kubuntu 18.10, but same problem noticed for previous versions too. Last known (to me) kubuntu version that this problem did NOT happen was 14.04. |