Closed Bug 321607 Opened 19 years ago Closed 4 years ago

copy and paste cuts off text (Tamil/Hindi scripts)

Categories

(Core :: Layout: Text and Fonts, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gangleri, Assigned: prabhat.hegde)

References

()

Details

(Keywords: intl)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Hallo!

Please compare http://pastebin.com/480160 and http://pastebin.com/480163 .
- http://pastebin.com/480160 contains the content of the clipboard when you copy the Tamil characters from line 2
- http://pastebin.com/480163 contains also the content of the clipboard when you copy the Tamil characters from line 3 and deleted "a" and "b"

As you can see the *last* character ் (்) is not preserved.

This might be related or a duplicate of
https://bugzilla.mozilla.org/show_bug.cgi?id=237929 
Bug 237929 [Indic] Characters in textfield and menu controls are cut off

best regards reinhardt [[user:gangleri]]

Reproducible: Always

Steps to Reproduce:
see above



editing in a editbox / textarea with Firefox was allways "complicated"
This screen shot probably does not belong here.
I could not identify the bug where it belongs.

The forth asterisk is not displayed properly. What you see is either another character or another font.
the summary should reflect that this report is relating to Tamil (and possible Hindi etc.) scripts
(In reply to comment #0)
> Please compare http://pastebin.com/480160 and http://pastebin.com/480163 .

http://pastebin.com/480160
the content disapeared; now at
http://pastebin.com/482849
முதற் பக்கம
or escaped:
முதற் பக்கம

http://pastebin.com/480163
the content disapeared; now at
http://pastebin.com/482850
முதற் பக்கம்
or escaped:
முதற் பக்கம்

sorry for the inconveniance
Keywords: intl
Summary: copy and past does not preserve original content → copy and paste cuts off text (Tamil/Hindi scripts)
Reinhardt , please set View | Character Encoding to UTF-8 before posting any non-ASCII text here. Besides, I have no idea what to make of your links in comment #3 (there are just bunches of NCRs in both pages). Why don't you attach an html file in UTF-8 with a couple of text lines that leads to a problem in copy'n'paste? 


Assignee: nobody → prabhat.hegde
Component: General → Layout: CTL
Product: Firefox → Core
QA Contact: general → arthit
Version: unspecified → 1.8 Branch
(In reply to comment #4)
> Reinhardt , please set View | Character Encoding to UTF-8 before posting any
> non-ASCII text here.

Thanks Jungshik Shin for the hint! I set View | Character Encoding to UTF-8 .

*note*
If I go to http://ta.wiktionary.org/wiki/talk:Main_Page#bugzilla.mozilla.org and start marking at the first Tamil nink and stop and the end of "visible characters" I can paste here:
முதற் பக்கம
However If I release the mouse far after the last character (about 2 cm in the white space) I can paste here
முதற் பக்கம்
I did not notice this and many users make the same "error". See comment at the url: "... I've seen people missing the last character often while contributing to Tamil wikipedia. ..."

> ... Besides, I have no idea what to make of your links in
> comment #3 (there are just bunches of NCRs in both pages).

I have been told at irc://irc.mozilla.org/BiDi that the content disapeared. This is why I posted the characters again.

> ... Why don't you attach
> an html file in UTF-8 with a couple of text lines that leads to a problem in
> copy'n'paste? 

Thanks for the suggestion adding UTF-8 attachments. I use pastebin.com mainly to trace the content of what I paste. (I made about 5.000 RTL edits and things are getting "better". You need to know lots of "tricks".)

See Bugzilla Bug 321444
Visualization of BiDi control, Unicode whitespace and invalid Unicode characters when pasting text from clipboard into editbox, textarea

best regards reinhardt [[user:gangleri]]
Depends on: 283416
Component: Layout: CTL → Layout: Text
QA Contact: arthit → layout.fonts-and-text
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
I think we fixed that, closing!

I tried the steps in comment 5, as I understood the steps, and the last character of my selection was copied correctly.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: