Bug 469879 - [enhancement]: Automatically activate the text entry field when searching in a room
Summary: [enhancement]: Automatically activate the text entry field when searching in ...
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: 23.04.0
Platform: NixOS Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-05-17 02:41 UTC by darhma
Modified: 2023-05-19 13:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description darhma 2023-05-17 02:41:51 UTC
SUMMARY
***
When you select the search in a room, a window opens with a single text entry field to carry out the search, but this field is not automatically activated but you have to select it, it often happens that I activate the search and immediately type the terms forgetting to click on the text input field, in my opinion, since the only thing you can do once the search is activated is to enter the terms the text input field should be activated automatically when the window opens
***


STEPS TO REPRODUCE
1. enter a room
2. select the option to search for messages in the room

OBSERVED RESULT
The search window opens but the text entry field is not active, you need to use the shortcut ctrl+f to activate it or click on it with the mouse

EXPECTED RESULT
As mentioned, I think it would be better if when opening the search window the text entry field was automatically activated, since it is the only element of the window itself that is opened exclusively to enter the search terms

SOFTWARE/OS VERSIONS
Operating System: NixOS 23.05
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.1.27 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-2620M CPU @ 2.70GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000

ADDITIONAL INFORMATION
Thank you for all you do, I find neochat to be a fantastic matrix client and since it has support for encryption and cross signing it has become my desktop client of choice.
Comment 1 Nate Graham 2023-05-17 19:55:56 UTC
Agreed, this is a mild papercut that has annoyed me as well.
Comment 2 Bug Janitor Service 2023-05-18 23:07:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/1009
Comment 3 Nate Graham 2023-05-19 13:17:08 UTC
Git commit 69bfa1394cc9df65ff2cfc5a77229e9d0fb4bcd0 by Nate Graham.
Committed on 19/05/2023 at 13:16.
Pushed by ngraham into branch 'master'.

Focus message search window's search field by default

M  +1    -0    src/qml/Page/SearchPage.qml

https://invent.kde.org/network/neochat/commit/69bfa1394cc9df65ff2cfc5a77229e9d0fb4bcd0
Comment 4 Nate Graham 2023-05-19 13:21:10 UTC
Git commit 5a1a3fbd06ca485396aac493aa29629086411b98 by Nate Graham.
Committed on 19/05/2023 at 13:20.
Pushed by ngraham into branch 'release/23.04'.

Focus message search window's search field by default
(cherry picked from commit 69bfa1394cc9df65ff2cfc5a77229e9d0fb4bcd0)

M  +1    -0    src/qml/Page/SearchPage.qml

https://invent.kde.org/network/neochat/commit/5a1a3fbd06ca485396aac493aa29629086411b98