New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extending password entry leads to panic when password revealer is clicked #2036
Comments
I have not looked at the bug yet, but as a workaround, fyne 2.0.0 and later has the |
Just a thought. Does it work if you set like this, I mean:
This was just a thought I had because I know that extending things in Go can be a bit tricky at times. Might not make any difference. |
This may have been fixed by recent focus work, but I suspect there is a line in our password widget that forgot it may be extended. |
@Jacalz : I tried your suggestions. Using the I also tried assigning the @andydotxyz : Thanks for the info. Thank you both for your assistance and please do let me know if I can help tracking this bug down. |
Fixed on |
Describe the bug:
I want users to be able to submit a username and password with a keypress (enter/return). Following the excellent tutorial on handling keypresses, I was able to do so. However, if the user clicks the password revealer, the app panics due to a segfault:
It seems that embedding and using an entry with the password revealer causes it to panic on click. I am not sure if this also happens for other
ActionItem
s; I have only tested it in this one case.To Reproduce:
Run the example code and click each password revealer. The first two (which are not extended/embedded) work fine, but the second two (which are extended/embedded) both cause a panic on click.
Screenshots:
Example code:
In this example code I don't add any functions to the extended entry -- in the real app there would be a method to handle key presses.
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: