Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
GTK+ on mac has poor keymap support, and not IME support. This means that users cannot enter text with extended and non-Latin character sets, and may have trouble entering English text with non-English keyboards.
This has been a known issue for some time, but I'm creating this bug to track it and enable aggregating duplicate report.
*** Bug 827 has been marked as a duplicate of this bug. ***
*** Bug 148 has been marked as a duplicate of this bug. ***
Since this bug is been used to aggregate all duplicates, it's worth posting here the known workaround.
Go to Settings -> Language & Text -> Input Sources.
Enable "Allow a different one for each document".
Enable "Show Input menu in menu bar".
Select the "U.S." input source in addition to the one you already had.
Now, when using MD, switch to "U.S." in the input source method. Here it's the first one on the left of the clock.
I'm using OSX Lion and support for per-app input source is buggy so more often than not it switches MD back to my default keymap. Which is annoying but there's probably nothing that can be done.
BTW, if the per-app input source issue I'm having is actually a gtk+ bug and it's much easier to fix than the whole keymap thing, it might make sense to only fix it.
So you can still reproduce the issue on a current MD build? Can you
give me exact instructions? I don't quite follow the instructions
in bug #148.
Here's my setup:
Mono 2.10.5: http://www.go-mono.com/mono-downloads/download.html
MonoDevelop 2.8 alpha 2: http://monodevelop.com/Download
I'm using a custom keymap "U.S. International - PC".
To reproduce it I open a project on MD and go to the C# editor and try to type ". If switch the layout back to the default one it works.
I'm on OSX Lion if that makes a difference, but I believe the issue to be present on Snow Leopard as well.
Created attachment 379 [details]
Keymap that causes trouble
This keymap only changes how one types characters like ç é á à and ã. Others such ; : " ' remains the same as the U.S. layout.
There is a separate bug for layout switching, bug 958.
Rodrigo, with that keymap, what is impossible to type? I seem to be
able to enter anything (virtual keyboard open to check what i'm doing),
apart from using ~ as dead key, which is apparently a bug. My guess is
that they are simply missing from the hardcoded table of dead keys.
But other than that, all seems fine.
I'm on GTK+ master with all recent patches included (so a master without
any patches, as of Sept. 27th).
*** Bug 3551 has been marked as a duplicate of this bug. ***
*** Bug 4175 has been marked as a duplicate of this bug. ***
*** Bug 6165 has been marked as a duplicate of this bug. ***
Will you make a year and problem persists.
This is ridiculous.
¦ is incorrectly mapped for UK keyboards. Makes saying
if (foo == bar ¦¦ wibble == wobble)
a bit of a pain!
On latest GTK+ hitting shift+\ on any US-ish keyboard gives
me | without problems. What version of MD are you on?
I'm 188.8.131.52 for Mac. Using Mountain lion
Paul, what UK keyboard layout? Apple or PC? And your example isn't valid C#, are you sure you don't mean '|' rather than '¦'?
Using a standard PC keyboard with the settings as British-PC.
When I try for |, I get ¦
I get exactly the same in GTK+ and in native apps:
Shift+\ - > ¦
Option+` -> |
Really tried Briish-PC this time ;)
I don't have a standard PC keyboard to try tho, only the apple one.
ALT + backslash == |
Hmm, might need to invest in an apple keyboard - I just hate them!
*** Bug 8275 has been marked as a duplicate of this bug. ***
*** Bug 11368 has been marked as a duplicate of this bug. ***
GTK now has a Cooca IME built in, and there's also gtkimcocoa. Not sure which is better.
Mitch, any thoughts on the following patches?
Reviewing these and recommending something to you guys is on my agenda
this week anyway :)
Actually, I meant to review the new Cocoa IME code in GTK+, I haven't
had the chance to look at that yet, but the bug you linked was also
on the agenda. I commented upstream, the approach sounds very sane to
me, i never liked the "maybe" part in maybe_update_keymap(), it always
felt like a huge hack.
I have tested, cleaned up and pushed the patches in
Also, I did the proposed change to not check for a keymap change
in update_keymap() any longer, because the function is now only
called on actual keymap changes.
Landed in bockbuild. I think we can close this bug for now, if anything crops up we'll open more specific issues :)
I'll test and review the actual IME patches that landed in upstream anyway,
they sneaked when I was otherwise occupied.