Page 1 of 1

Arrow Keys that actually work in Livecode 8

Posted: Sat May 07, 2016 7:33 pm
by richmond62
They don't seem to.

Re: Arrow Keys that actually work in Livecode 8

Posted: Sat May 07, 2016 8:14 pm
by sturgis
Interestingly, if you place a scrolling list field (or perhaps any field?) onto the card, and the select a line in the card so that the field has focus.. The arrowkey handler in your card starts working.

Apparently the field receives the arrowkey just fine, has no handler so its passed up the message path. Looks like the card by itself won't receive an arrowkey without some intermediary to pass it on.

Re: Arrow Keys that actually work in Livecode 8

Posted: Sat May 07, 2016 8:37 pm
by richmond62
Looks like the card by itself won't receive an arrowkey without some intermediary to pass it on.
Gosh, I hope not; that's going to be a "right fag" in many respects.

Re: Arrow Keys that actually work in Livecode 8

Posted: Sat May 07, 2016 8:40 pm
by sturgis
Its a found bug. Not sure the "adding an intermediary object.." trick is known yet though.
http://quality.livecode.com/show_bug.cgi?id=17470

Re: Arrow Keys that actually work in Livecode 8

Posted: Sat May 07, 2016 8:45 pm
by richmond62
There should not have to be any "intermediate trick", and
my experience of advertising intermediate tricks or work-arounds
is that it slows down the Livecode people from taking things
that have to be SORTED OUT seriously.

The simple fact is that a Card should receive messages from
the arrow keys.

Re: Arrow Keys that actually work in Livecode 8

Posted: Sat May 07, 2016 8:50 pm
by sturgis
The only reason I mentioned it isn't to use it as a workaround. More of an indication of HOW its broke. Yes, the card should receive the arrowkey, intermediary or not, and the dictionary agrees. (as does history)

Going to add the information to the bug in hopes that it will help them narrow down the problem.

Re: Arrow Keys that actually work in Livecode 8

Posted: Sat May 07, 2016 9:50 pm
by FourthWorld
@Richmond: was this affecting your work in earlier v8 builds, or is it new in v8.0 GM?

Re: Arrow Keys that actually work in Livecode 8

Posted: Sun May 08, 2016 8:39 am
by richmond62
That is a moot point as I never really used any of the earlier versions of LC 8 for any 'work' at all
as my experience on Xubuntu 64-bit was so negative with the thing freezing the computer
(something I have almost never seen since I transitioned from predominantly Macintosh to
predominantly Linux about 9 years ago) and otherwise behaving very oddly.

Certainly, I am not going to try any work on Livecode 8 for now as the "stable" release
is not really cutting the mustard.

Re: Arrow Keys that actually work in Livecode 8

Posted: Sat Jun 04, 2016 9:24 pm
by martyWell
I'm running Indy 8.0.1 on a macbook air. I was going through some of the academy lessons and tearing my hair out -- couldn't get anything to happen using the arrowkey. I did a simple test and built the stack as a standalone. In the standalone, the arrowkey functioned as intended. This is a card script that moves an object up,down, left, right based on the arrow key that is pressed. So, this is not working in browse mode inside the IDE, but does work on a built standalone. I didn't take the time to read all of the posts, but just wanted to mention this and hope it gets fixed (if it hasn't been already).

Re: Arrow Keys that actually work in Livecode 8

Posted: Sun Jun 05, 2016 2:08 pm
by richmond62
Thanks; that's well worth knowing, although it's not much good
for development purposes.

Re: Arrow Keys that actually work in Livecode 8

Posted: Mon Jun 06, 2016 2:26 pm
by livecodeali
It is fixed and merged and the fix will be included in 8.0.2-rc-1 as soon as we can get that out.

https://github.com/livecode/livecode-ide/pull/1197

Re: Arrow Keys that actually work in Livecode 8

Posted: Mon Jun 06, 2016 6:45 pm
by richmond62
It is fixed and merged and the fix will be included in 8.0.2-rc-1 as soon as we can get that out.
Lovely!

Re: Arrow Keys that actually work in Livecode 8

Posted: Wed Jun 08, 2016 10:07 am
by richmond62
The Arrow Keys work "as expected" in 8.0.2 rc-1.

For anyone who doesn't believe it download this stack and see for yourself.
ArrowTest.png