Review Request 112589: Use the Nepomuk Query Builder widget to add syntax-highlighting in Dolphin search

Hrvoje Senjan hrvoje.senjan at gmail.com
Wed Sep 10 12:01:39 BST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/112589/#review66178
-----------------------------------------------------------



dolphin/src/search/dolphinsearchbox.cpp
<https://git.reviewboard.kde.org/r/112589/#comment46170>

    this looks wrong? other defintions use HAVE_BALOO


- Hrvoje Senjan


On Sept. 10, 2014, 10:19 a.m., Denis Steckelmacher wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/112589/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2014, 10:19 a.m.)
> 
> 
> Review request for Dolphin.
> 
> 
> Repository: kde-baseapps
> 
> 
> Description
> -------
> 
> When Dolphin is compiled with Nepomuk support, this patch replaces the plain line edit in which the user enters a search query with the new auto-completed QueryBuilder widget.
> 
> The user interface of the widget is shown in http://steckdenis.be/static/images/dolphin-query-builder.png .
> 
> The QueryBuilder widget can be found in the "steckdenis-gsoc2013" branch of nepomuk-widgets. You will also need the "steckdenis-gsoc2013" branch of nepomuk-core. This patch is not yet ready for merging as we have to wait that my other branches get merged in nepomuk-core and nepomuk-widgets. Some small changes in the API of the QueryBuilder are still possible.
> 
> 
> Diffs
> -----
> 
>   dolphin/src/search/dolphinsearchbox.h 53b12ff 
>   dolphin/src/search/dolphinsearchbox.cpp ae93030 
>   dolphin/src/CMakeLists.txt fec365a 
> 
> Diff: https://git.reviewboard.kde.org/r/112589/diff/
> 
> 
> Testing
> -------
> 
> Compiling with the CMake variable WITH_NepomukWidgets set to ON is possible and the resulting Dolphin works as expected (the query builder widget is displayed and queries can be entered in it). When this variable is set to OFF, Dolphin still builds and runs correctly, except that there is no auto-completion available.
> 
> The only problem is that even without the patch (and Nepomuk enabled system-wide and at compile time), Dolphin does not seem to use Nepomuk queries. Every search operation is slow and there is a huge amount of disk activity. Nepomuk queries like "modified last week" work perfectly well in KRunner. This problem (likely due to a misconfiguration on my desktop as it is present in Dolphin master and Dolphin 4.11, with Nepomuk-Core master or 4.11) prevents me from testing that queries entered in the query builder actually work. Can somebody with a working dolphin test that ?
> 
> 
> Thanks,
> 
> Denis Steckelmacher
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20140910/e485b713/attachment.htm>


More information about the kfm-devel mailing list