Fields in screen new checkbook too narrow
Brought to you by:
fathzer
Yapbam : 0.20.6
Java: 1.6.0 Build 27
OS: -eCS 1.2 (eComStation: distribution of OS/2)
During translation I had difficulty with creating a new checkbook. The presented screen does have fields which are way to narrow to do something usefull with it. Enclosed screen print. Mind that parts are already translated to Dutch.
Anonymous
Hello,
I tried with various appearence settings ("File" menu then "Preferences", then "Appearence" tab). I changed the font, the theme, the font size. I reduced my screen resolution to 640x480. I tried on Linux, on Windows. No way to reproduce this behavior.
I've made a fix (?) on something I found strange in the code ... but I can't verify it fixes anything.
This "blind" fix will be included in next version. Please tell me if you want to make a test on your side, I'll send you a preview version.
Regards,
Jean-Marc Astesana
Last edit: Fathzer 2018-11-04
Hello Jean-Marc,
Thank you for your answer and thank you for testing. Never touched the
appearence tab. Tried it, indeed no change. If you make a new
sub-transaction, then everything is presented as expected, except for
the field amount (TransactionDialog.amount), which is too small to get
anything in it. The field "TransactionDialog.description" is almost as
wide as the popup. If it would be a bug in our JVM implementation, then
this field would also have the same wide as "TransactionDialog.amount",
but this is not the case. What I do see is that after the field
"TransactionDialog.amount" you have a check box with the text
"TransactionDialog.receipt". It might be that this is the cause for
truncation of the field amount.
If I go to "Administration", then "Accounts management", choose current
account. You will have options available for Payment modes and
Checkbooks. In Payment modes I can click on "New" and I do get a normal
popup screen with usable fields, not shortened. The filed "name" is wide
enough to do something useful with it. However the other side in
Checkbooks I can click too on "New", but now I get a popup with four
fields "Prefix", "Number of the first check:", "Number of checks:" and
"Next check's number:". And all fields are too narrow to get something
in it.
Now suppose your right, its a bug in our JVM, then the popup after
clicking "New" in Payment should show the same problems as with
Checkbook after clicking "New". But it doesn't, the popup of the left
option shows as supposed and the popup of the right option is in a way
truncated. To me it looks like a bug somewhere in your source.
Thank you for your time,
Regards,
Joop Nijenhuis
Op 4-11-18 16:59, Fathzer schreef:
Related
Bugs:
#107Maybe it's a bug in Yapbam's source code, but it works on Windows, Linux and MacOs, on all java versions. I tested myself on java 8 for these 3 OS.
It's the reason why I suggested the OS/ JVM has a different behavior on the "strange things (let say bugs) in my code" which may ends up with the display problems you have.
I released v0.20.8 with my "blind fixes" included.
Could you check if it changes something?
Regards,
Jean-Marc
Hello Jean-Marc,
Downloaded v.0.20.8. Some directories changed in the jar. I updated the
language files as far as I have it.
Tested >Administration>Accounts management>Checkbooks>New
Result a normal popup with four fields with enough room to do something.
Did fill in a fantasy checkbook and this works. So one "bug" down ;-),
thank you for this fix.
New Sub transaction does still have a very small field for amount, but I
don't know if you did fix this.
Regards,
Joop
Op 11-11-18 18:01, Fathzer schreef:
Related
Bugs:
#107Hello,
I applied the same fix to bugs n° 106, 107 and 108.
I'm sorry it didn't fix some of the problems on OS/2 platform.
Since it is impossible for me to reproduce these problems, I am unable to solve them. Any patch proposal will be welcome.
Best regards,
Jean-Marc