Bug 409643

Summary: Hide tags feature when full content indexing is disabled
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Michael K. <f4tmike>
Component: TagsAssignee: baloo-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, elvis.angelaccio, nate, nicolas.fella, stefan.bruens, tagwerk19
Priority: NOR    
Version First Reported In: 5.59.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michael K. 2019-07-09 07:33:21 UTC
SUMMARY
Got a some files taged, mostly pictures. The tags are shown in the sidebar but they don't show any files which I taged.


STEPS TO REPRODUCE
1. Tag some files (tag gets listed in the sidebar)
2. Click any tag in the sidebar or use the search ("tags:<tag>")
3. 

OBSERVED RESULT
No tags are shown.

EXPECTED RESULT
Show the taged files.

Operating System: openSUSE Tumbleweed 20190702
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0
Kernel Version: 5.1.10-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz
Memory: 15,5 GiB


ADDITIONAL INFORMATION
/var/log/messages:
'2019-07-09T09:30:08.309027+02:00 pc-mymachine dbus-daemon[1218]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.6' (uid=0 pid=1393 comm="/usr/sbin/NetworkManager --no-daemon ")
2019-07-09T09:30:08.309359+02:00 pc-mymachine dbus-daemon[1218]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
2019-07-09T09:30:09.307559+02:00 pc-mymachine dbus-daemon[1218]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.6' (uid=0 pid=1393 comm="/usr/sbin/NetworkManager --no-daemon ")
2019-07-09T09:30:09.308184+02:00 pc-mymachine dbus-daemon[1218]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
2019-07-09T09:30:14.362952+02:00 pc-mymachine kwin_x11[2127]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 19763, resource id: 142606355, major code: 18 (ChangeProperty), minor code: 0
2019-07-09T09:30:14.372136+02:00 pc-mymachine su: pam_unix(su:session): session closed for user root
2019-07-09T09:30:14.377040+02:00 pc-mymachine kwin_x11[2127]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 19780, resource id: 138412057, major code: 18 (ChangeProperty), minor code: 0
2019-07-09T09:30:14.386810+02:00 pc-mymachine kwin_x11[2127]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 19801, resource id: 35768193, major code: 18 (ChangeProperty), minor code: 0
2019-07-09T09:30:16.989168+02:00 pc-mymachine kdeinit5[14224]: kf5.kio.core: Invalid URL: QUrl("")
2019-07-09T09:30:17.168789+02:00 pc-mymachine kdeinit5[14225]: kf5.kio.core: Invalid URL: QUrl("")
2019-07-09T09:30:18.896076+02:00 pc-mymachine kdeinit5[14225]: message repeated 39 times: [ kf5.kio.core: Invalid URL: QUrl("")]
2019-07-09T09:30:20.333764+02:00 pc-mymachine dbus-daemon[1218]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.6' (uid=0 pid=1393 comm="/usr/sbin/NetworkManager --no-daemon ")
2019-07-09T09:30:20.333964+02:00 pc-mymachine dbus-daemon[1218]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.'
Comment 1 Nate Graham 2019-07-15 22:12:29 UTC
Hmm, strange. This feature is working well for me.
Comment 2 Stefan Brüns 2019-07-16 01:41:06 UTC
Tags are currently only indexed/searchable when "Content Indexing" is enabled.
Comment 3 Nate Graham 2019-07-16 02:37:26 UTC
Ah, then there's a real bug here: we shouldn't activate the feature in the places panel when full content indexing isn't on if it won't work. In fact, maybe the ioslave itself shouldn't even be active.
Comment 4 tagwerk19 2021-07-10 21:06:43 UTC
(In reply to Nate Graham from comment #3)
> ... when full content indexing isn't on if it won't work.
This was fixed with Bug 417170, baloo indexes extended attribute metadata independent of content indexing

Indexing still needed, but basic indexing is sufficient.