Bug 353568 - Information panel does not show meta data
Summary: Information panel does not show meta data
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: panels: information (show other bugs)
Version: 16.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-05 17:04 UTC by Sébastien Bardeau
Modified: 2015-10-22 16:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Bardeau 2015-10-05 17:04:47 UTC
Information panel does not show meta data when hovering files. Plus, baloo_file_extractor processes are accumulating (but never end) for each file I hover.


Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Hover a file or folder

Actual Results:  
No metadata is shown in the panel, /bin/baloo_file_extractor processes are accumulating for each hovered file.

Expected Results:  
I should see the metadata


I can also add that baloo_file_extractor does not run either from command line:
$ /bin/baloo_file_extractor --bdata /home/seb

Failed to open the database
Comment 1 Sébastien Bardeau 2015-10-05 21:45:12 UTC
I forgot the versions. Using an up-to-date Fedora 22 with KDE 4.14.11:

Dolphin version:

Name        : dolphin
Arch        : x86_64
Epoch       : 0
Version     : 15.04.2
Release     : 1.fc22
Size        : 2.3 M
Repo        : @System
From repo   : updates
Summary     : KDE File Manager
URL         : https://projects.kde.org/projects/kde/kde-baseapps
License     : GPLv2 and GFDL
Description : This package contains the default file manager of KDE.

Baloo version:

Installed Packages
Name        : kf5-baloo-file
Arch        : x86_64
Epoch       : 0
Version     : 5.14.0
Release     : 1.fc22
Size        : 493 k
Repo        : @System
From repo   : updates
Summary     : File indexing and search for Baloo
URL         : https://projects.kde.org/projects/kde/kdelibs/baloo
License     : LGPLv2+
Description : File indexing and search for Baloo.
Comment 2 Frank Reininghaus 2015-10-06 15:50:47 UTC
Thanks for the bug report. Please note that Dolphin 15.04 is incompatible with the KF5 version of Baloo. You must install a kdelibs 4.x-based version of Baloo to make it work. If you cannot find such a package, please ask in a forum or mailing list of your distro. If that does not help, then it might be worth asking at https://forum.kde.org/ if someone there knows how to fix this (I'm not familiar with Fedora myself).
Comment 3 Sébastien Bardeau 2015-10-20 23:24:35 UTC
Reproducing the bug is as easy as:
- create a fresh new user account. Metadata is correctly shown in Dolphin panel.
- disable File Search in the System Settings. Metadata is not shown anymore.
- reenable File Search. Metadata is back.

As far as I could read here and there, there is an "on-the-fly" mode (i.e. no metadata read/saved in a database) for the baloo_file_extractor when file indexing is disabled, but this seems broken here...

(In reply to Frank Reininghaus from comment #2)
> Thanks for the bug report. Please note that Dolphin 15.04 is incompatible
> with the KF5 version of Baloo. You must install a kdelibs 4.x-based version
> of Baloo to make it work. If you cannot find such a package, please ask in a
> forum or mailing list of your distro. If that does not help, then it might
> be worth asking at https://forum.kde.org/ if someone there knows how to fix
> this (I'm not familiar with Fedora myself).

The package manager says:

# dnf provides "*/baloo_file_extractor"
kf5-baloo-file-5.14.0-1.fc22.x86_64 : File indexing and search for Baloo
Dépôt               : @System

baloo-file-4.14.3-1.fc22.x86_64 : File indexing and search for baloo
Dépôt               : fedora

This means there are a "kf5" and a "non-kf5" package providing the file  baloo_file_extractor. However, when trying to install the non-kf5 one:

# dnf install baloo-file
Error : installed package kf5-baloo-file-5.14.0-1.fc22.x86_64 obsoletes baloo-file < 5.0.1-2 provided by baloo-file-4.14.3-1.fc22.x86_64

Basically the baloo-file package is obsolete and has been replaced by kf5-baloo-file. Does this mean the build provided by Fedora is incorrect? Should I make bug report to them?
Comment 4 Frank Reininghaus 2015-10-22 16:47:32 UTC
(In reply to Sébastien Bardeau from comment #3)
> Basically the baloo-file package is obsolete and has been replaced by
> kf5-baloo-file. Does this mean the build provided by Fedora is incorrect?
> Should I make bug report to them?

Probably yes.