geteduroam / windows-app

Windows application for geteduroam
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Password boxes cleared while logging in #15

Open stveit opened 3 years ago

stveit commented 3 years ago

If you press backspace while the app is trying to connect in the login screen and the username/password boxes are disabled, the password box will be cleared.

This bug appeared after fixing the problem of being able to navigate with backspace. I think it might be connected with this, as a passwordbox will be cleared upon navigation (trait of the PasswordBox), so I think that before the fix in commit ed10108afaa9d06bbb66885b7e214f8c8a659a94 cancelles the event, the PasswordBox receives the event, uses it to clear the passwordbox but then the navigation itself is stopped.

This is just my speculations, might also be something entirely different.