Reusing an nsITransferable to change clipboard data behaves differently on Windows 11
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Tracking
()
People
(Reporter: darktrojan, Unassigned)
Details
In Thunderbird land, we have a test that puts data on the clipboard using nsISupportsString and nsITransferable. Later, the same objects are used to put different data on the clipboard. This works on Linux, Mac, and Windows 10, but not on Windows 11, where the original data remains on the clipboard.
I don't have a preference whether this should work or should not work, but the same thing should happen on all platforms.
FWIW I'm going to change the test so comm-central can be green again.
Comment 1•2 years ago
•
|
||
We do ignore the set request if the a same nsITransferable is passed, https://searchfox.org/mozilla-central/rev/3c3ad00ab7f587e2c75e8cebb89badc4e946b10e/widget/nsBaseClipboard.cpp#39-42, but it should behave the same on Windows 10 and Windows 11, not sure why we get different results.
Updated•2 years ago
|
Description
•