[Webkit-unassigned] [Bug 26791] New: [Gtk] Paste of rich text from firefox results garbled markup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 29 00:57:44 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26791

           Summary: [Gtk] Paste of rich text from firefox results garbled
                    markup
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jhuangjiahua at gmail.com


WebkitGtk HTML Editing not accustomed to UTF-16 clipboard.

When paste rich text to editablearea,
(like gmail Rich formatting editor, or any application use WebkitGtk as html
editor)
WebkitGtk assumed that SelectionData from gtk clipboard is always UTF-8
encoding.
But ,in fact,
some applications like FireFox put SelectionData for clipboard use UTF-16
encoding, 
so rich text markup garbled.


To reproduce:

0. Launch FireFox to browse http://www.apple.com

1. Copy that text or picture from FireFox page

2. Launch a WebkitGtk browser (Midori or GtkLauncher) and open
http://www.mozilla.org/editor/midasdemo/ ,
it can see a rich formatting editor

3. Paste in the rich formatting editor

Results: pasted contents of editor is garbled markup


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list