Tuba icon indicating copy to clipboard operation
Tuba copied to clipboard

[Request] Remember last used search tab

Open nekohayo opened this issue 2 years ago • 4 comments

Describe the bug

Tuba should automatically remember what search type was last used, so that the user can immediately type a search query in their favorite category (Accounts vs statuses vs hashtags)

Steps To Reproduce

  1. Ctrl+F
  2. Type #GNOME
  3. Switch to hashtags
  4. Select one
  5. Ctrl+F
  6. Notice that "All" is selected

Logs and/or Screenshots

No response

Instance Backend

Mastodon

Operating System

Fedora 38

Package

Flatpak

Troubleshooting information

os: GNOME 44 (Flatpak runtime) prefix: /app flatpak: true version: 0.2.0 (production) gtk: 4.10.1 (4.10.1) libadwaita: 1.3.1 (1.3.1) libsoup: 3.4.0 (3.4.0) libgtksourceview: 5.8.0 (5.8.0)

Additional Context

No response

nekohayo avatar Apr 07 '23 03:04 nekohayo

Thanks for raising this issue!

It should now auto-focus on the entry as of fd09670abf6251d90dbf08a3ccea523f714c1dd5 For the "remember last tab" suggestion, I am not really fond of it as users might search between all three of them in a row so instead I opted for an "All" tab following the official mastodon app

GeopJr avatar Apr 08 '23 15:04 GeopJr

Thanks for that accessibility fix :)

Your enhancement to allow searching for "everything" also is a nice addition.

I'm not sure why remembering the last used tab would be a bad thing (it's pretty convenient if someone mainly always searches for the same thing, or for multiple searches in a row, and otherwise it isn't that much work to switch to the All tab), but eh, if you still think it's not worth having, I guess I can live with that :)

nekohayo avatar Apr 08 '23 15:04 nekohayo

Well, just like you'd rather remember the last selected tab, someone who searches between all three constantly would have a similar complain (like searching for #GNOME then @GeopJr then "my favorite food is"). "All" tab seems like the best middle ground but I'll re-open (and update) this issue for future comments!

GeopJr avatar Apr 08 '23 15:04 GeopJr

Can't remember if something has changed since, but:

Accessing the search view from the sidebar, allows only one instance. If you search something and click on a profile, then the only way to go back to search is by going backwards, which will lead you to the search state you left the search view on (same results and query)

Accessing the search view using ctrl+f open a new search view instance every time

GeopJr avatar Aug 30 '24 19:08 GeopJr