Description of problem:
There is no option in gtk text area to insert unicode special characters like
zwj, zwnj and zws in fedora's version of gtk. It is available in other
distribution like Debian and Ubuntu and is used heavily. I have recently started
using F8 and this missing feature is becoming painful, now I have to open
character map and search for this character and include it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open gedit
2. right click
3. look for insert unicode special characters
no such option
option to insert unicode special characters
This is missing in all other applications using gtk. This option is available in
Debian. It is very much needed for typing some Malayalam words which use zwnj
and the current keyboard layout does not include it (it is expected to come in a
future xkb version).
This bug was assigned to the wrong component, reassigning to gtk2 which is where
gtktextarea I believe comes from.
gconftool-2 --set --type=bool /desktop/gnome/interface/show_unicode_menu true
Please let me know if this is what you are looking for.
Thanks a lot. This is exactly what I was looking for. Can you enable it by
default if the user choses Malayalam locale? Or should installer be handling this?
I think it is not only required for Malayalam Locale. There are many other
languages which require this option. My suggestion is to add it to the menu by
it is possible to define locale-dependent defaults in gconf, but I'd have a hard
time to come up with a reasonable list of locales where this should be turned on.
I'd rather see the relevant input methods improved.
Btw., the default GTK+ input method also supports entering any unicode character
by entering C-S-u-hex. E.g. C-S-u200c will enter ZWNJ.
How will I enter that? Good friend google didn't turn up any useful results.
First of all, this is a feature of GTK's default input method. If it works or
not with the input method you are using depends on
- whether your input method falls back to the default input method
- whether it does so correctly (there have been errors in this area in the past)
Assuming, it works, or you are using the default input method, here is how it works:
Press Control-Shift-u (you should see an underlined u)
Now you can either let go of all keys, type the hexadecimal Unicode number of
the character you want (e.g. 200c for ZWNJ) and complete the sequence by Enter.
Alternatively, you can hold Control and Shift, type the code, and complete the
sequence by releasing Control and Shift.
(In reply to comment #5)
> I'd rather see the relevant input methods improved.
I tend to agree - do you have some examples of cases where
the zero-width characters are explicitly needed? If the
input methods worked well would they still be necessary?
Thanks for explaining it. It worked in Firefox 3 b3pre, I guess it will work on
others as well.
Here is one example
സോഫ്റ്റ്വെയര് - with ZWNJ
സോഫ്റ്റ്വെയര് - without ZWNJ
("software" written in Malayalam). We fixed the input method and it is not
necessary to have the gtk option for Malayalam. But it might still be useful for
others. For me the bug is fixed.
Thanks for the explanations.
Were some m17n input maps updated for this?
(In reply to comment #10)
> Thanks for the explanations.
> Were some m17n input maps updated for this?
Comment #5 is working fine for users those who want to input unicode special
characters. Adding keys for such unicode special characters depends on
availability of empty slots for keys in respective languages keymaps.
I will prefer to have such requests/bugs filed by respective language
community to include unicode special characters for respective language keymaps.
This will make me to find which key community prefers for which unicode special
character. Afterall this depends on users preferences for keys mappings in
keymaps after following/adding keymapping based on standard keyboard layout
which I think we already added in keymaps.
Closing this as NOTABUG.