jwolz / yajhfc

YajHFC (Yet another Java HylaFAX client) is a client for the HylaFAX fax server written completely in Java
https://www.yajhfc.de
Other
7 stars 1 forks source link

Telefon Nr gets distorted on typing in at Linux-PC with keyboard Num-Lock in MAC Mode #64

Closed jwolz closed 5 years ago

jwolz commented 5 years ago

Original report by Anonymous.


Hi,

I use a debian stretch system, on which i have permanently activated the NUM-Function via system-settings-keyboard: ""Always numbers in NUM-bloc like MAC" (sel-translation). When at this machine the lamp on the key "NUM" is not lit, and one tries to enter into the telpone nr, the 4th number changes its value one up and slips before the last one. Remedy: turn on the light of the NUM key.

jwolz commented 5 years ago

Original comment by Jonas Wolz (Bitbucket: jonaswolz, GitHub: jwolz).


Which Java version do you use?

Most likely this is some Java bug because I am doing nothing special there (i.e. using the standard UI components from Swing).

jwolz commented 5 years ago

Original comment by Paul Merlin (Bitbucket: [Paul Merlin](https://bitbucket.org/Paul Merlin), ).


Sorry, Jonas, didn’t realize you had answered already!

I have opendjk version “1.8.0_22”

jwolz commented 5 years ago

Original comment by Jonas Wolz (Bitbucket: jonaswolz, GitHub: jwolz).


Finally I installed KDE and can confirm that behaviour.

It clearly is a Java bug, because it shows up even in a minimal Test program (just a JTextArea in a JFrame and nothing else).

Unfortunately it is still present in OpenJDK 12.

So there is not really much I can do about it, because it has to be fixed in Java.

May I ask why you don’t use the setting to turn Num Lock on when Plasma starts?
(Of course that would be a workaround around a bug that should be fixed in Java…)

jwolz commented 5 years ago

Original comment by Jonas Wolz (Bitbucket: jonaswolz, GitHub: jwolz).


Java bug