Arrow Keys that actually work in Livecode 8
Moderator: Klaus
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Arrow Keys that actually work in Livecode 8
They don't seem to.
Last edited by richmond62 on Wed Jun 08, 2016 10:44 am, edited 1 time in total.
Re: Arrow Keys that actually work in Livecode 8
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.
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.
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Arrow Keys that actually work in Livecode 8
Gosh, I hope not; that's going to be a "right fag" in many respects.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
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
http://quality.livecode.com/show_bug.cgi?id=17470
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Arrow Keys that actually work in Livecode 8
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.
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
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.
Going to add the information to the bug in hopes that it will help them narrow down the problem.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Arrow Keys that actually work in Livecode 8
@Richmond: was this affecting your work in earlier v8 builds, or is it new in v8.0 GM?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Arrow Keys that actually work in Livecode 8
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.
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
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).
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Arrow Keys that actually work in Livecode 8
Thanks; that's well worth knowing, although it's not much good
for development purposes.
for development purposes.
-
- Livecode Staff Member
- Posts: 194
- Joined: Thu Apr 18, 2013 2:48 pm
Re: Arrow Keys that actually work in Livecode 8
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
https://github.com/livecode/livecode-ide/pull/1197
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Arrow Keys that actually work in Livecode 8
Lovely!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.
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Arrow Keys that actually work in Livecode 8
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.
For anyone who doesn't believe it download this stack and see for yourself.
- Attachments
-
- Arrow Test.livecode.zip
- Here's the stack.
- (10.63 KiB) Downloaded 215 times