Ticket #2139 (closed bug: fixed)

Opened 7 months ago

Last modified 3 months ago

Wrong modifier show in menus.

Reported by: bga Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1 development
Cc: andreasf Blocked By:
Platform: All Blocking:

Description (last modified by bga) (diff)

It seems that Haiku shows the wrong modifier key in menus. Although the default for operations like Cut/Paste is ALT, it shows CTL throughout the system (in Tracker, StyledEdit, Terminal, etc).

Change History

  Changed 7 months ago by bga

Forgot to mention that ALT+C works as expected while CTL+C does not. Even with the menus showing CTL as the modifier key.

  Changed 7 months ago by bga

  • description modified (diff)

  Changed 7 months ago by andreasf

  • cc andreasf added

Noticed that too, it seems to depend on the keymap: For US International it looked correct but not for German.

Interestingly Ctrl+C does work for the right Ctrl key but not for the left one.

  Changed 4 months ago by jackburton

The modifiers situation is a bit confusing: Using the italian keymap, the CTRL shortcut key is the default, and if I choose ALT as shortcut key, then I can't produce some symbols anymore (I.e. the @ symbol, which is produced with ALT-GR + the ò key, in the italian keymap).

  Changed 3 months ago by aldeck

You must not trust Menu preflet when it says you are in CTRL mode. It only compares key codes of the left command key and the right command key, and theres a bug in the keymaps (most non english). I'll fix the keymaps shortly.

Concerning the Italian keymap, i could produce the @ symbol, the problem is that ALT-GR becomes RightControl when you're in ALT mode, sure looks odd, but let's keep that for another ticket :-)

follow-up: ↓ 7   Changed 3 months ago by aldeck

  • status changed from new to closed
  • resolution set to fixed

Fixed in r27086

in reply to: ↑ 6   Changed 3 months ago by korli

Replying to aldeck:

Fixed in r27086

Please revert this: with this change I can't use the standard right option key on French keyboards, ie to type the euro symbol.

follow-up: ↓ 10   Changed 3 months ago by aldeck

  • status changed from closed to reopened
  • resolution fixed deleted

Reverted in r27087 Advices welcomed :)

  Changed 3 months ago by stippi

Can't the Menu preflet be fixed to not touch the right side of the keyboard? And then apply the patch to the keymaps with the same change.

in reply to: ↑ 8   Changed 3 months ago by andreasf

It seems like the menu checks the right-hand key to choose the displayed modifier, so messes it up for those keymaps - if that were the case, we could update it to check the left key instead and leave the keymaps as they are?

  Changed 3 months ago by aldeck

Good ideas, let's hope it doesn't break something else :)

  Changed 3 months ago by aldeck

  • status changed from reopened to closed
  • resolution set to fixed

Applied in r27095

Note: See TracTickets for help on using tickets.