Bug 340057 - file tooltips & file data in sidebar delayed when files are not indexed
Summary: file tooltips & file data in sidebar delayed when files are not indexed
Status: RESOLVED FIXED
Alias: None
Product: Baloo
Classification: Frameworks and Libraries
Component: Widgets (show other bugs)
Version: 4.13
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 15:24 UTC by Janet
Modified: 2015-02-12 17:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janet 2014-10-17 15:24:03 UTC
When hovering over a  file/folder which is not indexed by baloo it takes some time for the tooltip to appear, about 2-3 seconds. The preview image in the sidebar is instantly visible but with data (size, date) of the former selected file. When the tooltip appears the data in the sidebar also adjusts. This happens every time I hover over the file, even if I did it just before.

It's slowing the workflow down when you have to wait 2-3 seconds over every file to get the information.




Reproducible: Always

Steps to Reproduce:
1. Exclude some folders from the baloo indexer.
2. Hover over the excluded folder and over files in that folder.
3. Wait for the tooltip to appear...


Expected Results:  
Basic data like file size and date should be instantly available (be read on the fly), even if the file is not indexed, so that the tooltip can appear instantly.
Comment 1 Emmanuel Pescosta 2014-10-17 15:41:24 UTC
We use the information widget from baloo, so I'll reassign it to baloo-widgets.
Comment 2 Vishesh Handa 2015-02-12 17:01:50 UTC
Git commit 693c4fb5b1c6645fb060d89e5a781281305dec63 by Vishesh Handa.
Committed on 12/02/2015 at 16:45.
Pushed by vhanda into branch 'master'.

FileMetaDataProvider: Refactor code to avoid double inserts

This will also result with basic metadata for non-indexed files being
shown immediately and later updated when the file is indexed on the fly.
Related: bug 338314
FIXED-IN: 5.3

M  +53   -28   src/filemetadataprovider.cpp
M  +1    -0    src/filemetadatawidget.cpp

http://commits.kde.org/baloo-widgets/693c4fb5b1c6645fb060d89e5a781281305dec63