protegeproject / protege

Protege Desktop
http://protege.stanford.edu
Other
969 stars 229 forks source link

Auto-Complete in "Object property assertions" is not working when in Chinese input method #1199

Closed yasenstar closed 2 months ago

yasenstar commented 3 months ago

Hello,

I'm using Windows 11 with Protege 5.6.3.

I have one ontology working on some Chinese terms, so I have both Object Property and Individual names are in Chinese characters.

When trying to assert the object property, I need to switch to Chinese input method to input the name (see attached image), but as long as I'm in Chinese input method mode, the CTRL+Space has no effect. Everytime, I have to use my mouse to click the language to choose back EN (or use Windows 11's shortcut WinKey+Space) then can use CTRL+Space. This is quite time consuming and inconvenient.

Is there any shortcut conflicts backend when Protege detects it's in non-English input mode? Or is only Chinese input method causing some strange effect that I should investigate?

Thanks, Xiaoqi

protege-object-property-cannot-auto-complete-in-Chinese-input

zl6977 commented 2 months ago

So, you mean when you are in EN mode, CTRL+Space can work (auto-complete). But in Chinese input mode, CTRL+Space can not work. If so, I feel it is related to the shortcuts of the Chinese input method.

I also encountered this. I can find at least there is a CTRL + SPACE conflict. I have not figured out this. 屏幕截图 2024-04-14 014513

yasenstar commented 2 months ago

Hello @zl6977 ,

Great thanks, you made the point, yes, in my Windows 11, I can find the "Ctrl + Space" is by-default checked by Microsoft Pinyin, after I uncheck it and only leave "Shift" in the Mode Switch section, the auto-complete feature in our Protege is working for Chinese property or individual names.

win11-chinese-pinyin-shortcut-modechange

Regards, Xiaoqi

zl6977 commented 2 months ago

Good to know it. If I encounter this again, I will do as you did :) BTW, it seems this issue can be closed, with a happy ending.

yasenstar commented 2 months ago

Thanks @zl6977 , issue is completed now