GNOME Bugzilla – Bug 609019
Special characters cannot be entered
Last modified: 2012-01-17 21:32:22 UTC
Entering special characters like [] {} @, € doesn't seem to be possible under the Mac OS X port of gedit. Neither AltGr+8 (MacOSX-keybinding) or AltGr+7 (Linux/Windows-keybinding) for { work.
I have the same problem here.
Same problem here.
Same problem for me. All latest releases I tested were concerned (2.26->2.30) and I don't check previous ones.
Same problem to me... I'm using version 2.30.2 (ita)
*** Bug 609311 has been marked as a duplicate of this bug. ***
*** Bug 617655 has been marked as a duplicate of this bug. ***
*** Bug 630643 has been marked as a duplicate of this bug. ***
Could a similar work-around as in bug 627766 temporarily resolve this issue? This bug effectively prohibits use of gedit on mac and should have higher prio IMHO.
Yes, similar to bug 627766 I added the following lines to the gedit.app/Contents/Resources/etc/gtk-2.0/gtkrc file: binding "gtk-mac-alt-brackets" { bind "<alt>5" { "insert-at-cursor" ("[")} bind "<alt>6" { "insert-at-cursor" ("]")} bind "<alt>7" { "insert-at-cursor" ("|")} bind "<alt>8" { "insert-at-cursor" ("{")} bind "<alt>9" { "insert-at-cursor" ("}")} } class "GtkTextView" binding "gtk-mac-alt-brackets" class "GtkEntry" binding "gtk-mac-alt-brackets" This solves the problem for the mentioned brackets. Unfortunately this does not work for the backslash. The line bind "<shift><alt>7" { "insert-at-cursor" ("\\")} seems to be overwritten by the <alt>7 binding, no matter if it is defined before or after the pipe.
*** Bug 657747 has been marked as a duplicate of this bug. ***
Gedit also won't let me type characters with accents, such as: á â ã à ç ñ, etc... Switching keyboard layouts and input methods won't help but the symptoms are different, for exemple for getting an "á" - Using the Mac default method, "option+e" then "a" outputs only "a" instead of "á" - Using USInternational, " ' " then "a" outputs " 'a " instead of the desired "á" Copying and pasting these characters works just fine, so it's not like Gedit can't handle them.
*** Bug 634488 has been marked as a duplicate of this bug. ***
I've been working on this bug for the next major mac port release (3.2) and I think I managed to resolve the issues with the keybindings (also due to some recent fixes in gtk+ with regard to keybindings on OS X). I will leave this bug open for now. For the people affected by this bug, I would like to ask to please install the new 3.2 which will be released in the next week (hopefully) and comment here on any remaining issues with regard to key bindings and characters.
A new version of gedit has just been released. Can someone confirm this problem has now been solved?
I would be willing to try if I wasn't blocked by bug 66790 :(.
Created attachment 205268 [details] Crash log gedit 3.2.6 Jan 13, 2012
This is for gedit-3.2.6.dmg 13-Jan-2012 17:53 37M Crashes upon start
Crash is another bug #667906, forget it. Using http://ftp.acc.umu.se/pub/GNOME/binaries/mac/gedit/3.2/gedit-3.2.6-2_SnowLeopard_64bit.dmg (on Lion 10.7.2) it seems that this bug is fixed. Can type all wanted characters with Alt and Alt-Shift.
Looks good. All the special characters I'm usually using work fine with the key strokes used to from other Mac OS X applications.
Entering special characters works fine for me now. Thank you for the fix. Unfortunately I ran into the 'preferences do not work correctly' bug (#668019) afterwards.
Ok, I'm closing this bug. Feel free to re-open if you find any other problems related to this bug. I will soon release a new version which should also solve the crashers.