[Mono-bugs] [Bug 511849] Retrieving DataObjects placed onto Clipboard doesn't preserve custom formats, when Text/String format is also placed on Clipboard .NET difference

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 12 17:20:19 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=511849

User tom_hindle at sil.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=511849#c1





--- Comment #1 from tom hindle <tom_hindle at sil.org>  2009-06-12 15:20:18 MDT ---
I believe this issue is caused by login in UpdateMessageQueue (in
XplatUIX11.cs)
Not adqualty handling multiple different data types on the clipboard.

When trying to retrieve a custom format, when Text is also on clipboard, 

about line 1775:
} else if (Clipboard.IsSourceText) {
.
.
.
} else if (Clipboard.GetSource (format_atom.ToInt32 ()) != null)
{
.
.
.

}

IsSourceText returns true and the next 'else if' isn't evaluated, meaning the
custom format every work.

I will submit a patch for this after more testing.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list