-
Notifications
You must be signed in to change notification settings - Fork 241
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
Label edit sometimes adds unremovable newline to label #1164
Comments
Hi, is it possible the screen you have is just relatively small and it line breaks because there is no space? |
No, it's a 4K screen. In the inspector, you can see the line break in the data-label field at line 3, which is translated into a Also, if I query the wallet through To be clear, in the case of "Label\n", I can edit the Label part, but are unable to delete the linebreak. And, as specter is the only editor of labels, it somehow appended the linebreak. To reproduce, you can add an enter in the label field. If that's the last character, that line break is unremovable afterwards. And finally, a strange side-effect: if there is such a linebreak character in the label and while editing the label, pressing the down key loses focus and you can't get back into the edit field without clicking on it. Normal behaviour would send the cursor to the end of the label. |
Thanks, can confirm the issue, I'll work on fixing it. |
Some labels have an added newline character at the end, which cannot be removed by editing the label again.
Unclear on how this happened, but specter-desktop is the only tool I use for labelling.
The text was updated successfully, but these errors were encountered: