Terminal.Gui icon indicating copy to clipboard operation
Terminal.Gui copied to clipboard

Numpad symbols are not printing on screen

Open RandallFlagg opened this issue 4 years ago • 13 comments

If I print the numbers and symbols from [0-9] and [/*-+.] on the keys in the letters area everything is working fine. If I try to do the same with the keys in the numpad area the symbols that are not numbers don't show.

OS: Windows 10 x64 2004 (19041.685) GUI.cs version: latest from repo (92c2171388918bb4d9a96f2eec7a0158aee029bc)

It might be related to bug: https://github.com/migueldeicaza/gui.cs/issues/977

image

My keyboard configuration: image

The two keys tested: Numpad: image Above letters: image

RandallFlagg avatar Dec 15 '20 22:12 RandallFlagg

If you are running on Linux on a virtual machine it really happens.

BDisp avatar Dec 15 '20 23:12 BDisp

It is not a VM. I updated relevant information in my first comment.

RandallFlagg avatar Dec 15 '20 23:12 RandallFlagg

I'm also using Windows 10 and that doesn´t happens to me.

BDisp avatar Dec 16 '20 00:12 BDisp

You are using the same keyboard configuration?

RandallFlagg avatar Dec 16 '20 19:12 RandallFlagg

No but I think that doesn't have to do with keyboard configuration. Try the last version in the GUI master to check if it still happens.

BDisp avatar Dec 16 '20 19:12 BDisp

I am working with the latest from the master as I specified in my comment. The version I specified is not the latest? If not then please send me the sha-1 of the commit you want me to checkout.

I just tested again in my code and I found out that it started to work in my program but still doesn't work in the samples for some reason.

RandallFlagg avatar Dec 16 '20 21:12 RandallFlagg

Sorry my bad. I didn't realize you mean about the Reactive example. Yes I confirm that not working on the NumPad.

BDisp avatar Dec 16 '20 21:12 BDisp

Can you see the reason please, because I'm not familiar with that language.

BDisp avatar Dec 16 '20 21:12 BDisp

I don't know if that behavior is because the project is using the NuGet package?

BDisp avatar Dec 18 '20 19:12 BDisp

I don't have a keybaord here with num keys. Can someone please try to repro (do not use the Reactive sample as it's hard coded to a specific old nuget package).

tig avatar Mar 09 '21 19:03 tig

@tig I confirm this still repro only with the ReactiveExample, even updating the NuGet packages. I think is related with #1132 where some NuGet package might being causing this issue. As it's using the Terminal NuGet package I can't debug it.

BDisp avatar Mar 09 '21 22:03 BDisp

I have already managed to debug and actually the symbols [/ * - +.] from the numeric keyboard are not detected, but it may be due the Terminal NuGet package version.

BDisp avatar Mar 10 '21 00:03 BDisp

see #977

Possible dupe?

tig avatar Apr 28 '21 21:04 tig

This should be fixed with

  • #3078

tig avatar Jan 19 '24 16:01 tig