3

In my app's main menu I have a menu item that I'd like to set to the shortcut alt+"minus sign". I was able to set the key equivalent in IB, and it triggers as expected, but it's really ugly when running the app:

enter image description here

Even though in Interface Builder it's fine:

enter image description here

Do you have any idea why it's like that? Thanks!

jscs
  • 63,694
  • 13
  • 151
  • 195
DrummerB
  • 39,814
  • 12
  • 105
  • 142
  • 1
    Fascinating. My first thought was there is something wrong with Interface Builder's key input, but even if I set the key equivalent manually in code, it gets displayed this way. And the `Alt` is not even needed. – Orangenhain May 18 '12 at 21:18
  • You were able to reproduce this? I'm using the German keyboard layout. I thought maybe that's messing up something. – DrummerB May 18 '12 at 21:19
  • 1
    Yes, I can reproduce this (even without the `Alt` modifier). OS X is running in English, keyboard layout is U.S. (International). – Orangenhain May 18 '12 at 21:22
  • I'm starting to think, this is "normal". I have the same character in Apple's Mail app in the Format > Style menu. – DrummerB May 18 '12 at 21:24

1 Answers1

2

This seems to be an OS X problem, here's a screenshot from Pixelmator:

Pixelmator screenshot

And even Preview.app has the same problem/bug (View menu):

Preview screenshot - View menu

Orangenhain
  • 3,724
  • 1
  • 22
  • 16