[Bug 188925] New: Update of image metadata occurs in foreground.

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

[Bug 188925] New: Update of image metadata occurs in foreground.

Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925

           Summary: Update of image metadata occurs in foreground.
           Product: digikam
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Fedora RPMs

I selected 2000 images, then applied a tag.

I then could do nothing else while digikam updated the images.

Expected behaviour:

Image metadata is handled by a background process, and the program remains
ready to serve user.

Implementing ideas:
* Database is updated immediately.  Database has flags indicating that images
are not in sync.
* Changes in metadata are also written to a journal file.
* Updater program is started.  It starts reading journal entries, writing them
to the files, and clearing the journal entries.

If updater runs as a separate process then it can finish after digikam closes.

For the duration of the updater process, the affected pictures are flagged as
not being in sync.  If user edits a picture, then updater skips the data for
that pic, coming back later.

If program halts, then journal is left un-run.  Updater is started on next
start of digikam.

Would this work?

--
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 188925] Update of image metadata occurs in foreground.

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


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata
            Version|unspecified                 |0.10.0




--
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 188925] Update of image metadata occurs in foreground.

Marcel Wiesweg
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925


Marcel Wiesweg <[hidden email]> changed:

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




--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-04-11 17:20:00 ---
I have been thinking to moving this process out of the main thread as well, but
going for an easier approach. Digikam can just do this in a separate thread and
almost refuse to close if it is still working when the user closes it. Putting
flags in the database is a solution that requires a lot of work and overhead.

--
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 188925] Update of image metadata occurs in foreground.

Marcel Wiesweg
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-05 18:19:37 ---
Progress update:
For all such actions originated from the main icon view, a thread is used.
Sidebars still use the old method and will do this probably until they are
ported to model/view (post 1.0).
Check at shutdown is TODO.

--
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 188925] Update of image metadata occurs in foreground.

Gilles Caulier-4
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925


Gilles Caulier <[hidden email]> changed:

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




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-12-16 16:18:50 ---
Marcel,

What's new about this file ?

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 188925] Write image metadata in background with user feedback

Gilles Caulier-4
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Update of image metadata    |Write image metadata in
                   |occurs in foreground.       |background with user
                   |                            |feedback




--
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 188925] Write image metadata in background with user feedback

Gilles Caulier-4
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925


Gilles Caulier <[hidden email]> changed:

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




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2011-12-16 16:22:41 ---
*** Bug 266684 has been marked as a duplicate of this bug. ***

--
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 188925] Write image metadata in background with user feedback

Gilles Caulier-4
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |283013




--
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 188925] Write image metadata in background with user feedback

Gilles Caulier-4
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925

--- Comment #5 from Gilles Caulier <[hidden email]> ---
Marcel,

with all improvements done with ProgressManager and Maintenance tool, this
report can be considerate as solved, i think...

Sherwood,

Do you tried to use last digiKam 3.5.0 ?

Gilles Caulier

--
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 188925] Write image metadata in background with user feedback

Gilles Caulier-4
In reply to this post by Sherwood Botsford-3
https://bugs.kde.org/show_bug.cgi?id=188925

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |4.3.0
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #6 from Gilles Caulier <[hidden email]> ---
Maintenance tool as since a while a Matadata Synchronizer which can be used in
background an support multithreading and multicore CPU with a feedback given
through Progress Manager.

Gilles Caulier

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