[digikam] [Bug 358577] New: Git master 2016-01-10 - Maintenance tool filters not working

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

[digikam] [Bug 358577] New: Git master 2016-01-10 - Maintenance tool filters not working

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

            Bug ID: 358577
           Summary: Git master 2016-01-10 - Maintenance tool filters not
                    working
           Product: digikam
           Version: 5.0.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]

I have serious issues with thumbnails, both in the QT4 version of digikam, and
the recent beta.
I have noticed this specific bug before in the QT4 version, but since the QT5
version of digikam is slightly better at thumbnailing, I have uploaded a clip
showing the issue here.

https://youtu.be/1Mse6guHoro

In short, I can see that one of the thumbnails for a clip is wrong. I suspect
that the clip got the wrong thumbnail due to a race condition that I created
when importing from two sources at once. ( I don't suppose many people hit this
bug )

Pressing F5 while the album is selected I would expect to see a refresh of that
album, but that does not work.
I then go into the maintenance tools, and select just that folder, and "rebuild
thumbnails" When I then click OK, the process returns instantly, and the
folder's thumbnails are not updated.

Since I have terabytes of pictures and video, I am reluctant to rebuild the
entire thumbnail database.

Reproducible: Always

Steps to Reproduce:
1. Select Maintenance tools.
2. Select one folder only, no tags.
3. Select "Rebuild Thumbnails"
4. Select "OK"

Actual Results:  
Thumbnails for the selected folder are not re-built

Expected Results:  
Re-built thumbnails.

I am running on Arch Linux, and rebuilding digikam from git is no sweat, so I
am willing to test any fixes almost as soon as they hit git.

--
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 358577] Git master 2016-01-10 - Maintenance tool filters not working

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

--- Comment #1 from Evert Vorster <[hidden email]> ---
Oh, and the slider at the bottom of video clips don't work either.

;)

--
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 358577] Maintenance tool rebuild thumbnails not working for video files

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Summary|Git master 2016-01-10 -     |Maintenance tool rebuild
                   |Maintenance tool filters    |thumbnails not working for
                   |not working                 |video files
          Component|general                     |Thumbnails

--
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 358577] Maintenance tool rebuild thumbnails not working for video files

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

--- Comment #2 from [hidden email] ---
video files support is delegate to Qt5::Multimedia. There is no code in digiKam
to handle video file directly.

It know that  Qt5::Multimedia has problem with GStreamer. It must be fixed with
qt 5.5.x

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 358577] Maintenance tool rebuild thumbnails not working for video files

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

--- Comment #3 from Evert Vorster <[hidden email]> ---
The thumbnails for this folder is cached.

In the maintenance tool, when selecting the entire database, and selecting
"Rebuild Thumbnails" All of the thumbnails are re-built.
When selecting only one folder, NO thumbnails are re-built.

How is this the fault of QT5?

--
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 358577] Maintenance tool rebuild thumbnails directory filter not working

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

Evert Vorster <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Maintenance tool rebuild    |Maintenance tool rebuild
                   |thumbnails not working for  |thumbnails directory filter
                   |video files                 |not working

--
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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

Evert Vorster <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Maintenance tool rebuild    |Maintenance tool rebuild
                   |thumbnails directory filter |thumbnails directory filter
                   |not working                 |not working on video files

--
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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

--- Comment #4 from Evert Vorster <[hidden email]> ---
Hmm, hitting refresh on an album with photos in does indeed refresh the
thumbnails of the photos, but not videos, so this behaviour is specific to
video clips.

So, how can I tell DigiKam to re-do one thumbnail of a video clip?

Opening the folder in Dolphin shows the correct thumbnail, so DigiKam has a
thumbnail cached somewhere, and in this case it's for the wrong clip.

--
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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

--- Comment #5 from [hidden email] ---
digiKam do not share thumbnail with the rest of KDE. It use a dedicated
database with waveltes compression to optimize space and support removable
media.

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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

[hidden email] changed:

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

--- Comment #6 from [hidden email] ---
Maik,

You don't have fixed this kind of dysfunction in the past, especially with last
Qt4 implementation ?

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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

--- Comment #7 from Maik Qualmann <[hidden email]> ---
Everything works here correctly.

Have you Dolphin4 or Dolphin5 installed? You must have installed a thumbnailer
for Qt5. My package for Qt5 is ffmpegthumbs.

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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

--- Comment #8 from Maik Qualmann <[hidden email]> ---
(In reply to Evert Vorster from comment #1)
> Oh, and the slider at the bottom of video clips don't work either.

Yes, is already on my TODO list.

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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

--- Comment #9 from Evert Vorster <[hidden email]> ---
I have QT5 thumbnailer installed.

How else would I get the thumbnails in the first place?

A little bit of history...
DigiKam 4.xx started failing on thumbnails for video recently, and so I
installed DigiKam 5.0.0.
I re-built my entire data base's thumbnails, and it took many hours.
Everything looked to be fine.

Then I imported from two sources at once, my wife's phone and an SD card
reader.
One of the video thumbnails is incorrect in DigiKam only, and shows correct on
Dolphin. (5)
Refreshing the album does not fix the thumbnail in DigiKam.

Using the maintenance tools also does not delete the cached thumbnail.

I do not want to delete ALL my thumbnails again, since it will take a very long
tie to re-create all of them. It should be easy to delete a thumbnail and let
DigiKam re-create it as if it is a new file.

Heeeey, I just found an easy workaround.
I navigated to the directory in a console, and just touched the file with bad
thumbnail.
DigiKam then re-created the thumbnail, and got it right this time.
:)

--
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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.0.0
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/69c310486b843f3c5dc4a40
                   |                            |ead37bea63fc75282

--- Comment #10 from Maik Qualmann <[hidden email]> ---
Git commit 69c310486b843f3c5dc4a40ead37bea63fc75282 by Maik Qualmann.
Committed on 04/02/2016 at 18:23.
Pushed by mqualmann into branch 'master'.

include video files in the maintenance tool rebuild thumbnails
FIXED-IN: 5.0.0

M  +3    -2    utilities/maintenance/thumbsgenerator.cpp

http://commits.kde.org/digikam/69c310486b843f3c5dc4a40ead37bea63fc75282

--
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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

--- Comment #11 from Evert Vorster <[hidden email]> ---
I can confirm the fix.
Thanks for the work!

--
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 358577] Maintenance tool rebuild thumbnails directory filter not working on video files

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Thumbs-Image                |Thumbs-Video

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