Opened 8 years ago

Last modified 8 years ago

#14733 pending Bug

setting Italic fails for Japanese character, in Japanese locale

Reported by: Tim Liu Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.11
Keywords: IBM IE11 Cc: satya_minnekanti@…

Description

Steps to reproduce

  1. change all locale to Japanese
  2. open the demo site (http://ckeditor.com/demo) and type some Japanese character
  3. select those Japanese character and set Italic

Expected result

the selected text will set to Italic

Actual result

the selected text will still keep non-Italic

Other details (browser, OS, CKEditor version, installed plugins)

Win10+IE11/Edge

OS locale set to Japanese Browser locale set to Japanese (try to make sure it's 100% Japanese... it's the key to reproduce. i have a Win10 VM that cannot reproduce this and i suspect it's because it's not set Japanese completely)

Attachments (10)

Screenshot from 2016-07-08 11:28:28.png (85.3 KB) - added by Tim Liu 8 years ago.
japanese_italic.webm (1.9 MB) - added by Tim Liu 8 years ago.
Edge.png (79.6 KB) - added by kkrzton 8 years ago.
Edge_source.png (78.9 KB) - added by kkrzton 8 years ago.
Edge_version.png (102.8 KB) - added by kkrzton 8 years ago.
IE11.png (72.6 KB) - added by kkrzton 8 years ago.
IE11_source.png (71.1 KB) - added by kkrzton 8 years ago.
IE11_version.png (84.0 KB) - added by kkrzton 8 years ago.
IE11_version.2.png (122.4 KB) - added by Tim Liu 8 years ago.
Edge_version.2.png (94.9 KB) - added by Tim Liu 8 years ago.

Change History (17)

Changed 8 years ago by Tim Liu

comment:1 Changed 8 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

comment:2 Changed 8 years ago by Jakub Ś

Keywords: Win10 edge Japanese removed
Status: newpending

I will need some details before confirming this ticket.

  1. I have set JP Hiragana for my Keyboard and I have set JP language as a main one in IE.
  2. I have typed saigen, pressed space, text got transformed (was auto selected) and I have pressed italic right away.
  3. Result was that text wasn't changed to italic. The em was inserted after the text. If I have selected the text manually and then pressed italic, it worked.

@timliu is this what you do to get this bug or your steps are different? If they are, please describe them in detail. Please note that it may be important how you select the text or even what you type so the more details you provide the better.

How are you setting locale in IE? Is it through Tools-Internet Options-Languages?

Changed 8 years ago by Tim Liu

Attachment: japanese_italic.webm added

comment:3 Changed 8 years ago by Tim Liu

you may check the above attached WebM video for detail (you can play it with any browser that supports HTML5 video. FYI: http://www.webmfiles.org/how-to-play-webm-files/)

as you can see:

  • this can be reproduced in both Edge and IE11
  • it shows the OS locale settings
  • this time i try nippon (日本) for the Japanese word. you can see i set italic after the word is typed.
  • clicking CKEditor "Source" button and it shows that the word 日本 is enclosed in <em>

hope this helps for your investigation.

comment:4 in reply to:  2 Changed 8 years ago by kkrzton

Hello @timliu,

thanks for reporting this issue, however, I am unable to reproduce it following the steps that are shown in the video you uploaded. I suspect we may be using a different version of Edge/IE11. I am using virtual machine with Win10, Edge 25.10586.0.0 (EdgeHTML 13.10586) and IE11 11.162.10586.0. On what version did you test it?

I can only confirm the result by @j.swiderski:

  1. I have set JP Hiragana for my Keyboard and I have set JP language as a main one in IE.
  2. I have typed saigen, pressed space, text got transformed (was auto selected) and I have pressed italic right away.
  3. Result was that text wasn't changed to italic. The em was inserted after the text. If I have selected the text manually and then pressed italic, it worked.

This scenario is still valid.

I also attached some screenshots.

Changed 8 years ago by kkrzton

Attachment: Edge.png added

Changed 8 years ago by kkrzton

Attachment: Edge_source.png added

Changed 8 years ago by kkrzton

Attachment: Edge_version.png added

Changed 8 years ago by kkrzton

Attachment: IE11.png added

Changed 8 years ago by kkrzton

Attachment: IE11_source.png added

Changed 8 years ago by kkrzton

Attachment: IE11_version.png added

comment:5 Changed 8 years ago by Tim Liu

IE11 version: 11.420.10586.0

Edge version: 25.10586.0.0 (EdgeHTML 13.10586)

Last edited 8 years ago by Tim Liu (previous) (diff)

Changed 8 years ago by Tim Liu

Attachment: IE11_version.2.png added

Changed 8 years ago by Tim Liu

Attachment: Edge_version.2.png added

comment:6 Changed 8 years ago by kkrzton

Thanks for the answer @timliu, I will have to recheck what you described earlier:

OS locale set to Japanese Browser locale set to Japanese (try to make sure it's 100% Japanese... it's the key to reproduce. i have a Win10 VM that cannot reproduce this and i suspect it's because it's not set Japanese completely)

Maybe here is the issue.

comment:7 Changed 8 years ago by Tim Liu

thanks for your effort and i totally understand your pain. i dont have a key factor to make it reproduce, but i do know it's possible it can only be reproduced on some machines, and i think the Japanese locale for the browser and OS do matter.

let me know if you want more information from me.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy