Feed Advanced Search

Mar 16 2020

canthar added a comment to D28051: Setup paste action text before main loop starts.

It just looks simple. I still don't know exact reason why that bug exists. I haven't managed to write a shorter example that reproduce that behavior.
Resolution came to my mind after reading QClipboard docs, to be precise this fragment:

it is recommended that the contents of the clipboard are stored or retrieved in direct response to user-input events, e.g. mouse button or key presses and releases. You should not store or retrieve the clipboard contents in response to timer or non-user-input events.

Obviously, KDE Connect doesn't follow that recommendation and I think that running KIO::pasteActionText after main loop start doesn't follow it too.

Mar 16 2020, 5:27 PM · Gwenview

Mar 15 2020

canthar requested review of D28051: Setup paste action text before main loop starts.
Mar 15 2020, 12:36 AM · Gwenview