Skip to content

[Bug]: "Show Memory Pressure" toggle in Metrics Bar settings actually shows memory usage, not pressure #30

Description

@hyotatoFrappuccino

App Version

1.0 (1.0.3)

Device Model (iMac/MacBook/Mac mini/etc.)

MacBook Air M5

OS Version

macOS 26.5.2

Describe the bug

In the Metrics Bar settings, the toggle labeled "Show Memory Pressure" (localization key showMemoryPressure in LocalPackage/Sources/UserInterface/Resources/Localizable.xcstrings) does not actually display memory pressure. MemoryInfo (from SystemInfoKit) exposes two distinct fields:

public internal(set) var percentage: Percentage
public internal(set) var pressure: Percentage

but MetricsBarView.swift only ever draws percentage for memory, the same way it does for CPU/Storage usage:

// MetricsBarView.swift:106-110
switch systemInfo {
case is CPUInfo, is MemoryInfo, is StorageInfo:
    context.drawBlackText(origin: point, size: IndicatorKind.usageFullLabel.size) {
        Text(verbatim: systemInfo.percentage.menuBarDescription)
    }

The pressure field is never read anywhere in MetricsBarView.swift. So the number shown in the menu bar when this toggle is on is memory usage percentage, not memory pressure.

It's unclear whether this is:

  • a labeling bug (the value shown should be described as "Memory Usage", not "Memory Pressure"), or
  • a logic bug (the intent was to show real memory pressure, and pressure should be drawn instead of percentage).

Filing this as a bug report rather than a PR since I'm not sure which behavior was intended — would appreciate maintainer input before changing the localized strings or the drawing logic.

How to reproduce

  1. Open RunCat Neo settings → Metrics → Show Metrics Bar
  2. Click the Metrics Bar in the Mac menu bar (top right) → Enable "Show Memory Pressure"
  3. Observe the memory value shown in the menu bar.
  4. Compare it to Activity Monitor's Memory tab: the value matches "Memory Used %", not the Memory Pressure.

Expected behavior

Either:

  • The label/localizations should read "Show Memory Usage" (matching what is actually displayed), or
  • The menu bar should draw MemoryInfo.pressure instead of MemoryInfo.percentage when this toggle is enabled (matching the "Memory Pressure" label).

Screenshots

Image

Check List

  • I have read the CONTRIBUTING.md and agree to follow it.
  • Uninstalled App.
  • Re-launched your computer.
  • Checked that no similar issues already exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions