Bug 436352

Summary: Button to pause/resume indexer is labeled "Pause indexer" when indexer is already paused
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_balooAssignee: baloo-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: laura.stern, nate, plasma-bugs, rpc
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot

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