Bug 23194 - KDE applications (e.g. Dolphin) can't extract file metadata when Baloo file indexing is disabled
Summary: KDE applications (e.g. Dolphin) can't extract file metadata when Baloo file i...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: KDE maintainers
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2018-06-18 12:02 CEST by Rémi Verschelde
Modified: 2018-06-20 01:43 CEST (History)
1 user (show)

See Also:
Source RPM: baloo-widgets-17.12.2-1.mga6
CVE:
Status comment:


Attachments

Description Rémi Verschelde 2018-06-18 12:02:31 CEST
When Baloo's file indexing is disabled (default setting on Mageia 6(*)), file metadata (e.g. EXIF data for photos, ID3 tags for music files, etc.) don't show in Dolphin's "Informations" panel. Other KDE apps might be affected too.

Enabling file indexing in Baloo does fix the issue, but at the cost of a (potentially) very heavy index database.

According to https://bugs.kde.org/show_bug.cgi?id=332065, metadata are supposed to be supported even when file indexing is disabled.

The issue in Mageia seemed to be that this "on-the-fly" metadata extraction relies upon /usr/bin/baloo_filemetadata_temp_extractor in baloo-widgets, but baloo-widgets is not installed by default.

Installing baloo-widgets fixes the issue (metadata appear in the Informations panel even with indexing disabled).


(*) Due to many issues during Mageia 6 development with Baloo causing crashes - it might be better now in 5.42.0 and this default could be reconsidered for Mageia 7 if upstream continues pushing core features into Baloo indexing.
Comment 1 Rémi Verschelde 2018-06-18 12:10:08 CEST
Fixed in Cauldron with baloo-5.46.0-2.mga7 which now requires baloo-widgets.

(BTW, baloo-widgets is empty apart from that baloo_filemetadata_temp_extractor and its translations... Upstream should consider moving it back into baloo and deprecating the baloo-widgets repo.)


Pushing baloo-5.42.0-2.mga6 (sorry about that, it should have been -1.1.mga6 by policy) to Mageia 6 core/updates_testing.

Advisory:
=========

Updated baloo package adds missing dependency for metadata extraction

  Baloo is the KDE application responsible (among other things) for extracting
  file metadata and handing it over to other KDE applications.

  When Baloo's file indexing is disabled, it relies on a tool provided by the
  baloo-widgets package to extract metadata on-the-fly, but baloo-widgets was not
  installed by default on Mageia 6. This update fixes it by making it a dependency
  of the main baloo package (core dependency of Plasma).

RPMs in core/updates_testing:
=============================

baloo-5.42.0-2.mga6
lib(64)kf5baloocore5-5.42.0-2.mga6
lib(64)kf5balooengine5-5.42.0-2.mga6
plasma5-baloo-devel-5.42.0-2.mga6

(Only the "baloo" package should change, and its only change is the added dependency on "baloo-widgets")

SRPM in core/updates_testing:
=============================

baloo-5.42.0-2.mga6

QA Contact: (none) => kde
Assignee: kde => qa-bugs

Comment 2 Rémi Verschelde 2018-06-19 15:23:12 CEST
Tested myself on Mageia 6 x86_64 and it works as expected, the baloo package now requires baloo-widgets (and the mentioned metadata issue is fixed in Dolphin).

Whiteboard: (none) => MGA6-64-OK

Comment 3 Rémi Verschelde 2018-06-19 15:24:20 CEST
Validating, advisory uploaded.

Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 4 Rémi Verschelde 2018-06-19 16:17:47 CEST
Wait, found a better fix thanks to the openSUSE maintainer: https://bugs.kde.org/show_bug.cgi?id=332065#c35

Keywords: advisory, validated_update => (none)
Whiteboard: MGA6-64-OK => (none)

Comment 5 Rémi Verschelde 2018-06-19 16:23:28 CEST
Pushing baloo-widgets-17.12.2-1.1.mga6.

Advisory:
=========

Updated baloo-widgets packages add missing dependency for metadata extraction

  Baloo is the KDE application responsible (among other things) for extracting
  file metadata and handing it over to other KDE applications, including
  Dolphin.

  When Baloo's file indexing is disabled, it relies on a tool provided by the
  baloo-widgets package to extract metadata on-the-fly, but baloo-widgets was
  not installed by default on Mageia 6. This update fixes it by making it a
  dependency of the KF5BalooWidgets library (used by Dolphin).

RPMs in core/updates_testing:
=============================

baloo-widgets-17.12.2-1.1.mga6
lib(64)kf5baloowidgets5-17.12.2-1.1.mga6
lib(64)kf5baloowidgets-devel-17.12.2-1.1.mga6

(Only the "ib(64)kf5baloowidgets5" package should change, and its only change is the added dependency on "baloo-widgets")

SRPM in core/updates_testing:
=============================

baloo-widgets-17.12.2-1.1.mga6

Source RPM: baloo-5.42.0-1.mga6 => baloo-widgets-17.12.2-1.mga6

Comment 6 Rémi Verschelde 2018-06-19 16:36:41 CEST
Advisory updated in SVN.

Keywords: (none) => advisory

Comment 7 Rémi Verschelde 2018-06-19 22:09:03 CEST
Tested successfully on Mageia 6 x86_64, validating.

Whiteboard: (none) => MGA6-64-OK
Keywords: (none) => validated_update

Comment 8 Mageia Robot 2018-06-20 01:43:23 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2018-0120.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.