-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Bug]: Hashtags autocompletion / keyword popularity statistics popover breaks when editing a hashtag that is followed by regular words #920
Comments
"overwriting" (i.e. ctrl+shift+left to select the whole word, then just type a replacement) also breaks in new and exciting ways ;) breaking.tuba.autocompletion.by.editing.2024.edition.part.2.webm |
What did past me mean by this: // If end is ':', everything until
// a newline will be treated as a word
if (end.get_char () != ':')
end.forward_word_end (); |
the comment is wrong, the comment doesnt even tell me why |
The main issue is that i'm fighting both the completionprovider and pango, I'm going to rewrite this again, but any input would be appreciated: When replacing, we'll add a space at the end if there's not one already Hopefully it won't have too much of a performance impact |
Please try #1003 to see if this issue and #779 and any other papercuts you have with the auto complete are fixed I do NOT like it at all 😩 Please tell me if you notice any performance regressions while typing. Having to fight both pango and sourceview leaves me with having to detect word bounds and triggers every time the text input changes. |
The fix seems to work very well in practice; I haven't tested on my AMD graphics desktop yet, but at least on Intel Kabylake graphics & CPU, it feels fast, no noticeable slowdown whether I'm typing slowly or mashing keys. |
Describe the bug
This is the 2024 Edition™ follow-up to #660 :)
The hashtags autocompletion+stats widget can still break under some circumstances: It does not like me changing my mind and using backspace + rewriting an existing hashtag in a draft. This occurs frequently when trying to iteratively figure out the best hashtag to use while drafting.
Symptoms (as observed in the video below):
Steps To Reproduce
See demonstration video below. Basically:
Logs and/or Screenshots
breaking.tuba.autocompletion.by.editing.2024.edition.webm
Instance Backend
Mastodon
Operating System
Fedora 39
Package
Flatpak
Troubleshooting information
os: GNOME 46 (Flatpak runtime)
prefix: /app
flatpak: true
version: 0.7.2 (production)
gtk: 4.14.1 (4.14.1)
libadwaita: 1.5.0 (1.5.0)
libsoup: 3.4.4 (3.4.4)
libgtksourceview: 5.12.0 (5.12.0)
Additional Context
No response
The text was updated successfully, but these errors were encountered: