Page 1 of 1

neobook 5.8.7 ShortCutKey Bug

PostPosted: Sat Oct 28, 2017 11:44 pm
by HPW
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

Re: neobook 5.8.7 ShortCutKey Bug

PostPosted: Sun Oct 29, 2017 11:34 am
by Neosoft Support
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.

Re: neobook 5.8.7 ShortCutKey Bug

PostPosted: Sun Oct 29, 2017 11:42 pm
by HPW
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

Re: neobook 5.8.7 ShortCutKey Bug

PostPosted: Mon Oct 30, 2017 6:00 am
by Gaev
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.

Re: neobook 5.8.7 ShortCutKey Bug

PostPosted: Mon Oct 30, 2017 6:55 am
by HPW
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

Re: neobook 5.8.7 ShortCutKey Bug

PostPosted: Mon Oct 30, 2017 3:24 pm
by Gaev
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"