prayerie / ChaoJpLayoutFixer

Use any base layout for Microsoft Japanese IME romaji input.
GNU Affero General Public License v3.0
4 stars 0 forks source link

Katakana keyboard shortcut broken #2

Open maiiiiixo opened 1 year ago

maiiiiixo commented 1 year ago

After changing keyboard layouts to United Kingdom, the katakana keyboard shortcut is broken.

Expected behaviour:

Actual behaviour:

Manually changing the input to katakana in the taskbar does work, but is less than ideal. And I hate using the F7 method, but that does work. Switching back to the Japanese layout with the programme resolves this issue.

Tested on both my personal PC and Surface Pro running Windows 11.

prayerie commented 1 year ago

Thanks for pointing this out; hadn't noticed unfortunately :(

It might be a limitation of using a different layout, but I'll see ASAP if there's a workaround.

prayerie commented 1 year ago

didn't mean to close this oops

prayerie commented 1 year ago

After a bit of investigation it appears you're correct. My current recommendation would be to enable "use previous version of Microsoft IME", as this allows every single keyboard shortcut to be customised, however I've not tested this myself yet--if it works, I'll include a warning in the application.

In the meantime, I'll also try and find a workaround using the latest version of the IME. Thank you again for bringing this to my attention; if you can let me know if you can successfully reassign shortcuts on the old version, please let me know.

If that doesn't work, I am tempted to include an option which provides an AutoHotkey script to send the keycode of Muhenkan/Hiragana/Katakana keys, which I hope might fix it.

maiiiiixo commented 1 year ago

Had a look at the compatibility version and it kind of works? To be honest, I really had no idea whether the programme was breaking anything or not because the previous version of the IME is so unbeliveably bad, the shortcuts were so inconsistent as to whether they worked or not and half the keys I reassigned various tasks to didn't work. If this was the only solution, I personally wouldn't choose to do it.

It might be more work for you, but if you can't find a fix, would being able to force ALT + CAPS/CTRL + CAPS to toggle between Katakana/Hiragana as long as the programme remains open be appropriate? It opens at boot and rebinds those keys, and then just sits in the system tray in the task bar. Obviously AHK would be okay, but an all-in-one solution would be preferable (and sometimes AHK throws up issues with anti-cheats for some games I play).

maiiiiixo commented 1 year ago

oops again!

prayerie commented 1 year ago

That could be absolutely feasible if that would be the most convenient for people. It might increase the risk of a false-positive AV detection, but I'll experiment around and hopefully the next release should have custom bindings like you described.

(I have some exams next week so this may take a few days depending on how long that'd take)

prayerie commented 1 year ago

(just want to clarify - didn't forget about this, will be freed up tomorrow/day after)

maiiiiixo commented 1 year ago

Any updates?

prayerie commented 1 year ago

Any updates?

Sorry for my lack of response - been doing a lot with people and I'm away atm, but I have a windows VM on my macbook so I should be able to get it sorted.