Difficulty to dismiss hashtag popup
Describe the bug
The hashtag popup does not disappear when you click with the mouse anywhere within the message box.
This breaks with expected behavior of things like similar right-click context popup menus.
Further, pressing Esc with that popup open cancels the entire message.
The problem occurs quite a bit due to the current behavior of default Mastodon to put hashtags written last under attached media (with special formatting to boot), so when you've finished composing a message in Tuba it often looks like this (ie post button is obscured):
Steps To Reproduce
- Compose a new message.
- Type a hashtag.
- Try to close the hashtag popup (without selecting a hashtag or typing something).
Logs and/or Screenshots
<paste your logs here>
Instance Backend
glitch-soc
Operating System
Nobara Linux 42
Package
Flatpak
Troubleshooting information
os: GNOME 48 (Flatpak runtime) prefix: /app flatpak: true version: 0.10.2 (production) gtk: 4.18.6 (4.18.6) libadwaita: 1.7.6 (1.7.6) libsoup: 3.6.5 (3.6.5) libgtksourceview: 5.16.0 (5.16.0) libspelling: true Clapper: 0.8.0 (0.8.0) GStreamer: GStreamer 1.24.12 (1.12.24.0) GExiv2: 1502 (0.15.2)
Additional Context
No response
Just discovered that if there's an image attach to the post, and your hashtag is at the end of a line and short enough to not cover that image, you can click in the image to dismiss the popup. It's just the text box which doesn't dismiss it apparently (still bad).
The hashtag popup does not disappear when you click with the mouse anywhere within the message box.
Can't reproduce from my side, clicking anywhere in the text box will make it dissapear, unless you mean anywhere but the textbox
Further, pressing Esc with that popup open cancels the entire message.
Partially duplicate of #420 which also has a comment on why this is like that
This breaks with expected behavior of things like similar right-click context popup menus.
While I'll take a closer look, I don't have super high hopes. I don't have too much access on these and they were made mostly for GNOME Builder's syntax auto-complete (we kinda abuse them for a completely different use case here).
so when you've finished composing a message in Tuba it often looks like this (ie post button is obscured)
Regardless, my suggestion is to just press space when you are done, which should make it disappear.