Source language: Translate to:

neobook 5.8.7 ShortCutKey Bug

General questions about NeoBook

Moderator: Neosoft Support

neobook 5.8.7 ShortCutKey Bug

Postby HPW » Sat Oct 28, 2017 11:44 pm

Hello,

I just noticed that there is a bug in neobook 5.8.7 ShortCutKey Definition-Entry.

I create a new pub and insert one Push Button.

In Properties I focus the 'Short Cut Key' field:

Normaly you can press the key you want to use and it gets inserted there.

When I press BkSp and Del there appears 'Keine' (none).
When I choose BkSp from the Dropdown-List I get 'RÜCK' (german translation from BkSp)
When I choose Del from the Dropdown-List I get 'KOMMA(ZEHNERTASTATUR)' (german translation from comma on num block)

In the pub source is key=46 fro Del amd Key=8 for BkSp stored.
Both short cut works with that values.
Strange but not critical.

Regards

Hans-Peter
Hans-Peter
User avatar
HPW
 
Posts: 2519
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: neobook 5.8.7 ShortCutKey Bug

Postby Neosoft Support » Sun Oct 29, 2017 11:34 am

I'm not sure why shortcut keys would be translated into German. (I assume that you're using the English version of NeoBook, since we don't have a German version.) Is it just certain keys (like backspace) or are all shortcut keys being translated?

If your app has text entry fields, I'm not sure how well backspace will work as a shortcut, since the text field may try to intercept it.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: neobook 5.8.7 ShortCutKey Bug

Postby HPW » Sun Oct 29, 2017 11:42 pm

Yes, using english Version on germin Windows.
Yesterday I tried it on my aged XP.
Now Tested it on my Win7 tablet with vitual onscreen Keyboard.
Exactly the same behaviour.
I ran across the BkSp when trying Del+Ins. When Del did not work, I did try all keys.

Regards
Hans-Peter
Hans-Peter
User avatar
HPW
 
Posts: 2519
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: neobook 5.8.7 ShortCutKey Bug

Postby Gaev » Mon Oct 30, 2017 6:00 am

Hans-Peter:

I tried this on my windows 10 machine (with NeoBook 5.8.6) ... same results.

But I think I know why ... as per Dave's comment ...
If your app has text entry fields, I'm not sure how well backspace will work as a shortcut, since the text field may try to intercept it.

... when defining the shortcut, the Dropdown/TextEntry combo widget is most likely intercepting/processing the BackSpace key ... which leaves the value in the widget to "null/empty" which causes Dave's logic to interpret it as "None" ... if you type something like "J", then press the Backspace key, you can see how it reverts to "None".

Bottom line, pick from the Dropdown when available.
User avatar
Gaev
 
Posts: 3728
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: neobook 5.8.7 ShortCutKey Bug

Postby HPW » Mon Oct 30, 2017 6:55 am

Hello Gaev,

For that Special case, you are right.
But I was testing with a blank Pub with only one button objekt.
And my main target was the del-key which displays something wrong, but works.

Regards
Hans-Peter
Hans-Peter
User avatar
HPW
 
Posts: 2519
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: neobook 5.8.7 ShortCutKey Bug

Postby Gaev » Mon Oct 30, 2017 3:24 pm

Hans-Peter:

Perhaps I wasn't clear ... it is at Design time, when you are attempting to define the shortcut that the depression of the Backspace key is intercepted by the Neobook form field ... and processed against (perhaps some kind of hidden) input field ... so, this value becomes null/empty ... resulting in the shortcut being "None"
User avatar
Gaev
 
Posts: 3728
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 2 guests