#2747 HIGH Trial-3: Copying from Browse to Write, only pastes the text correctly if you stick to the same method when copying and pasting (dnd or copy/paste buttons)
Zarro Boogs per Child
bugtracker at laptop.org
Sat Aug 18 13:34:59 EDT 2007
#2747: Copying from Browse to Write, only pastes the text correctly if you stick
to the same method when copying and pasting (dnd or copy/paste buttons)
---------------------------------------+------------------------------------
Reporter: HoboPrimate | Owner: uwog
Type: defect | Status: new
Priority: high | Milestone: Trial-3
Component: write-activity (abiword) | Version: Git as of bug date
Resolution: | Keywords:
Verified: 0 |
---------------------------------------+------------------------------------
Changes (by tomeu):
* owner: tomeu => uwog
* component: web browser => write-activity (abiword)
Comment:
Replying to [comment:1 HoboPrimate]:
> So I think I've narrowed this bug to be an interaction between Browse
and Write.[[BR]]
> If you copy a piece of text from a webpage in Browse with Ctrl+C or the
Copy Button, the text will be pasted fine if you use Ctrl+V or Paste
Button, but not if you drag from the clipboard frame.
Abiword fails to accept the drop. Logs:
{{{
DEBUG: DOM: dnd drop event
DEBUG: RealDrag and drop event: target in selection = XdndSelection
DEBUG: DOM: dnd_drop_event being handled
DEBUG: JK: target in selection = text/html
DEBUG: JK: Document target as data buffer
DEBUG: TableHelperStack created document = 0
DEBUG: !!!!!!!!!!----------------- Created string 9e6a22b8-4daf-11dc-9c4a-
b9fd8cc63538
DEBUG: !!!!!!!!!!----------------- Orig string 9e6a22b8-4daf-11dc-9c4a-
b9fd8cc63538
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: pd_Document::setAttrProp: setting dom-dir to ltr
DEBUG: TableHelperStack created document = 0
DEBUG: startElement: html, parseState: 0, listType: 0
DEBUG: startElement: body, parseState: 6, listType: 0
DEBUG: startElement: p, parseState: 1, listType: 0
DEBUG: XHTML Import - appendStruxStrux type 0 document 8d079d8
DEBUG: CSS->Props (utf8val): []
DEBUG: XHTML Import - appendStruxStrux type 1 document 8d079d8
DEBUG: CSS->Props (utf8val): []
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: endElement: p, parseState: 3, listType: 0
DEBUG: endElement: body, parseState: 2, listType: 0
DEBUG: CSS->Props (utf8val): []
DEBUG: XHTML Import - appendStruxStrux type 1 document 8d079d8
DEBUG: CSS->Props (utf8val): []
DEBUG: CSS->Props (utf8val): []
DEBUG: XHTML Import - appendStruxStrux type 1 document 8d079d8
DEBUG: CSS->Props (utf8val): []
DEBUG: endElement: html, parseState: 0, listType: 0
Use of deprecated SAXv1 function getColumnNumber
DEBUG: Error parsing '' (Line: 1, Column: 87)
DEBUG: Error Pasting HTML
DEBUG: Data is ��< Length of buffer is 86
}}}
> And vice-versa, if you copy a piece of text from a webpage via dragging,
is pasted nicely in Write if dragged, but not using Ctrl+V or Paste
Button.
Similar error in Write:
{{{
DEBUG: !!!!!!!!!!Created CR ID number 17 Doc UUID d6667d3c-4db0-11dc-
8b68-e5d0af5656d4
DEBUG: TableHelperStack created document = 0
DEBUG: !!!!!!!!!!----------------- Created string e6add28a-4db0-11dc-
8b68-e5d0af5656d4
DEBUG: !!!!!!!!!!----------------- Orig string e6add28a-4db0-11dc-
8b68-e5d0af5656d4
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: PD_Document::importStyles -- file is not plain file
DEBUG: pd_Document::setAttrProp: setting dom-dir to ltr
DEBUG: TableHelperStack created document = 0
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: startElement: html, parseState: 0, listType: 0
DEBUG: startElement: body, parseState: 6, listType: 0
DEBUG: startElement: p, parseState: 1, listType: 0
DEBUG: XHTML Import - appendStruxStrux type 0 document 8d99f08
DEBUG: CSS->Props (utf8val): []
DEBUG: XHTML Import - appendStruxStrux type 1 document 8d99f08
DEBUG: CSS->Props (utf8val): []
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: libxml2/html: error: htmlParseEntityRef: no name
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: libxml2/html: error: htmlParseStartTag: invalid element name
DEBUG: endElement: p, parseState: 3, listType: 0
DEBUG: endElement: body, parseState: 2, listType: 0
DEBUG: CSS->Props (utf8val): []
DEBUG: XHTML Import - appendStruxStrux type 1 document 8d99f08
DEBUG: CSS->Props (utf8val): []
DEBUG: CSS->Props (utf8val): []
DEBUG: XHTML Import - appendStruxStrux type 1 document 8d99f08
DEBUG: CSS->Props (utf8val): []
DEBUG: endElement: html, parseState: 0, listType: 0
DEBUG: Error parsing '' (Line: 1, Column: 95)
DEBUG: Error Pasting HTML
DEBUG: Data is < Length of buffer is 94
DEBUG: layout view mouse pos x 2588 pos y 665
DEBUG: !!!!!!!!!!Created CR ID number 18 Doc UUID d6667d3c-4db0-11dc-
8b68-e5d0af5656d4
}}}
--
Ticket URL: <https://dev.laptop.org/ticket/2747#comment:5>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list