Bug 374474 - Add buttons which pause and resume baloo indexing
Summary: Add buttons which pause and resume baloo indexing
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_baloo (show other bugs)
Version: 5.8.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
: 399365 413833 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-03 00:15 UTC by Lukas Ba.
Modified: 2021-07-09 07:24 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22
g-a-d: Usability+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ba. 2017-01-03 00:15:42 UTC
There should be a way to do the following two things from systemsettings:

$ balooctl \
  suspend        #Suspend the file indexer
$ balooctl \
  resume         #Resume the file indexer

This could be represented as a pause/play button.
Comment 1 piotr5 2019-02-08 22:54:44 UTC
there is a program called "KInfocentre" or K-Info-Center and there is a File Indexer Monitor tab that displays one line of balooctl monitor, shows balooctl status as a progress-bar and a button that you can press to suspend it. why should that button be moved to systemsettings?
Comment 2 Christoph Feck 2019-02-22 15:54:20 UTC
Because KInfoCenter should only show information, not change settings.
Comment 3 Lukas Ba. 2019-02-22 17:36:22 UTC
(In reply to piotr5 from comment #1)
> there is a program called "KInfocentre" or K-Info-Center and there is a File
> Indexer Monitor tab that displays one line of balooctl monitor, shows
> balooctl status as a progress-bar and a button that you can press to suspend
> it. why should that button be moved to systemsettings?

I agree that the button should be moved to systemsettings.
That button is the only one in KInfocentre that changes a setting, and it's out of place there. The setting is also missing from systemsettings where you change settings.
Comment 4 Nate Graham 2019-11-12 20:02:06 UTC
*** Bug 413833 has been marked as a duplicate of this bug. ***
Comment 5 Gerhard Dittes 2019-11-18 10:46:09 UTC
Hi, any news on this?

I know, it's not that urgent (as we are not talking about a major bug or the like), but nevertheless this issue exists for quite some time now and it would be really nice to see it resolved for upcoming Plasma LTS version...

...especially as we claim that usability is one of our main focuses these days.

Thx & regards, Gerhard
Comment 6 Nate Graham 2019-11-21 18:02:05 UTC
I've submitted a patch that adds this feature: https://phabricator.kde.org/D25447
Comment 7 Gerhard Dittes 2019-11-22 12:48:36 UTC
 (In reply to Nate Graham from comment #6)
> I've submitted a patch that adds this feature:
> https://phabricator.kde.org/D25447

Very nice! Thank you!
Comment 8 Justin Zobel 2021-03-13 01:50:36 UTC
Nate Graham working on this.
Comment 9 tagwerk19 2021-03-21 10:54:51 UTC
I can imagine a 'dial like' widget in the corner of the screen, showing concentrically the number of files found and the number indexed.

Something to show that baloo had seen changes and was catching up with the indexing.

... File under "wishlist" :-)
Comment 10 Bug Janitor Service 2021-04-14 22:01:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/427
Comment 11 tagwerk19 2021-04-17 09:12:18 UTC
(In reply to tagwerk19 from comment #9)
> ... the number of files found and the number indexed ...
On reflection, the number still to be indexed.

Something you see peaking after doing a change and then gradually dropping as baloo_file_extractor catches up. The "flag you want to wave" is when the number of files to be indexed stops dropping.
 
> ... File under "wishlist" :-)
Might also be nice to have indexing "CPU load" visible. That should also peak and drop...
Comment 12 Nate Graham 2021-04-20 18:58:11 UTC
Git commit ce0c3fead0ec1aa5d8bd6a627bb61db803e83974 by Nate Graham.
Committed on 20/04/2021 at 18:57.
Pushed by ngraham into branch 'master'.

[kcms/baloo] Allow monitoring, suspending, and resuming indexing

The KCM now allows you to monitor indexing status and pause and resume
it. Most of this code is lifted straight from the file indexing monitor
InfoCenter KCM, which becomes largely redundant with this, and we could
consider removing it.
Related: bug 405307
FIXED-IN: 5.22

M  +55   -0    kcms/baloo/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/ce0c3fead0ec1aa5d8bd6a627bb61db803e83974
Comment 13 tagwerk19 2021-07-09 07:24:00 UTC
*** Bug 399365 has been marked as a duplicate of this bug. ***