Week #1 - GSoC 2023 Weekly Report - Search Field in Options
Thanks to my ‘Search Field in Options’ project mentors Andreas Heinisch and Heiko Tietze for their time and guidance.
***
Project Report for Week #1
-
First patchset has been submitted: https://gerrit.libreoffice.org/c/core/+/152519
-
Search bar/field added to “Tools > Options” dialog
cui/uiconfig/ui/optionsdialog.ui
:
“Tools > Options”
dialog:
- Search functionality implemented for Options TreeView. (in “Tools > Options”)
- Some technical details
There is a timer that waits the user to stop typing if user types faster than 350ms
. Since searching can be expensive, we shouldn’t perform search for every key press if pressing between two keys are less than 350ms, which will improve the performance.
ImplUpdateDataHdl()
is called for searching:
applySearchFilter(aSearchTerm)
function gets the word in search bar and does the search:
Summary
- First patchset has been submitted: https://gerrit.libreoffice.org/c/core/+/152519
- Search bar/field added to “Tools > Options” dialog.
- Search functionality implemented to Options treeview.
***
Steps for implementing search functionality in “Tools > Options”:
1) Add Search field to “Tools > Options” dialog. | DONE - week #1 |
2) Options treeview. | DONE - week #1 |
3) Sub-tree elements (child nodes). | Next step |
4) Strings(labels) in all dialogs. | ... |
5) Tooltip texts. | ... |
6) Accessible descriptions. | ... |
... | ... |
Additional hack:
- show modified options with some special indicator (as in KDE settings). (better to discuss this idea in a separate ticket)
***
Patch: https://gerrit.libreoffice.org/c/core/+/152519
Project Mentors: Andreas Heinisch and Heiko Tietze (Thanks for their time and guidance)
GSoC project page: https://summerofcode.withgoogle.com/programs/2023/projects/IKtSHIH1
Enhancement request on Bugzilla: https://bugs.documentfoundation.org/show_bug.cgi?id=49895