[Uim-bugs] [Bug 47292] New: m17n module defaults to off mode upon switch with no key shortcut to enable it
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 13 08:42:53 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=47292
Bug #: 47292
Summary: m17n module defaults to off mode upon switch with no
key shortcut to enable it
Classification: Unclassified
Product: UIM
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: IM: Other IMs
AssignedTo: uim-bugs at freedesktop.org
ReportedBy: zorael at gmail.com
Created attachment 58400
--> https://bugs.freedesktop.org/attachment.cgi?id=58400
patch showing a simple one line change to make m17n methods default to "on"
upon being switched to
Currently the m17n module doesn't have any configurable options, with no
section in the preferences tools. In a sense this has its roots in bug 686.
m17n itself seems to only offer a limited degree of customization via its
m17n-im-config tool, so at first glance there isn't much for uim-m17n to
configure -- but the basic key shortcut to enable the mode is missing.
Upon changing to an m17n input mode via the global 'Input method switching'
shortcut, or by selecting it on one of the toolbars, it will start in its
off/direct state. Since an 'enable' key shortcut isn't available, the only
remaining way to activate it is to have the toolbar running and use its
drop-down menu, everytime.
Please see this screencast attached to bug 25695. It illustrates how you must
use the toolbar every time you switch to m17n, to set it "on".
>https://bugs.freedesktop.org/attachment.cgi?id=58320
I suggest to change uim-m17n to default to enabled; then you could switch to
the input method with the global input method switching shortcut and use it
right away, instead of having to use the mouse. This would only be a a one line
change, in scm/m17nlib.scm:47. Please see the attached patch.
The "real" solution would be to improve uim-m17n overall. Add an m17n section
to the preferences and make the default on/off setting configurable there, and
while at it, also add a key shortcut to toggle it. Sadly I don't know how to
follow code execution to the extent where I can see what path the code takes
when you use a key shortcut, such as when changing input mode in Anthy, so
without considerable guidance I can't help implement such for m17n.
Furthermore, I don't know Scheme.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the uim-bugs
mailing list