Open Susko3 opened 6 months ago
This is more or less a duplicate of https://github.com/libsdl-org/SDL/issues/8338 . Nice to have more eyes on this :)
Not really a duplicate, yours only involves externally setting the clipboard, while this one mixes internal and external.
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 data