We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2926 - clipboard freeze and failure
Summary: clipboard freeze and failure
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.4
Depends on:
Blocks:
 
Reported: 2015-03-28 18:44 UTC by dkived
Modified: 2015-06-04 19:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dkived 2015-03-28 18:44:43 UTC
I'm having issues with the clipboard handling on Linux. Pasting into the SDL2 application doesn't have any issues. Copying from the SDL2 application and pasting into another usually works, but has issues with some applications. For example, when I copy from an SDL2 application and try to paste into Chrome, the Chrome tab freezes until I close the SDL2 application. When I try to paste into a Wine application, nothing is pasted. There may be other places this issue presents itself, but these are the ones I have noticed.

This does not happen when using other clipboard implementations, such as the gtk3 clipboard, xsel, or the pygame (SDL1) clipboard.

I originally discovered this issue when using Kivy (http://kivy.org, https://github.com/kivy/kivy) with SDL2 clipboard, but I have also duplicated it using code from an SDL2 clipboard tutorial (http://lazyfoo.net/tutorials/SDL/32_text_input_and_clipboard_handling/index.php).
Comment 1 Ryan C. Gordon 2015-05-29 17:49:14 UTC
I'm going to poke at this a bit and see what is going wrong.

--ryan.
Comment 2 Ryan C. Gordon 2015-06-04 19:42:48 UTC
This is now fixed in https://hg.libsdl.org/SDL/rev/92472fcca43f

--ryan.