In using the linux version, the key pressed blocks such as:
key [left arrow] pressed?Get stuck when pressing multiple keys.
key [left arrow] pressed?continuing to return true.
Offline
Schroedingers_hat wrote:
In using the linux version, the key pressed blocks such as:
<key [left arrow v] pressed?>Get stuck when pressing multiple keys.
Ie. pressing and hold left, then press and release right, then release left results in<key [left arrow v] pressed?>continuing to return true.
This is using the scratch program under linux. I cannot reproduce the issue in windows.
Suggestions of a workaround are welcome. I am attempting to set up a computer for children to have in their bedroom and so it's not connected to the internet (so uploading and playing online is not an option.
is there a guide to installing the web player locally somewhere, perhaps?
I think these are the blocks you meant after I fixed them.
How about:
when [whatever v] key pressed? Does it fail to function too?
Offline
Offline
yes, its the same. I tried on my father's rasberry pi ( Linux computer) last night and...
Offline
Offline
I am having the same problem as the original poster, using Scratch on a Raspberry Pi. Several other Pi users have confirmed the same problem (when two keys are pressed at once, as they often are during a game, the first key to be pressed gets 'stuck' - as if it was still pressed - until it is pressed again, which releases it.
This is not a system-wide problem with the Pi itself; it only happens in Scratch.
I have found a workaround, which stops the keys sticking. I'm hoping someone who knows more than me may be able to find out *why* this workaround helps, and maybe help fix the bug itself.
The workaround (on the current Raspberry Pi standard recommended dist) is:
In the file /usr/bin/scratch, line 97 reads:
[ -z "$LC_ALL" ] && export LC_ALL="$LANG"
Commenting that line out (by putting a # at the start of it) causes the sticky-keys problem to disappear - the keys then work as they should, and multiple keys (or at least two anyway) can be pressed at the same time with no problems.
If anyone knows why that might be, and even better if anyone can use that information to help fix the bug, I'd be more than happy to test!
Offline
In follow-up to my previous post: Confirming that the problem, and the workaround I gave, both seem to apply to Linux in general (at least, replicated here on a Ubuntu 12.04 LTS x86 system).
Anyone know why export LC_ALL="$LANG" may cause sticky keys?!
Offline