View Single Post
djdas's Avatar
Posts: 77 | Thanked: 49 times | Joined on Apr 2010 @ Italy
#5
Originally Posted by Ken-Young View Post
Yes, unfortunately this is a bug with the gtk widgets running on Maemo 5. I don't think I can fix it. Luckily, the on-screen keyboard works properly, and even if you must struggle with the hardware keyboard, you normally will not need to re-enter your height and traget weight very often.
Why don't you use Hildon widgets instead of plain GTK widgets? I think the former should integrate better with the whole system. I'll download the source code and in my spare time (very low ATM) I could try to help you contributing some sources (I don't have the build system so I'll try to send some "blind" patches )


Originally Posted by Ken-Young View Post
Hmmm - I've not seen that. Could you email me the contents of the settings file and data file (orrery.moko@gmail.com) so I can try to reproduce the bug and fix it (feel free to change the weight and height data!) ?

Also, if you can dump your data from WeightJinni, I can convert it to the format that maeFat uses, and send it back to you.
Well, I think I have found the problem: enetering only ONE weight data (just one row in the data file) the program doesn't start correctly, I entered 2 or more items and everything worked well.
I noticed there could be two problems:
1) it seems if you don't enter any comment some char pointer goes in buffer overflow because all the other comments in the graph become crap strings (and the data file will be corrupted in strings);
2) there is a strange behaviour with weight amounts, I entered 4 values in 4 different dates but when I reopen the program these values are rounded or something else (i.e I entered 69,5 Kg on February 9th but when I reopen the program, the data chart and the log show only 69 Kg, the same for other values in other days so the log and the chart show uncorrect values);

Don't mind about my current data, I started my weight control program last month and I have only 4 samples
Thank you in advance, bye!