-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The program crashes when I paste a last.fm API key into the corresponding input box, and then move my cursor within that box. Pasted text is also not displayed. I could see that being intentional for the secret key, but it's the case for both
To Reproduce
Steps to reproduce the behavior.
- Paste a sufficiently large amount of text into the API key input box:
issues?q=is%3Aissue state%3Aopen lastfm - Press the left key on your keyboard while the box is selected.
Expected behavior
A clear and concise description of what you expected to happen.
The program should probably display the text, and move/change the text displayed when you move the cursor.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- OS: Debian Testing
- Version: Linux 6.12.22
Additional context
Add any other context about the problem here.
Output to /dev/stderr:
thread 'main' panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/unicode-segmentation-1.12.0/src/grapheme.rs:787:29:
byte index 32 is out of bounds of ``
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at library/core/src/panicking.rs:218:5:
panic in a function that cannot unwind
stack backtrace:
0: 0x5559dc67c57f - <unknown>
1: 0x5559dc1d9c43 - <unknown>
2: 0x5559dc67bc72 - <unknown>
3: 0x5559dc67c3e3 - <unknown>
4: 0x5559dc67ba3c - <unknown>
5: 0x5559dc6b5565 - <unknown>
6: 0x5559dc6b54f9 - <unknown>
7: 0x5559dc6b5adc - <unknown>
8: 0x5559db9f864c - <unknown>
9: 0x5559db9f86b5 - <unknown>
10: 0x5559db9f8663 - <unknown>
11: 0x5559dc21e54c - <unknown>
12: 0x7fd69e497c6a - <unknown>
13: 0x7fd69efaaa10 - g_closure_invoke
14: 0x7fd69efbee03 - <unknown>
15: 0x7fd69efc00f2 - <unknown>
16: 0x7fd69efc6666 - g_signal_emit_valist
17: 0x7fd69efc6723 - g_signal_emit
18: 0x7fd69e7558fc - <unknown>
19: 0x7fd69e778973 - gtk_window_propagate_key_event
20: 0x7fd69e77d23b - <unknown>
21: 0x7fd69e497d7a - <unknown>
22: 0x7fd69efaac41 - <unknown>
23: 0x7fd69efbfbf3 - <unknown>
24: 0x7fd69efc6666 - g_signal_emit_valist
25: 0x7fd69efc6723 - g_signal_emit
26: 0x7fd69e7558fc - <unknown>
27: 0x7fd69e60622f - <unknown>
28: 0x7fd69e607f56 - gtk_main_do_event
29: 0x7fd69e3305c9 - <unknown>
30: 0x7fd69e387226 - <unknown>
31: 0x7fd69ee95305 - <unknown>
32: 0x7fd69ee97537 - <unknown>
33: 0x7fd69ee97ca0 - g_main_context_iteration
34: 0x7fd69e1e2edd - g_application_run
35: 0x5559dc153f63 - <unknown>
36: 0x5559dbb8ba73 - <unknown>
37: 0x5559dc17e937 - <unknown>
38: 0x7fd69de3bca8 - <unknown>
39: 0x7fd69de3bd65 - __libc_start_main
40: 0x5559dba1bd6e - <unknown>
41: 0x0 - <unknown>
thread caused non-unwinding panic. aborting.
zsh: IOT instruction psst-gui
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working