New issue
Advanced search Search tips

Issue 621394 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

In stable Builds 50.x+: Devanagari halant duplicates in input boxes

Reported by biocr...@gmail.com, Jun 20 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

Example URL:
http://google.com

Steps to reproduce the problem:
1. Open any page with an input box (for example Google Search)
2. Type halant ( ्)

What is the expected behavior?
Halant ( ्) is used to make ligatures in Devanagari or to cancel vowels. For example, typing क + ् should give me क् but instead I get क्् for some reason.

This only happens in Google Chrome, and it also happens with other Brahmi based scripts like Gujarati. It mainly happens in form input boxes on pages (and usually on textarea boxes but not always), however for the strangest reason it does not happen in the address bar in a Chrome window.  Can someone please explain to me what is going on?

What went wrong?
The halant character duplicates: ् renders ््  and ligatures do not form correctly (क्र renders क््र).

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes It worked in all stable builds prior to 50.x. I tried out older stable builds and this appeared only in the 50.x release from April 13th.

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.103  Channel: stable
OS Version: OS X 10.11.5
Flash Version: Shockwave Flash 22.0 r0

 It hasn't been fixed in 51.x releases. This also occurs in other Brahmi based systems with halant such as Gujarati script, but not in Gurumukhi script.
 
Components: -Blink Blink>Editing

Comment 2 by yosin@chromium.org, Jun 22 2016

Cc: drott@chromium.org
Labels: -OS-Mac OS-All
Status: Available (was: Unconfirmed)

Comment 3 by drott@chromium.org, Jun 22 2016

Cc: kojii@chromium.org e...@chromium.org
Components: Blink>Fonts
It could be an issue with different fallback font choices for the halant and the base character, which then won't form the combined glyph. As a workaround which may help temporarily, try specifying a font that has coverage for both.

I am suspecting it's duplicate of 591346 but that needs a bit more investigation.

Comment 4 by biocr...@gmail.com, Jun 30 2016

All fonts which have support for Halant have support for the base characters in Devanagari (they're part of the same writing system and one would be useless without the other). Changing the fallback font had no effect.

Maybe one thing that I should make clear is that this isn't a display issue but rather an input issue. Better said, I can copy and paste a ligature including halant into an input box or text area (for example क्र) and it displays just fine. The problem is trying to input the same ligature into an input box or textarea on a webpage. Typing ् should give me ् but rather it gives me that character duplicated: ्् and as such, while typing क + ् + र should give me क्र what it's really giving me is क््र.

Comment 5 by kojii@chromium.org, Jul 1 2016

Cc: yosin@chromium.org
Components: -Blink>Fonts Blink>Input
Thank you for the comment. If paste works good while typing duplicates characters, as you said, it looks like it's editing or input issue.

I suspect very few of us know how to type those characters from keyboard, could you mind to explain how to do it?

Comment 6 by biocr...@gmail.com, Jul 1 2016

I'm not sure how many different Devanagari keyboards exist (at least two), but for the one which I use which is the Devanagari-QWERTY keyboard, the halant ( ्) is on the QWERTY keyboard's "f" key.

The क्र ligature represents "kra" and so to type it, one would type क (k-key) then halant (f-key) and lastly र (r-key).

To access the Devanagari-QWERTY keyboard on Mac OSX: System Preferences -> Keyboard -> Input Sources -> + -> Hindi -> Devanagari-QWERTY.
Components: -Blink>Input UI>Input>Text>IME

Comment 8 by yosin@chromium.org, Oct 5 2016

Components: Blink>Editing>IME

Comment 9 by yosin@chromium.org, Oct 5 2016

Components: -UI>Input>Text>IME
Labels: Pri-3
This issue still appears in version 68.x.

Comment(6) by original reporter has an error. The halant ( ् ) character is typed by d-key. The comment says f-key.
Labels: Hotlist-ConOps
Additional information: I am attaching two videos. One showing the behaviour of 'Halant' character on macos (not correct). Second video is behaviour on ios (correct). The word I am typing is प्राप्त. Sequence of keys pressed are प ् र ा प ् त.
chromium-hindi-halant-macos.mov
3.6 MB View Download
chromium-hindi-halant-ios.mp4
640 KB View Download

Sign in to add a comment