Pop-up Menu and Tab Key
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Pop-up Menu and Tab Key
Links to a folder with exe and video..
https://1drv.ms/f/s!Aj4Jd3FRrL_LhNNHIGfa-9oJNcUZtQ
(let me know if you have trouble with that link - I've had mixed results testing it)
I have a Snow Leopard disc somewhere, if I get time later I'll spin up a VM and test it.
There is nothing peculiar about my rig - Dell Latitude 7390 2 in 1, i5-8350U, 16gb, Windows 10 pro v1809, clean installation as of Jan this year. Normal user adjustments to UI like turning off animations and unnecessary stuff like that, but nothing deeper.
https://1drv.ms/f/s!Aj4Jd3FRrL_LhNNHIGfa-9oJNcUZtQ
(let me know if you have trouble with that link - I've had mixed results testing it)
I have a Snow Leopard disc somewhere, if I get time later I'll spin up a VM and test it.
There is nothing peculiar about my rig - Dell Latitude 7390 2 in 1, i5-8350U, 16gb, Windows 10 pro v1809, clean installation as of Jan this year. Normal user adjustments to UI like turning off animations and unnecessary stuff like that, but nothing deeper.
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it 

Re: Pop-up Menu and Tab Key
I've just repeated this on my old Yoga 2 Pro, also Windows 10, with a fresh install of LC 8.1.10, and got the same result !
Just to be sure - when you create a stack, exactly how I did, and follow the steps I set out below - do you see it tab through the menu items, with no highlighting of the card objects ?
Thanks for looking at this guys.
Just to be sure - when you create a stack, exactly how I did, and follow the steps I set out below - do you see it tab through the menu items, with no highlighting of the card objects ?
Thanks for looking at this guys.
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it 

Re: Pop-up Menu and Tab Key
After watching the video, i set up the same thing in 6.5.2 on 'nix, it did the same thing. OSX 10.6 and Lc 8.1 didn't show the same behavior, but did show something else with the combo box.
On OSX, when the combo box is active, hitting tab switched between it and the field instead of the items under it. Also on OSX, I was unable to tab any of the menu items like you can on win/lin. Sorry guys, looks like mac doesn't let you do what he is having an issue with.
MrAlobar, sorry, I don't think you can fix it outside of code, however, the code to fix it shouldn't be earth shattering either as you indicated you already had a work around in mind.
As an aside, I didn't find any programs on 'nix that use tab to navigate menus, so the reason no one else may have noticed it is simply because not a lot of people navigate menus in a similar fashion ?
Since I was able to simulate this all the way back to 6.x though, it might be expected behavior. I would suggest a bug report, and depending on the outcome of that, follow up with a feature request, it isn't a "just you" situation.
On OSX, when the combo box is active, hitting tab switched between it and the field instead of the items under it. Also on OSX, I was unable to tab any of the menu items like you can on win/lin. Sorry guys, looks like mac doesn't let you do what he is having an issue with.
MrAlobar, sorry, I don't think you can fix it outside of code, however, the code to fix it shouldn't be earth shattering either as you indicated you already had a work around in mind.
As an aside, I didn't find any programs on 'nix that use tab to navigate menus, so the reason no one else may have noticed it is simply because not a lot of people navigate menus in a similar fashion ?
Since I was able to simulate this all the way back to 6.x though, it might be expected behavior. I would suggest a bug report, and depending on the outcome of that, follow up with a feature request, it isn't a "just you" situation.
Last edited by bogs on Tue Mar 19, 2019 10:56 am, edited 2 times in total.

Re: Pop-up Menu and Tab Key
Hi Jay,
Thanks , link and vidéo work fine
Now we are sure we talk about same
Unfortunately, any idea why it works for you
Thanks , link and vidéo work fine
Now we are sure we talk about same
Unfortunately, any idea why it works for you

https://alternatic.ch
Re: Pop-up Menu and Tab Key
Thanks guys.
Thierry, I appreciate the confirmation - it's good to know I'm not going mad (at least in respect of LC anyway !).
I will raise a bug report.
Jay
Thierry, I appreciate the confirmation - it's good to know I'm not going mad (at least in respect of LC anyway !).
I will raise a bug report.
Jay
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it 

Re: Pop-up Menu and Tab Key
Macs don't have traversalOn for buttons, Windows does. That's the difference.
It's typical to use arrow keys to navigate menu items and tab to traverse fields. A quick fix would be to put in an empty tabKey handler in the popdown to block tabs entirely, so users could only use arrow keys. Since this is pretty normal behavior, I don't think your users would be too confused,
It isn't a bug, it's how the OS works.
It's typical to use arrow keys to navigate menu items and tab to traverse fields. A quick fix would be to put in an empty tabKey handler in the popdown to block tabs entirely, so users could only use arrow keys. Since this is pretty normal behavior, I don't think your users would be too confused,
It isn't a bug, it's how the OS works.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Pop-up Menu and Tab Key
Jacque.
Ah, so it is environmental.
Jay.
SInce both tabKey and arrowKey are messages, it should be possible to trap tabKey and from there send ArowKey. In that way, you would have the desired menuItem behavior, but not the object focus behavior,
Craig
Ah, so it is environmental.
Jay.
SInce both tabKey and arrowKey are messages, it should be possible to trap tabKey and from there send ArowKey. In that way, you would have the desired menuItem behavior, but not the object focus behavior,
Craig
-
- Posts: 738
- Joined: Thu Sep 11, 2014 1:49 pm
Re: Pop-up Menu and Tab Key
I see the same strange behavior in your stack (see attached zipped animated gif file).
But when I loaded it I got the message 'A stack revCursors is already in memory ....'. (see attached file)
Working with LC 9.0.2 OS: Windows 10.
Regards,
Paul
But when I loaded it I got the message 'A stack revCursors is already in memory ....'. (see attached file)
Working with LC 9.0.2 OS: Windows 10.
Regards,
Paul

Re: Pop-up Menu and Tab Key
Thanks All, much appreciated.
Craig - trapping tab key and subbing arrow key is a good suggestion - cheers.
Jacques - I do think the default implementation of the tab key function in options menus should be exclusive while menu is open - I accept that it is not a bug but it's not desirable or useful to have the default behaviour of dual highlighting. I don't think it merits a feature request though.
Granted, my use is a tad unusual but Livecode is versatile - I am creating a proof of concept for a kids' app that uses just tab and return keys (and to a lesser degree the space bar) so I'm not following the typical windows UI. I normally code for Windows and have never come up against this before but I can't honestly say I fully appreciated the general rule of arrow key for menus and tab between fields - so thank you for that clarification.
By the way - last week, whilst clambering up another steep learning curve, I came across the resources tab on your hyperactivesw site and it proved very useful - hat's off and thank you
Craig - trapping tab key and subbing arrow key is a good suggestion - cheers.
Jacques - I do think the default implementation of the tab key function in options menus should be exclusive while menu is open - I accept that it is not a bug but it's not desirable or useful to have the default behaviour of dual highlighting. I don't think it merits a feature request though.
Granted, my use is a tad unusual but Livecode is versatile - I am creating a proof of concept for a kids' app that uses just tab and return keys (and to a lesser degree the space bar) so I'm not following the typical windows UI. I normally code for Windows and have never come up against this before but I can't honestly say I fully appreciated the general rule of arrow key for menus and tab between fields - so thank you for that clarification.
By the way - last week, whilst clambering up another steep learning curve, I came across the resources tab on your hyperactivesw site and it proved very useful - hat's off and thank you

I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it 

Re: Pop-up Menu and Tab Key
Paul,
Interesting - I notice that revCursors message as well but thought it was a one off as I was bouncing in and out of various stacks - multitasking.
I don't get it on other stacks and that one was made clean from a fresh launch of the IDE.
I'll take a look at the attachments shortly and get back to you again.
Interesting - I notice that revCursors message as well but thought it was a one off as I was bouncing in and out of various stacks - multitasking.
I don't get it on other stacks and that one was made clean from a fresh launch of the IDE.
I'll take a look at the attachments shortly and get back to you again.
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it 

Re: Pop-up Menu and Tab Key
Paul.
Craig
I see this always with some stacks, and never with others. Not a problem, just an annoyance....the message 'A stack revCursors is already in memory
Craig
Re: Pop-up Menu and Tab Key

I am extremely thankful for the compliment, but I am in no way anywhere near as good as Thierry




Re: Pop-up Menu and Tab Key

I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it 

Re: Pop-up Menu and Tab Key
Craig - first time I've seen it but I shan't worry about it now - easily deleted from the stack and as you say, 'tis a small annoyance.
Well that's enough TabKey related fun for me for one day - thanks again for your help all - back at it tomorrow.
Well that's enough TabKey related fun for me for one day - thanks again for your help all - back at it tomorrow.
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it 
