Opened 7 years ago

Last modified 4 years ago

#1449 new enhancement

implement keymap switching application

Reported by: diver Owned by: korli
Priority: normal Milestone: Unscheduled
Component: Servers/input_server Version: R1/Development
Keywords: Cc: siarzhuk, fyysik, prognathous@…
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Haiku should have a keymap switcher application in R1.

There is already one with bsd license:
http://sourceforge.net/projects/switcher

Change History (16)

comment:1 follow-up: Changed 7 years ago by korli

  • Component changed from - General to Servers/input_server
  • Milestone R1 deleted
  • Owner changed from axeld to korli

Obviously a keymap switcher should integrate well with switching input methods.

comment:2 Changed 7 years ago by korli

  • Milestone set to Unscheduled

comment:3 Changed 7 years ago by siarzhuk

  • Cc siarzhuk added

comment:4 in reply to: ↑ 1 Changed 6 years ago by fyysik

Replying to korli:

Obviously a keymap switcher should integrate well with switching input methods.

This is bit unclear sentence. IMHO, from user POV, deskbar replicant for switching keymaps for "phonetical" alphabets, shoudln't contain choice for input methods.
Maybe only in additional advanced section which allows to set different shorcuts to activate this or that InputMethod. But in this case deskbar idndicator would contain second display field, separate from base keymap field.
Keymap is primary thing in relation to Input Methods. To be more clean - user of input methods need ability to set basic "phonetical" keymap (variation of latin in simplest case) to that which suits his/her "physical" keyboard better. And Input Method - to use just that keymapping.
Only thing I can propose for better integration is keymap locking (by blocking switcher) while input method is activated.

comment:5 follow-up: Changed 6 years ago by koki

  • Cc koki added; siarzhuk removed

I write in three languages: English, Spanish and Japanese. For the first two, a keymap switcher does the job. The latter uses an input method that is enabled/disabled using a toggle key combination (alt-space in BeOS/Haiku). If my memory does not fail, I think the keymap switch only works when the input method is disabled, and when the input method is enabled, the keymap always returns to whatever system-wide keymap has been chosen as default (which usually is whatever matches your physical keyboard).

As it is now, the keymap switching and the input method toggling are independent one from the other, so they would require separate separate deskbar replicants. I guess they could be combined into one replicant, but I am not sure what that would mean under the hood. FWIW.

comment:6 in reply to: ↑ 5 Changed 6 years ago by fyysik

As it is now, the keymap switching and the input method toggling are independent one from the other, so they would require separate separate deskbar replicants. I guess they could be combined into one replicant, but I am not sure what that would mean under the hood. FWIW.

With single input method situation is not so complicated, but I imagine situation when users utilize several input methods. E.g. Hebrew and Japanese, besides, to say, english, german and russian keymaps:) (I know users, who really have need for that!).
But from your talk I got understanding that switcher keymap-locking feature with activated input method is already automagically present in BeOS. So we just need to check that it wouldn't be broken in Haiku.

comment:7 Changed 6 years ago by diver

  • Cc siarzhuk fyysik added

comment:8 Changed 6 years ago by aldeck

If someone would like to work on that, note that i'm working on a new keymap management system that would ease implementing this enhancement. Just send me a mail or comment here so there's no wasted effort :)

comment:9 Changed 5 years ago by diver

Some links:
http://switcher.cvs.sourceforge.net/viewvc/switcher/keymapswitcher(haiku)/
http://siarzhuk.dyndns.org/switcher-h.zip

I would suggest to add "Show keymap switcher in Deskbar" option to Keymap preflet to trigger deskbar replicant on/off.

comment:10 Changed 5 years ago by siarzhuk

Note that mentioned keymap switcher is pending now to be added as optional 3rd party package. See #3681 for details.

comment:11 Changed 5 years ago by aldeck

Thanks for the note. I don't have plans to work on my keymap system replacement in the near future, it's fine to use that 3rd party switcher for now :)

comment:12 Changed 5 years ago by siarzhuk

Shouldn't this issue be closed as soon as KeymapSwitcher is available as 3rd party app?

comment:13 Changed 5 years ago by diver

I would like to have keymap switcher preinstalled. I think that such functionality is a mandotary for an OS.

comment:14 Changed 5 years ago by axeld

Indeed, this functionality should be added to the Keyboard preferences in the future (which this ticket is about). For now, using the KeymapSwitcher is fine, though.

comment:15 Changed 5 years ago by Prognathous

  • Cc prognathous@… added

comment:16 Changed 4 years ago by diver

  • Version changed from R1/pre-alpha1 to R1/Development
Note: See TracTickets for help on using tickets.