Bug 487270 - Add a keyboard shortcut for searching a room's history
Summary: Add a keyboard shortcut for searching a room's history
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.02.2
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 07:41 UTC by Poscat
Modified: 2025-10-27 22:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Poscat 2024-05-20 07:41:16 UTC
Currently the Ctrl+F shortcut is used for searching for rooms joined, not for searching a room's history and I'm not aware other shortcuts for searching history.

It would be nice to have such a shortcut because the search button is currently not very discoverable (IMO). Preferably Ctrl+F, and use another shortcut for searching for rooms.
Comment 1 Joshua Goins 2024-11-09 22:22:36 UTC
I would add this, but I'm honestly scratching my head on what we could use. CTRL+F is for the room switcher, CTRL+SHIFT+F is for searching members.... CTRL+ALT+F? Or maybe make CTRL+SHIFT+F make it search for messages, I do that way more often than looking for a specific user.
Comment 2 Thiago Sueto 2024-11-17 22:24:04 UTC
I'd argue the most important action would be searching through room history, and thus should be the one with Ctrl+F assigned.

Other chat applications don't care at all about keyboard shortcuts for searching rooms or members: Nheko, Discord and Telegram only have room history search shortcuts (Telegram optionally lets you search through the history of all your rooms as well).

I could see Ctrl+Shift+F for searching rooms since the user may be in more than 20 groups, though the point is weakened by the fact rooms can be organized into spaces and Neochat separates them neatly.

But I don't really see a use case for searching members that is done often enough to warrant a shortcut.
Comment 3 Bug Janitor Service 2025-10-27 20:24:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/2514
Comment 4 Joshua Goins 2025-10-27 22:08:39 UTC
Git commit 1d5536401d70ced3cc9c6cf45fca69d95184db07 by Joshua Goins.
Committed on 27/10/2025 at 22:08.
Pushed by redstrate into branch 'master'.

Make the CTRL+F shortcut search the current room's messages

Right now there's not an easy way to quickly bring up message search. If
you press CTRL+F (with the room information sidebar *closed*, for some
reason) that brings up the same dialog as CTRL+K which seems redundant.

I assigned that shortcut to the message search dialog instead, which is
makes much more sense in my opinion. I also made sure its disabled in
spaces or when there's not a room open.
FIXED-IN: 25.12.0

M  +12   -0    src/app/qml/RoomPage.qml
M  +0    -4    src/rooms/ExploreComponent.qml

https://invent.kde.org/network/neochat/-/commit/1d5536401d70ced3cc9c6cf45fca69d95184db07