Summary: | Greeter constantly getting date time using time dataengine, wasting CPU | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Harald Sitter <sitter> |
Component: | Screen locking | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bhush94, butirsky, kde, nate |
Priority: | NOR | Keywords: | efficiency |
Version: | 6.2.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Harald Sitter
2021-03-01 11:13:01 UTC
>Seeing as data engines are on their way out anyway it may be prudent to port away from the engine and instead use a QTimer+QTime::currentTime directly
There's code in the dataengine to watch for "skew events" such as being suspended and resumed, and we also have code for timezone changes.
There's also code in the abstract dataengine to align events to the minute.
I'm all for creating a new plugin to do this, rather than fixing the engine, but please don't replace with a pure QML solution as it will miss features.
|