VasylBaran / CommandShift

CommandShift allows you change input source (in MacOS) using Windows-style shortcuts
GNU General Public License v3.0
94 stars 0 forks source link

Unable to switch to third keyboard layout #4

Closed PetrovskYYY closed 1 year ago

PetrovskYYY commented 1 year ago

The program works excellently while switching between two last keyboard layouts, but due to my country specifics (Ukraine), I need to use three layouts (English, Russian and Ukrainian). Chosen key combination switches only between the last two of the three layouts if I need to switch to the third layout I still need to use CTRL+SPACE or choose from the layout menu using the mouse.

I think that situation will be the same with 4 or more layouts.

MacOS 12.6.1 MacBook Pro (Retina, 13-inch, Early 2015)

VasylBaran commented 1 year ago

@PetrovskYYY thank you posting, I will look into it 😉

Stay safe! )

VasylBaran commented 1 year ago

@PetrovskYYY hi again! Unfortunatelly it seems that the default macOS behavior for switching input sources is to just switch between the 2 most recent ones. So if you use more than 2 input sources you will end up just cycling between the 2 out of 3 input sources (even when using Apple's default shortcuts)

One possible workaround is to press Shift key one more time while holding Command key (or whichever key you've set in CommandShift app).

Check my video below, I know it's not exactly what you've asked for but... I hope it'll help )

https://user-images.githubusercontent.com/12252940/200273553-dab44204-75fb-4c35-ab27-272a82acd840.mov

PetrovskYYY commented 1 year ago

I can use the default MacOS keys to switch between all three layouts. I could not change to the third layout using the workaround you proposed. Please, look at the video below:

https://user-images.githubusercontent.com/4482272/202471264-557c9568-9e58-4426-a2c8-29a0edfa28e1.mp4

First I had been changing the layout with Alt/Option+Shift (changing to the third layout did NOT work) Then I changed the layout using standard Ctrl+Space (changing to the third layout works) Then tried to hit the second shift button and to press shift several times (changing to the third layout did NOT work)

PetrovskYYY commented 1 year ago

@VasylBaran, please look at the previous post.

PetrovskYYY commented 1 year ago

Finally got the desired behaviour by changing the default key combination from switching to the PREVIOUS key combination to the NEXT key combination. Now I am able to use all input sources I have: image I hope this will help someone.

sepazik commented 8 months ago

Finally got the desired behaviour by changing the default key combination from switching to the PREVIOUS key combination to the NEXT key combination. Now I am able to use all input sources I have: image I hope this will help someone.

Perfect. It's work for me!! Love u