[Bug 285521] New: Allow search by time of day

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] New: Allow search by time of day

Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

           Summary: Allow search by time of day
           Product: digikam
           Version: 2.2.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Searches
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.2.0 (using KDE 4.4.3)
OS:                Linux

digiKam should provide a way to search pictures by the time of day the picture
was taken, for example (in prose) "all pictures taken between 5 am and 8 am".

Together with tags etc. this would allow things like "give me all pictures of a
tree during late afternoon" (I realize that this wouldn't be exact science
since the times change with the seasons, however it would be a great tool to
narrow down some searches).

Reproducible: Didn't try

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=285521


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-11-02 05:40:49 ---
TimeLine tool can do exactly what you need. Do you tried it ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Ananta Palani
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521


Ananta Palani <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #2 from Ananta Palani <anantapalani gmail com>  2011-11-02 13:38:14 ---
Doesn't the TimeLine tool just let you group by specific
Days/Weeks/Months/Years?

I think what Andreas wants is the ability to choose a specific time across all
days and then filter by tags. So part of advanced search, I suppose?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Gilles Caulier-4
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521





--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-11-02 13:46:21 ---
Ananta,

Yes, i understand that, but Timeline is a search tool outside advanced search
to simplify query on database.

Of course Timeline search cannot by add to an Advanced Search query.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Ananta Palani
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521





--- Comment #4 from Ananta Palani <anantapalani gmail com>  2011-11-02 14:08:47 ---
Gilles,

How do you find all photos taken between 12:00 pm and 1:00 pm using Timeline?

-Ananta

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Gilles Caulier-4
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2011-11-02 14:11:56 ---
With TimeLine, you cannot. Granularity is mimited to Day.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Ananta Palani
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521





--- Comment #6 from Ananta Palani <anantapalani gmail com>  2011-11-02 14:19:21 ---
Gilles,

This granularity is what Andreas is interested in. He wants to be able to find
all photos from a specific time range, regardless of day. I asked about
TimeLine because in Comment #1 you said that this was possible.

-Ananta

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Bugzilla from af+kde@chaos-agency.de
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521





--- Comment #7 from Andreas Ferber <af+kde chaos-agency de>  2011-11-02 20:12:59 ---
Hi,

Even disregarding the granularity, timeline (or the date range search options
in advanced search) isn't really what I want. In more general terms, I want to
(almost) arbitrarily mask out certain parts of the timestamp and match against
the remaining bits.

To give another example, suppose you want to find all pictures you have ever
taken during winter. Sure, you could set timeline to month granularity and
manually select December, January and February in each year you have pictures
from. For one or two years, this would be somewhat manageable, but think about
10 or 20 years... And even then, you couldn't combine this with other criteria
(at least without a boatload of ORed together criteria in advanced search).

With my proposal, in advanced search you would select "Month only" as the
timestamp part, enter the three winter months from above (multiple select
maybe?), and be done with it, regardless if your collection spans 1, 10 or 100
years.

You could maybe add some sort of season tags to your photos, but why do it if
the timestamp already contains this information? And what if tomorrow you would
like to find pictures from around christmas? Add that as a tag as well?

I hope those examples show what a versatile search feature this would be, much
more than the current "date range" or timeline approach.

Andreas

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Allow search by time of day

Marcel Wiesweg
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521





--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-11-02 21:09:17 ---
The SQL implementation of this can be interesting. Currently, we search for
specific points in time and can thus use simple less than / greater than.
With this request, a relevant part would need to be extracted from the date.
With SQLite, I assume built-in functions could help:
http://sqlite.org/lang_datefunc.html
Probably, a MySQL implementation would differ.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 285521] Search by time of day

Gilles Caulier-4
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Allow search by time of day |Search by time of day




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 285521] Search by time of day

Gilles Caulier-4
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

--- Comment #9 from Gilles Caulier <[hidden email]> ---
Maik,

This file is to extend Advanced search tool. There is a field named Date in
Pictures Properties section (return pictures created between date1 and date2).

Currently granularity if limited to day.

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 285521] Search by time of day

Maik Qualmann
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #10 from Maik Qualmann <[hidden email]> ---
Created attachment 93263
  --> https://bugs.kde.org/attachment.cgi?id=93263&action=edit
datetimesearch.patch

This patch adds a time edit field to the date search.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 285521] Search by time of day

Maik Qualmann
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

--- Comment #11 from Maik Qualmann <[hidden email]> ---
Created attachment 93264
  --> https://bugs.kde.org/attachment.cgi?id=93264&action=edit
datetimesearch.png

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 285521] Search by time of day [patch]

Maik Qualmann
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Search by time of day       |Search by time of day
                   |                            |[patch]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 285521] Search by time of day [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

--- Comment #12 from Gilles Caulier <[hidden email]> ---
Patch is fine for me.

Gilles

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 285521] Search by time of day [patch]

Maik Qualmann
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/4d91a65c8caf3d97e8a74bf
                   |                            |93f0d3aa52d883769
   Version Fixed In|                            |4.12.0

--- Comment #13 from Maik Qualmann <[hidden email]> ---
Git commit 4d91a65c8caf3d97e8a74bf93f0d3aa52d883769 by Maik Qualmann.
Committed on 21/06/2015 at 06:37.
Pushed by mqualmann into branch 'master'.

apply patch #93263 to adds a time edit field to the date search in the advanced
search
FIXED-IN: 4.12.0

M  +2    -1    NEWS
M  +1    -1    app/date/ddateedit.cpp
M  +10   -28   utilities/searchwindow/searchfields.cpp

http://commits.kde.org/digikam/4d91a65c8caf3d97e8a74bf93f0d3aa52d883769

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 285521] Search by time of day [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from af+kde@chaos-agency.de
https://bugs.kde.org/show_bug.cgi?id=285521

--- Comment #14 from Gilles Caulier <[hidden email]> ---
Git commit f6181a9aabe5e70a6a6753762c8ac9f0cf91ef09 by Gilles Caulier.
Committed on 21/06/2015 at 09:58.
Pushed by cgilles into branch 'frameworks'.

backport commit #4d91a65c8caf3d97e8a74bf93f0d3aa52d883769 from git/master to
frameworks branch

M  +4    -3    app/date/ddateedit.cpp
M  +3    -3    app/date/ddateedit.h
M  +11   -22   utilities/searchwindow/searchfields.cpp

http://commits.kde.org/digikam/f6181a9aabe5e70a6a6753762c8ac9f0cf91ef09

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel