arduia / ProExpense

Simple free finance note for daily expenses
GNU General Public License v3.0
89 stars 18 forks source link

Title field can't handle long inputs #72

Open Lytjoe opened 2 years ago

Lytjoe commented 2 years ago

Short description

The title-fild in the 'new expense entry' window behaves buggy when you insert more than 20 charecters and try to delete some at the end.

Further description and videos

The bug occures when I try to create a new expense entry with a title which is longer than 20 charecters (which I assume should be the max length for the title). If you type a 21th character the autocorrection is still handling the input and the input is behaving very buggy: If you press the delete button the autocorrection is changing as if you delete the last charecter of the word. Furthermore, you have to 'delete' every charecter till a word ends (a space charecter or the start of the input field is the next char) for the cursor to jumps back to the end of the field. Sometimes the hidden text (and the cursor) even jumps into the middle of the visible part when deleting. As far as I can tell the app doesn't seem to have problems if you delete some charecters in the middle of the input. These bugs occured with the 'Open Board' keyboard from F-Droid: https://user-images.githubusercontent.com/72049717/163677786-c2092b8b-6f04-4b47-b69d-4751443eea8f.mp4 Then I tried the same with the Samsung default keyboard: This keyboard handled the input a bit better but also had his issues when I used a space charecter after 20 charecters: https://user-images.githubusercontent.com/72049717/163677607-d9f57a64-3511-413a-8491-010079f01ea7.mp4

Steps to reproduce the issue:

Technical details

arduia commented 2 years ago

Hi @Lytjoe . Thanks for your effort for finding bugs of the app.