After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609019 - Special characters cannot be entered
Special characters cannot be entered
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.28.x
Other Mac OS
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 609311 617655 630643 634488 657747 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-02-04 21:00 UTC by dev_random
Modified: 2012-01-17 21:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Crash log gedit 3.2.6 Jan 13, 2012 (31.02 KB, text/plain)
2012-01-14 17:41 UTC, Bengt Olsson
Details

Description dev_random 2010-02-04 21:00:47 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.
Comment 1 i.filter.your.spam 2010-02-25 22:48:17 UTC
I have the same problem here.
Comment 2 Daniel Arteaga 2010-05-29 18:47:19 UTC
Same problem here.
Comment 3 jeanrhum 2010-07-16 09:26:59 UTC
Same problem for me. All latest releases I tested were concerned (2.26->2.30) and I don't check previous ones.
Comment 4 TesX 2010-08-24 08:06:20 UTC
Same problem to me...
I'm using version 2.30.2 (ita)
Comment 5 jessevdk@gmail.com 2010-09-26 19:00:30 UTC
*** Bug 609311 has been marked as a duplicate of this bug. ***
Comment 6 jessevdk@gmail.com 2010-09-26 19:01:16 UTC
*** Bug 617655 has been marked as a duplicate of this bug. ***
Comment 7 jessevdk@gmail.com 2010-09-26 19:01:23 UTC
*** Bug 630643 has been marked as a duplicate of this bug. ***
Comment 8 Bengt Olsson 2011-03-13 09:56:38 UTC

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.
Comment 9 Tynnyriolut 2011-03-29 22:03:32 UTC
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.
Comment 10 Ignacio Casal Quinteiro (nacho) 2011-09-01 13:14:27 UTC
*** Bug 657747 has been marked as a duplicate of this bug. ***
Comment 11 Victor Hogemann 2011-09-01 13:32:15 UTC
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.
Comment 12 jessevdk@gmail.com 2012-01-08 19:01:15 UTC
*** Bug 634488 has been marked as a duplicate of this bug. ***
Comment 13 jessevdk@gmail.com 2012-01-08 19:04:19 UTC
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.
Comment 14 jessevdk@gmail.com 2012-01-14 00:34:16 UTC
A new version of gedit has just been released. Can someone confirm this problem has now been solved?
Comment 15 dev_random 2012-01-14 07:46:04 UTC
I would be willing to try if I wasn't blocked by bug 66790 :(.
Comment 16 Bengt Olsson 2012-01-14 17:41:37 UTC
Created attachment 205268 [details]
Crash log gedit 3.2.6 Jan 13, 2012
Comment 17 Bengt Olsson 2012-01-14 17:46:14 UTC
This is for 

gedit-3.2.6.dmg                   13-Jan-2012 17:53   37M

Crashes upon start
Comment 18 Bengt Olsson 2012-01-16 21:19:42 UTC
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.
Comment 19 dev_random 2012-01-17 19:14:41 UTC
Looks good. All the special characters I'm usually using work fine with the key strokes used to from other Mac OS X applications.
Comment 20 Tynnyriolut 2012-01-17 20:15:53 UTC
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.
Comment 21 jessevdk@gmail.com 2012-01-17 21:32:22 UTC
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.