Ace: [chrome] Hangul has not been entered correctly.

Created on 15 Sep 2016  ยท  17Comments  ยท  Source: ajaxorg/ace

Hangul typing from being updated to chromium 53.0.2785.116 version is abnormal.

Chrome : 53.0.2785.116 (64-bit)
image

Most helpful comment

It seems like to work. I just tested hangul only. In the first line "onCompositionUpdate function", just put "return;" code.
It might have some side effects, but until now there is no side effect.

All 17 comments

typing Chinese too

@x-yao Show them.

Chrome 52 work fine. This bug come when update Chrome 53

2016-09-21 13_49_47

@mrdream24 same problems.
my product is broken. I tested Chrome 54 is abnormal.

What do you think about this problem?

@hangum my product is broken,too.

I can't solve this problem

@mrdream24 my product is Tadpole DB Hub(https://tadpolehub.com/).
you?

@hangum ๆŽ˜้‡‘

@mrdream24 thanks.

github use ace lib. has the same bug.

github

https://c9.io is same bug.

I don't know why but i just commented "onCompositionUpdate function" in ace.js file. It works.

@anhh are you fix the problem?

It seems like to work. I just tested hangul only. In the first line "onCompositionUpdate function", just put "return;" code.
It might have some side effects, but until now there is no side effect.

@anhh ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋ˆ„๊ตฌ์„ธ์š”?

ace.js ํŒŒ์ผ์˜ ๋ถ€๋ถ„์„ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ฒ˜๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค.
var onCompositionUpdate = function() {
// if (!inComposition || !host.onCompositionUpdate || host.$readOnly)
// return;
// var val = text.value.replace(/x01/g, "");
// if (inComposition.lastValue === val) return;
//
// host.onCompositionUpdate(val);
// if (inComposition.lastValue)
// host.undo();
// inComposition.lastValue = val;
// if (inComposition.lastValue) {
// var r = host.selection.getRange();
// host.insert(inComposition.lastValue);
// host.session.markUndoGroup();
// inComposition.range = host.selection.getRange();
// host.selection.setRange(r);
// host.selection.clearSelection();
// }
};

์ฒ˜๋ฆฌ ํ–ˆ์„ ๊ฒฝ์šฐ ๋ฌธ์ œ๋Š”
์ฝค๋งˆ๋ฅผ ์ž…๋ ฅํ•˜๊ณ  ํ•œ๊ธ€์„ ์ž…๋ ฅํ•˜๋‹ค๊ฐ€ ์ง€์šฐ๋ฉด ์ฒ˜์Œ์— ์ž…๋ ฅํ–ˆ๋˜ ์ฝค๋งˆ๊ฐ€ ์‚ญ์ œ๋˜๋Š” ์˜ค๋ฅ˜๊ฐ€ ์žˆ๋„ค์š”.
์˜ˆ๋ฅผ๋“ค์–ด 'ํ•œ๊ธ€ํ…Œ์ŠคํŠธ ๋ผ๊ณ  ์ž…๋ ฅํ•˜๋Š” ์ค‘๊ฐ„์— ๋’ค๋กœ ์‚ญ์ œํ•˜๋ฉด ์ฒ˜์Œ์— ์ž…๋ ฅํ–ˆ๋˜ ์ฝค๋งˆ๊นŒ์ง€ ์‚ญ์ œ ๋˜๋Š” ๋ฌธ์ œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ทธ๋ž˜๋„ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ์ž„์‹œ ํŒจ์น˜๋ผ๋„ ๋‚ด๋ณด๋‚ด์•ผ๊ฒ ๋„ค์š”.
๋ˆ„๊ตฌ์‹ ์ง€ ์•Œ๋ ค์ฃผ์‹œ๋ฉด ์ปคํ”ผ๋‚˜ ๋ฐฅ์ด๋ผ๋„ ์‚ฌ๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

narraressan picture narraressan  ยท  3Comments

aslushnikov picture aslushnikov  ยท  4Comments

ketysek picture ketysek  ยท  3Comments

STRd6 picture STRd6  ยท  4Comments

dimroc picture dimroc  ยท  6Comments