Closed Bug 772073 Opened 12 years ago Closed 11 years ago

Can't input Chinese in scratchpad

Categories

(DevTools :: Source Editor, defect)

15 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dindog, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [orion][fixed upstream])

Attachments

(1 file)

Very annoying, input Chinese characters in scratchpad, these characters show at normal, until it meet a space or run the code, just vanish. I try Japanese, it has the same issue. first went bad nightly was 20120518, 2012/05/17 was fine. can't find obvious suspect according to this: http://forums.mozillazine.org/viewtopic.php?f=23&t=2474699 CC: Alice, you may find which part go wrong, or if this bug is a dupe, you'll know. :)
Attached image words were eatten (deleted) —
upload a gif, showing what this bug mean in case the Dev. don't have Chinese IME.
Regression wndow(m-c) Good: http://hg.mozilla.org/mozilla-central/rev/f2b2b99108a2 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120517030029 Bad; http://hg.mozilla.org/mozilla-central/rev/895e12563245 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120517110214 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f2b2b99108a2&tochange=895e12563245 Regression window(m-i) Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/2c3647738e81 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120516230826 Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/12f13acb5ea8 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 ID:20120517005526 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2c3647738e81&tochange=12f13acb5ea8
Thanks for your report! Also thank you Alice for the regression windows. This looks like regression caused by Gecko changes to how DOM keyboard events work. Orion needs to be updated accordingly. Will make an upstream bug report about this.
Whiteboard: [sourceeditor][orion]
Bug 630810 and other related bugs changed the computation of keycode for printable keys. So, it shouldn't affect to keypress events, though...
Moving to Source Editor component. Filter on CHELICERAE.
Component: Developer Tools: Scratchpad → Developer Tools: Source Editor
Whiteboard: [sourceeditor][orion] → [orion][fixed upstream]
Can someone verify if this is still an issue with CodeMirror? I know it's been a long time, sorry!
Flags: needinfo?(dindog)
Status: NEW → UNCONFIRMED
Ever confirmed: false
I'm a chinese,the bug still exists; repro steps: 1 open "about:config"; 2 filter "extensions.firebug.enableOrion"; 3 set "extensions.firebug.enableOrion" = "true",input some chinese; then press "ENTER",these characters will disappear;but set "extensions.firebug.enableOrion" = "false",they will not go away.
Step 3rd is entered on "firebug's console",and firebug says is firefox's bug;
What about Scratchpad? Could you please test in there? We're removing Orion from the codebase and all our built-in tools are using new CodeMirror-based editor. This component is for that editor. To open Scratchpad you can press Shift-F4. Make sure you're running Aurora or Nightly.
I can input characters via IME on Scratchpad of 2013-11-07 build on Mac. However, the clauses are not painted separately (e.g., using underlines), therefore, it's difficult to use Japanese IME on Scratchpad.
Ah, but looks like that it doesn't work with Chinese IME on Win8.1. Some uncommitted characters are inputted directly, but I'm not familiar with Chinese IME's behavior.
nightly 28.0a1(2013-11-07),when i download and install it;by test, it 's work fine now. not matter what setting for "extensions.firebug.enableOrion"; but "firebug console" is still bad when "orion == true": eatting my inputed chinese char;
Closing this bug because Firebug is moving away to using its own bundle of CodeMirror and we already have a separate IME bugs on file: bug 920208 and bug 920192.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(dindog)
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: