-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Steps to reproduce:
- Open Pronterface with a G-Code file:
pronterface my-file.gcode - Navigate layers using “U” and “D” keys
- Navigate layers using up and down cursor keys
- Try to navigate layers again using “U” and “D” keys
Observed behaviour: “U” and “D” keys work repeatedly, but as soon as a cursor key is pressed, navigating layers becomes blocked and no further input is received from either cursor keys or “U”/“D” keys. Navigating layers becomes functional again after mouse input of some kind, eg. left-clicking in the viewer.
Some initial investigation in the code suggests that keypress() in gcview.py does not get called at all after the first cursor key input, until wx.CallAfter(self.Refresh) is triggered, eg. by mouse input.
I am running the lastest source from the master branch (commit 5f98a78) on Ubuntu 19.10 using Python 3.7 and wxPython 4.0.7.post2.