| Summary: | Possible regression in storing launch counts | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-krunner | Reporter: | Kai Uwe Broulik <kde> |
| Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Kai Uwe Broulik
2020-07-21 14:49:29 UTC
I can confirm this issue but it is not a regression. I will do some testing, but already have pretty much identified the issue. Will write a patch soon :-). There are actually two issues: 1: The entries don't get properly persisted, this can be fixed by syncing them after each session. Just like the history entries. 2: In milou lib/resultsmodel.cpp line 87+ we prefer the type over the relevance. If we launch an entry very often the position changes only inside of its group, pretty much the same issue as in BUG 340283. Git commit 45d42bb9520ff3130753535012ec3939df232a37 by Alexander Lohnau. Committed on 04/08/2020 at 05:02. Pushed by alex into branch 'master'. Save RunnerContext after each match session If we only save the context in the deconstructor the entries don't get saved when we kill krunner/shutdown/reboot. Currently they only get saved when we end krunner using `kquitapp5 krunner`. The history items are also synced after each session. M +4 -6 src/runnermanager.cpp https://invent.kde.org/frameworks/krunner/commit/45d42bb9520ff3130753535012ec3939df232a37 Marking this as fixed: A better rating system is mentioned in other bugs and a different system of storing launch counts is already in progress. |