jaredks / rumps

Ridiculously Uncomplicated macOS Python Statusbar apps
BSD 3-Clause "New" or "Revised" License
3.06k stars 177 forks source link

No keyboard input in window possible #127

Closed clee1994 closed 4 years ago

clee1994 commented 4 years ago

Hey Rumps Team,

I am using macOS Catalina 10.15.1 and rumps==0.3.0. Whenever I use a rumps window (rumps.Window) the window shows but I cannot type into the text field. When running rumps from ipython the text goes straight into ipython. However, I can click in the text field and right-click copy, paste and cut work. Any ideas why direct keyboard input doesn't work?

Many thanks and best, Clemens

PS: My code can be found under https://github.com/clee1994/pomodoro/blob/master/pomodoro.py.

datadavev commented 4 years ago

Have you tried running with pythonw instead of python?

clee1994 commented 4 years ago

I was using pyenv and that doesn't come with pythonw. However, I found: https://github.com/pyenv/pyenv/issues/99

And doing

env PYTHON_CONFIGURE_OPTS="--enable-framework CC=clang" pyenv install 3.8.0

Using this python then solved my issue. Many thanks!