Comments (6)
Thanks for the report. Reproduced on Ubuntu Lucid x86 (VMWare Player)
Actually here's a simpler repo step.
1. Type with SCIM-mozc
2. Focus out
3. kill mozc_server (execute killall mozc_server
4. Focus in and restart editing.
Let me explain the background of this bug.
Mozc client (e.g. SCIM-mozc, Mozc clients on TSF/IMKit) first creates a session
(context) by calling CreateSession command. When a client no longer requires
the session, the client has to call DeleteSession. However, it is not always
guaranteed that all clients call DeleteSession method. For instance,
DeleteSession might not be called when applications crash unexceptionally. When
DeleteSession is not called, Zombie sessions remain in mozc_server heap memory,
which causes a kind of memory leak.
To prevent such case, mozc server internally launches a watch dog thread
(session/session_watch_dog.cc) and kills sessions that are not accessed for a
fixed timeout (default timeout is 1 hour). Mozc client library
(client/session.cc) must be implemented so that the it works as expected even
when the session is removed.
We have been working on allowing user to customize IME on/off key on Windows.
This new feature causes a regression bug in the session management.
Similar issue is discovered in Google Japanese Input on Windows. IME/On Off
state is reset when session is killed.
http://www.google.co.jp/support/forum/p/ime/thread?tid=4e3f9d3a29e401d0&hl=ja
Original comment by [email protected]
on 26 Jun 2010 at 2:51
from mozc.
I got it. Thanks for your detailed description.
I think this bug is more terrible than the issue occurring on Windows because
there is no way to know that the session has been deleted until the incorrect
text is input. Please fix it as soon as possible.
Original comment by [email protected]
on 26 Jun 2010 at 5:25
from mozc.
Original comment by [email protected]
on 28 Jun 2010 at 1:20
- Changed state: Started
from mozc.
@irieshinsuke
r31 has just been released. In the revision, the issue 17 should be fixed as
well as other scim-mozc issues like state inconsistency on focus_out/reset
events, Shift modifier problem on Kana input.
Could you check if they're fixed when you have time?
Original comment by [email protected]
on 1 Jul 2010 at 2:30
from mozc.
I tested r31 just now. The issues I pointed out about scim-mozc seem to be
resolved. Thanks!
Original comment by [email protected]
on 1 Jul 2010 at 8:17
from mozc.
Thanks for the quick confirmation! Closing the bug.
Original comment by [email protected]
on 1 Jul 2010 at 8:33
- Changed state: Fixed
from mozc.
Related Issues (20)
- Mozc does not seem to work under VanillaOS HOT 2
- Typing issue: コロンビア HOT 1
- Migration of Bazel dependency system to Bzlmod.
- Typing issue: 旧制高校
- Typing issue: 文学士
- Typing issue: 接續
- Typing issue: 巻次
- Typing issue: 搬器
- Typing issue: 原始共産主義
- Typing issue: 孔版印刷 HOT 1
- Typing issue: 写真植字
- Typing issue: 鶏卵紙 HOT 2
- Typing issue: 魹ヶ崎
- Typing issue: 桾(単漢字変換)
- Typing issue: 掖谷/棭谷
- Typing issue: 掖/棭(単漢字変換)
- Typing issue: 敏馬, 敏馬神社
- Typing issue: 結了
- Typing issue: 二簡字
- Mozc incorrectly treats right-click combined with certain keys as a dead-key modifier under Wine HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mozc.