[digikam] [Bug 382002] New: Lazy synchronization not working

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

[digikam] [Bug 382002] New: Lazy synchronization not working

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

            Bug ID: 382002
           Summary: Lazy synchronization not working
           Product: digikam
           Version: 5.6.0
          Platform: Appimage
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Metadata
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Hello,
I am continuing this thread here:
http://digikam.1695700.n4.nabble.com/Lazy-sync-in-5-6-0-td4696891.html

I don't think Lazy Synchronization is working.

Very easy to reproduce:
1. Select 100 or 200 images
2. Add a title or a caption to all of them
3. Press Apply

Expected behavior:
digiKam isn't doing anything right way waiting for user to "Apply pending
changes to metadata"

Actual behavior:
digiKam rescanning the images and regenerating thumbnails.
Program is not responding while this happening which slows down the workflow.

Terminal looks like this for each file:

First this:

digikam.dimg:
"/mnt/data/FamilyPictures/2017/2017-07/2017-07-03/20170703_115517_117.DNG"  :
RAW file identified
digikam.database: Finishing took 683 ms
digikam.database: Scanning took 2068 ms
digikam.database: Finishing took 579 ms
digikam.database: Scanning took 1820 ms
digikam.database: Finishing took 471 ms

then this:

kipi.plugins: KIPI host send thumb ( QSize(256, 170) ) for
QUrl("file:///mnt/data/FamilyPictures/2017/2017-07/2017-07-03/20170703_115517_117.DNG")
digikam.general: Received new thumbnail for url
QUrl("file:///mnt/data/FamilyPictures/2017/2017-07/2017-07-03/20170703_115517_117.DNG")
. My view is  Digikam::DImagesListView(0x555ed9a0f8a0)

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 382002] Lazy synchronization not working

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Metadata                    |Metadata-Hub

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 382002] Lazy synchronization not working

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

Maik Qualmann <[hidden email]> changed:

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

--- Comment #1 from Maik Qualmann <[hidden email]> ---
Problem with Lazy Synchronization is not reproducible. Lazy Synchronization
writes only to the files if the sync button pressed on the status bar. Or when
you close at end digiKam.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 382002] Lazy synchronization not working

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

--- Comment #2 from Andrius <[hidden email]> ---
(In reply to Maik Qualmann from comment #1)
> Problem with Lazy Synchronization is not reproducible. Lazy Synchronization
> writes only to the files if the sync button pressed on the status bar. Or
> when you close at end digiKam.
>
> Maik

Hello Maik,

Thanks for looking at this issue.
For your convenience I have recorded a video.
Here is the link: https://youtu.be/hMD4-fomSVc
Hopefully it helps.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 382002] Lazy synchronization not working

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

--- Comment #3 from Anders Lund <[hidden email]> ---
I can confirm the rescanning, which I believe is completely unnessecary in this
case. I am not running digikam in a terminal, so I don't know what digikam
prints.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 382002] Lazy synchronization not working

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

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |https://commits.kde.org/dig
                   |                            |ikam/7c9bc9e186346aef30b3fa
                   |                            |83570c8e0cf4e8298b
   Version Fixed In|                            |5.7.0
         Resolution|---                         |FIXED

--- Comment #4 from Maik Qualmann <[hidden email]> ---
Git commit 7c9bc9e186346aef30b3fa83570c8e0cf4e8298b by Maik Qualmann.
Committed on 15/07/2017 at 18:38.
Pushed by mqualmann into branch 'master'.

disable rescan of images when Lazy Sync is enabled
FIXED-IN: 5.7.0

M  +2    -1    NEWS
M  +23   -8    libs/fileactionmanager/fileworkeriface.cpp

https://commits.kde.org/digikam/7c9bc9e186346aef30b3fa83570c8e0cf4e8298b

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 382002] Lazy synchronization not working

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

--- Comment #5 from Andrius <[hidden email]> ---
Please let me know when can I try an updated appimage

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 382002] Lazy synchronization not working

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

--- Comment #6 from [hidden email] ---
Well the problem still here with new AppImage generated : it crash in libudev.
I must fix this before...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.