Bug 436352 - Button to pause/resume indexer is labeled "Pause indexer" when indexer is already paused
Summary: Button to pause/resume indexer is labeled "Pause indexer" when indexer is alr...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_baloo (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
: 437972 439275 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-29 11:16 UTC by Patrick Silva
Modified: 2022-09-24 18:57 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (96.26 KB, image/png)
2021-04-29 11:16 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-04-29 11:16:46 UTC
Created attachment 138000 [details]
screenshot

STEPS TO REPRODUCE
1. open System Settings > Search
2. check "Enable file search" and click on "Apply" button
3. click on "Pause indexer" button

OBSERVED RESULT
Please see the attached screenhot. Indexer is paused (status = suspended),
but the button remains labeled "Pause indexer". If we click on it again,
indexer is resumed.

EXPECTED RESULT
When indexer is already paused, the button should be labeled "Resume indexer"
or something with similar meaning, not "Pause indexer".

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Patrick Silva 2021-06-02 11:20:58 UTC
*** Bug 437972 has been marked as a duplicate of this bug. ***
Comment 2 Laura David Hurka 2021-07-02 17:05:21 UTC
*** Bug 439275 has been marked as a duplicate of this bug. ***
Comment 3 Laura David Hurka 2021-07-02 17:14:05 UTC
From Bug 439275:
> Status: Indexing file content, ...% complete. [Pause Indexer]
> Currently indexing: ...
> 
> (with ... frequently updating.)
> 
> [...]
> 
> After clicking on “Pause Indexer” twice, the status line changes to:
> 
> Status: Indexing file content, ...% complete. [Pause Indexer]
> Currently indexing: %1(I18N_ARGUMENT_MISSING)

Mostly interesting is the initial case, in which clicking the button does exactly nothing:

Status: Not running, 0% complete. [Pause Indexer]
Currently indexing: Idle
Comment 4 Patrick Silva 2022-09-24 18:57:00 UTC
Now the button is labeled 'Resume indexer' when the indexer is paused. :)

Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland