Bug 431982 - drag and drop text from firefox to openoffice.org not preceeded by BOM
drag and drop text from firefox to openoffice.org not preceeded by BOM
Product: Fedora
Classification: Fedora
Component: firefox (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Gecko Maintainer
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-02-08 03:29 EST by sangu
Modified: 2018-04-11 11:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-13 16:40:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
drag and drop VS copy and paste (149.17 KB, image/png)
2008-02-08 04:51 EST, sangu
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Mozilla Foundation 123389 None None None Never
Mozilla Foundation 205491 None None None Never

  None (edit)
Description sangu 2008-02-08 03:29:32 EST
Description of problem:
drag cjk text in firefox, drop cjk text into openoffice => cjk text is broken in

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. open yahoo.co.jp on firefox.
2. drag some text in firefox.
3. drop the text into openoffice.org
Actual results:

Expected results:

Additional info:
Comment 1 Caolan McNamara 2008-02-08 04:24:56 EST
Do you mean that you're getting the source html as a result ? That's what I get,
and I get this too for non-CJK text, e.g. even if I select the above comment and
drag it into writer I get the <pre> tag and so on
Comment 2 sangu 2008-02-08 04:51:24 EST
Created attachment 294331 [details]
drag and drop VS copy and paste 

(In reply to comment #1)
> Do you mean that you're getting the source html as a result ? 
yes, and cjk text is broken between tag and tag.
Comment 3 Caolan McNamara 2008-02-13 13:04:22 EST
So checking firefox- vs
firefox-3.0-0.beta2.18.nightly20080210.fc9.i386 with the same OOo and I see that
it works with the old firefox and not the new.

In either case cut and paste works, it is just in the case of drag and drop that
the difference appears. Looking at the data transferred I can see that for drag
and drop the text *used* to be prefixed with the UCS BOMS for little endian
16byte unicode in the drag and drop case, but no longer does while it continues
to prefix with the BOM for cut and paste.
Comment 4 Matěj Cepl 2008-02-13 16:40:53 EST
We found that this bug has been already registered in the upstream database
(https://bugzilla.mozilla.org/show_bug.cgi?id=205491) and believe that it is
more appropriate to let it be resolved upstream.

Red Hat will continue to track the issue in the centralized upstream bug
tracker, and will review any bug fixes that become available for consideration
in future updates.

Thank you for the bug report.

Note You need to log in before you can comment on or make changes to this bug.