-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDL_GetClipboardData
can return stale data
#9587
Milestone
Comments
This is more or less a duplicate of #8338 . |
Not really a duplicate, yours only involves externally setting the clipboard, while this one mixes internal and external. |
slouken
added a commit
to slouken/SDL
that referenced
this issue
Dec 31, 2024
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
slouken
added a commit
to slouken/SDL
that referenced
this issue
Jan 1, 2025
Fixed! |
thatcosmonaut
pushed a commit
to thatcosmonaut/SDL
that referenced
this issue
Jan 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Repro steps (for Windows)
SDL_SetClipboardData
with mime typeimage/png
(it doesn't reproduce withimage/bmp
)SDL_SetClipboardText
doesn't reproduce itSDL_HasClipboardData
withimage/png
→ notice that it returnsSDL_TRUE
SDL_GetClipboardData
→ notice that you get your original data back, even though logically, the clipboard should only have the other application's dataThe text was updated successfully, but these errors were encountered: