Bug 315796

Summary: You can only alter your querry once
Product: [Applications] dolphin Reporter: Andy <sxxe>
Component: searchAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: me
Priority: NOR    
Version: 2.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.4

Description Andy 2013-02-26 09:54:26 UTC
Hi, 
when using this query in dolphin:

nepomuksearch:/lastModified>2013-01-01

It works for the first time, but when you alter it to an other date like this:

nepomuksearch:/lastModified>2012-03-06

and hit ENTER it jumps back to the first search.
You have to restart dolphin to be able to do an altered search.

Thx
Comment 1 Vishesh Handa 2013-02-26 10:02:38 UTC
This seems to be a bug in Dolphin where the nepomuksearch header is not updated, and it shows the header from the earlier query.

The query results seem to be correct.
Comment 2 Vishesh Handa 2013-05-13 09:16:44 UTC
Git commit 2c68fe33ca8c08f52b1c3e72976ebcfdde7597f8 by Vishesh Handa.
Committed on 06/05/2013 at 15:48.
Pushed by vhanda into branch 'KDE/4.10'.

DolphinSearchBox setReadOnly: Update if either of the parameters change

This way when another read only query is added, the internal state is
changed and the search label gets updated.

REVIEW: 110324
FIXED-IN: 4.10.4

M  +1    -1    dolphin/src/search/dolphinsearchbox.cpp

http://commits.kde.org/kde-baseapps/2c68fe33ca8c08f52b1c3e72976ebcfdde7597f8