Skip to content

[BUG] High CPU use in background when a 2FA-bearing entry is selected #853

@erikrose

Description

@erikrose

Preliminaries
I have ensured that:

  • I am running the latest version of Strongbox on the App Store by searching for Strongbox and clicking into it to see the Update button (or not)
  • I have performed a full restart of my device no matter how annoying that is

Versions

  • OS: macOS 15.6.7 and 15.7.1

** Strongbox Version **

  • Version: 1.61

Describe the bug
When an entry is selected such that a 2FA code is shown in the right-hand pane, Strongbox continually burns about 38% of a CPU in the background (on an M3 Max), as reported by Activity Monitor. When a different entry is selected, the CPU use immediately drops to 1%.

To Reproduce
Steps to reproduce the behavior:

  1. Open a database.
  2. Click an entry that has a 2FA code.
  3. Measure CPU use.

Expected behavior
CPU use is on the order of 1%, no matter what entry is selected.

Additional context
If I were to make a wild guess, it would be that the "ticking" animation is going at too many frames per second.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions