enthought / enthought/mayavi

Recurrence of #281 (keeping a key pressed )

Open
#1,200 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

I already posted a comment in the issue #281 thread, but since it is closed, I am opening a new issue.

As originally described, and as now occurs again:

'On a slower system, like a Linux Virtual Machine, I observed an occasional traceback when pressing a key (say, z) and rotating the scene with the mouse: [...] TypeError: SetEventInformationFlipY argument 5: a string of length 1 is required'

I found that the original fix for #281 needs to be modified slightly in the source code for QVTKRenderWindowInteractor.py:

if ev.isAutoRepeat():
# key = key[0]
key = bytes(key[0])

(apologies I am not a formatting wiz here)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.