[digikam] [Bug 360485] New: digikam rescans image collection after change of time zone

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

[digikam] [Bug 360485] New: digikam rescans image collection after change of time zone

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360485

            Bug ID: 360485
           Summary: digikam rescans image collection after change of time
                    zone
           Product: digikam
           Version: 5.0.0
          Platform: Chakra
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Database-Scan
          Assignee: [hidden email]
          Reporter: [hidden email]

I'm not sure it this is a bug or a feature, what I know it happens already for
ages, at least version 3.x.

Every time I change time zone - e.g. from UTC to Central European time - on my
system digikam starts rescanning my image collection even though neither the
database nor the image folder have been touched or changed. This is a bit of a
nuisance since with big image collections it can take a while.

BTW, both my image folder as well as the database are on an external USB
harddrive.

Reproducible: Always

Steps to Reproduce:
1. change time zone
2. connect harddrive
3. start digikam - you better do it from a terminal to see what digikam -> see
this bug https://bugs.kde.org/show_bug.cgi?id=360474 

Actual Results:  
Digikam scans the whole collection again.

Expected Results:  
Digikam should just start in the normal way it does without changing time zone.

I'm not sure when I recognized this behaviour the first time, but I think after
changing from version 2.x to 3.x.

--
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 360485] digikam rescans image collection after change of time zone

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360485

Maik Qualmann <[hidden email]> changed:

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

--- Comment #1 from Maik Qualmann <[hidden email]> ---
If the time zone is changed, the modification date of files is changed.
Therefore digiKam starts a rescan.

date -r test.jpg  => Fr 20. Nov 22:41:35 CET 2015
timedatectl set-timezone America/New_York
date -r test.jpg  => Fr 20. Nov 16:41:35 EST 2015
timedatectl set-timezone Europe/Berlin
date -r test.jpg  => Fr 20. Nov 22:41:35 CET 2015

I see at the moment is no easy way to change this. Date / time store in DB as
UTC and only users visible entries convert to local date / time?

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 360485] digikam rescans image collection after change of time zone

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360485

--- Comment #2 from Knut Hildebrandt <[hidden email]> ---
(In reply to Maik Qualmann from comment #1)
> If the time zone is changed, the modification date of files is changed.
> Therefore digiKam starts a rescan.
Thanks for the explanation. Already guessed that this was the reason.
But honestly, modification time does not really change. It only looks
differently.

> I see at the moment is no easy way to change this. Date / time store in DB
> as UTC and only users visible entries convert to local date / time?
Maybe that could help. Or an algorithm, that detects that modification time
not really has changed.

Knut

--
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 360485] Prevent to rescans image collection after to change of system time zone

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360485

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Summary|digikam rescans image       |Prevent to rescans image
                   |collection after change of  |collection after to change
                   |time zone                   |of system time zone

--
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 360485] Prevent to rescans image collection after to change system time zone

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=360485

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Prevent to rescans image    |Prevent to rescans image
                   |collection after to change  |collection after to change
                   |of system time zone         |system time zone

--
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