Summary: | "Auto save output as" still become "Stop Autosave" when cancel selecting in file dialog | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | jackyzy823 |
Component: | history | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 25.04.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/-/commit/95c324615ef696a785691905fb7fa9c33042d7cf | Version Fixed In: | |
Sentry Crash Report: |
Description
jackyzy823
2025-07-15 13:34:51 UTC
Git commit 95c324615ef696a785691905fb7fa9c33042d7cf by Jack Xu. Committed on 11/09/2025 at 02:01. Pushed by waqar into branch 'master'. Do not change auto save action visibility and title when auto save task failed to be spawned. "Auto save output as" still became "Stop Autosave" when cancelling in file dialog. Make SessionTask::execute return value that indicates the task has been spawned successfully or not. So SessionController::autoSaveHistory could decide whether to change the visibility of _startAutoSaveAction and _stopAutoSaveAction. M +5 -4 src/SaveHistoryAutoTask.cpp M +1 -1 src/SaveHistoryAutoTask.h M +2 -1 src/SaveHistoryTask.cpp M +1 -1 src/SaveHistoryTask.h M +2 -1 src/SearchHistoryTask.cpp M +1 -1 src/SearchHistoryTask.h M +15 -10 src/session/SessionController.cpp M +2 -1 src/session/SessionTask.h https://invent.kde.org/utilities/konsole/-/commit/95c324615ef696a785691905fb7fa9c33042d7cf |