New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextInput doesn't accept input in certain languages from the keyboard #434

Closed
akshayaurora opened this Issue Mar 25, 2012 · 11 comments

Comments

Projects
None yet
6 participants
@akshayaurora
Member

akshayaurora commented Mar 25, 2012

To reproduce

  1. launch any example that uses TextInput,
  2. Change you keyboard Layout to a language like Chinese that require non standard input like IME
  3. click to focus the TextInput Widget and try to type, nothing get's displayed.
@akshayaurora

This comment has been minimized.

Show comment
Hide comment
@akshayaurora

akshayaurora Mar 25, 2012

Member

Seems to be a Pygame - KDE issue, works in other environments

Member

akshayaurora commented Mar 25, 2012

Seems to be a Pygame - KDE issue, works in other environments

@snowrry

This comment has been minimized.

Show comment
Hide comment
@snowrry

snowrry Apr 13, 2012

Hi, I also meet with this problem with Chinese input. I am using kivy-1.2.0-win32 (kivy-1.1.1 also doesn't work) on Windows 7. Besides, I also use Android 'Kivy Launcher' on Samsung i9003 and I still cannot input Chinese.
So what do you mean by 'Seems to be a Pygame - KDE issue, works in other environments'? How can I fix this issue? Thanks.

snowrry commented Apr 13, 2012

Hi, I also meet with this problem with Chinese input. I am using kivy-1.2.0-win32 (kivy-1.1.1 also doesn't work) on Windows 7. Besides, I also use Android 'Kivy Launcher' on Samsung i9003 and I still cannot input Chinese.
So what do you mean by 'Seems to be a Pygame - KDE issue, works in other environments'? How can I fix this issue? Thanks.

@akshayaurora akshayaurora reopened this Apr 13, 2012

@akshayaurora

This comment has been minimized.

Show comment
Hide comment
@akshayaurora

akshayaurora Apr 13, 2012

Member

When I opened this issue I checked for Chinese and Greek, but closed it when I saw that input
for Indic scripts was working on non KDE environments, assuming other languages would work
thinking it was likely a environment based issue.

The problem you are facing seems mainly due to Pygame not supporting non-standard input mechanisms like IME.

I don't know if it is easily fixable, but definitely deserves to be reopened in light of the new information.

Member

akshayaurora commented Apr 13, 2012

When I opened this issue I checked for Chinese and Greek, but closed it when I saw that input
for Indic scripts was working on non KDE environments, assuming other languages would work
thinking it was likely a environment based issue.

The problem you are facing seems mainly due to Pygame not supporting non-standard input mechanisms like IME.

I don't know if it is easily fixable, but definitely deserves to be reopened in light of the new information.

@simomo

This comment has been minimized.

Show comment
Hide comment
@simomo

simomo Apr 14, 2012

Hi~
I found something maybe help.

This patch support low-level cross-platform IME mechanism.
http://sdl-im.csie.net/

And,this article in chinese talk about how to use this patch.
http://tib.tw/tBoard/index.py?m=pl&t=698

simomo commented Apr 14, 2012

Hi~
I found something maybe help.

This patch support low-level cross-platform IME mechanism.
http://sdl-im.csie.net/

And,this article in chinese talk about how to use this patch.
http://tib.tw/tBoard/index.py?m=pl&t=698

@snowrry

This comment has been minimized.

Show comment
Hide comment
@snowrry

snowrry Apr 14, 2012

Thanks, Hope this patch can be integrated into Kivy official package.

snowrry commented Apr 14, 2012

Thanks, Hope this patch can be integrated into Kivy official package.

@simomo

This comment has been minimized.

Show comment
Hide comment
@simomo

simomo Apr 14, 2012

Hi snowrry
Have you solved this problem by this patch?
If solved ,could you share the detailed steps?

2012/4/14 snowrry <
reply@reply.github.com

Thanks, Hope this patch can be integrated into Kivy official package.


Reply to this email directly or view it on GitHub:
#434 (comment)

simomo commented Apr 14, 2012

Hi snowrry
Have you solved this problem by this patch?
If solved ,could you share the detailed steps?

2012/4/14 snowrry <
reply@reply.github.com

Thanks, Hope this patch can be integrated into Kivy official package.


Reply to this email directly or view it on GitHub:
#434 (comment)

@snowrry

This comment has been minimized.

Show comment
Hide comment
@snowrry

snowrry Apr 15, 2012

Hi Simomo, I don't have necessary environment to test this on Windows. It requires me to build all the packages. Now I am moving my workspace into Linux. I'll try that after all the things are set. But it will take time.

snowrry commented Apr 15, 2012

Hi Simomo, I don't have necessary environment to test this on Windows. It requires me to build all the packages. Now I am moving my workspace into Linux. I'll try that after all the things are set. But it will take time.

@weilitao

This comment has been minimized.

Show comment
Hide comment
@weilitao

weilitao May 29, 2012

+1
Hope user can input chinese character in android device :)

weilitao commented May 29, 2012

+1
Hope user can input chinese character in android device :)

@tito

This comment has been minimized.

Show comment
Hide comment
@tito

tito Jun 16, 2012

Member

Hi, we can't add this patch, it's not from kivy. but SDL. And we are not compiling this :/
Best is to ask on SDL and pygame, or found a python library to do it.

Member

tito commented Jun 16, 2012

Hi, we can't add this patch, it's not from kivy. but SDL. And we are not compiling this :/
Best is to ask on SDL and pygame, or found a python library to do it.

@tito tito closed this Jun 16, 2012

@diyism

This comment has been minimized.

Show comment
Hide comment
@diyism

diyism Jul 26, 2014

Could you import PySDL2? PySDL2 is in pure Python, using ctypes to interface with the C interfaces of 3rd party libraries.

diyism commented Jul 26, 2014

Could you import PySDL2? PySDL2 is in pure Python, using ctypes to interface with the C interfaces of 3rd party libraries.

@diyism

This comment has been minimized.

Show comment
Hide comment
@diyism

diyism Jul 26, 2014

Could anybody replace pygame with PySDL2 in Kivy?

diyism commented Jul 26, 2014

Could anybody replace pygame with PySDL2 in Kivy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment