Opened 11 years ago

Closed 7 years ago

Last modified 7 years ago

#880 closed bug (fixed (in master))

Dead keys do not work in OS X port

Reported by: morth Owned by:
Milestone: 3.5.0 Keywords: mac

Description (last modified by takkaria)

When using for example a swedish keyboard layout, the ~ key is a dead key, for typing ñ etc. (even though I'd much prefer it wasn't, but that is another story.) Angband does not register dead keys, even if I press space afterwards.

If I recall correctly, this is not super easy to fix though, one have to use the input manager or somesuch to handle the dead keys. Maybe there is some way to cheat by checking the keycode instead of the generated character.

Change History (7)

comment:1 Changed 11 years ago by morth

A formality question, would it be allowed to fix this using Cocoa/Objective?-C instead of C? Because I can't find any official way to do it in the latter.

comment:2 Changed 11 years ago by Lebannen

I don't think there's any objections to fix this using Cocoa/Obj?-C - the new sound code was written to use Cocoa as that was dramatically the simplest solution, and as a result main-crb.c is already compiled as obj-C.

Cocoa actually offers better compatibility with old OS versions as long as we stick to the older methods - the intention was to slowly transition the whole thing over to use more Cocoa, but I'm rather too busy with other projects at the moment to do that myself :)

comment:3 Changed 11 years ago by magnate

  • Keywords mac added
  • Milestone changed from Triage to 3.1.2 beta

comment:4 Changed 10 years ago by magnate

  • Milestone changed from 3.2.0 to 3.3.0

Punting to 3.3: non-urgent bug or change.

comment:5 Changed 9 years ago by magnate

  • Milestone changed from 3.3.0 to Future

Punting to Future because of lack of owner and imminent release of 3.3.0

comment:6 Changed 7 years ago by takkaria

  • Milestone changed from Future to 3.5.0

Assigning still-open bugs from Future to 3.5 for fixing.

comment:7 Changed 7 years ago by takkaria

  • Description modified (diff)
  • Resolution set to fixed (in master)
  • Status changed from new to closed

We now have a workaround for this: there is a 'command' menu and you can access the commands on it using command-shortcuts instead of the normal keyset keys. Marking as closed; keeping #1460 open as it deals with the same issues. (See this pullreq for changes: )

Last edited 7 years ago by takkaria (previous) (diff)
Note: See TracTickets for help on using tickets.