Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[In-app feedback] #1477

Closed
alt-tab-macos-bot opened this issue Apr 8, 2022 · 3 comments
Closed

[In-app feedback] #1477

alt-tab-macos-bot opened this issue Apr 8, 2022 · 3 comments

Comments

@alt-tab-macos-bot
Copy link

This issue was opened by a bot after a user submitted feedback through the in-app form.

Message:

massive cpu usage

Debug profile

  • App version: 6.32.0
  • App preferences:
    • MSAppCenter310AppCenterUserDefaultsMigratedKey: 1
    • MSAppCenter310CrashesUserDefaultsMigratedKey: 1
    • MSAppCenterInstallId: 6016BEB7-3429-4CF6-9954-EFF3AA424544
    • MSAppCenterNetworkRequestsAllowed: 0
    • MSAppCenterPastDevices: {length = 1151, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 0000038b }
    • MSAppCenterSessionIdHistory: {length = 460, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000156 }
    • MSAppCenterUserIdHistory: {length = 455, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000151 }
    • NSStatusItem Preferred Position Item-0: 578
    • NSWindow Frame NSFontPanel: 1281 115 445 232 0 0 1792 1095
    • SUAutomaticallyUpdate: 0
    • SUEnableAutomaticChecks: 0
    • SUHasLaunchedBefore: 1
    • SULastCheckTime: 2021-05-28 22:45:44 +0000
    • appsToShow: 0
    • crashPolicy: 0
    • holdShortcut: ⌘
    • mouseHoverEnabled: false
    • preferencesVersion: 6.32.0
    • rowsCount: 6
    • showFullscreenWindows: 0
    • showHiddenWindows: 0
    • showMinimizedWindows: 0
    • updatePolicy: 0
    • windowMaxWidthInRow: 30
  • Applications: 46
  • Windows: 8
    • {isFullscreen: false, isWindowlessApp: true, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 18446744073709551615, spaceIndex: 9223372036854775807}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: true, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
  • OS version: Version 12.3.1 (Build 21E258)
  • OS architecture: x86_64
  • Locale: de_DE (current)
  • Spaces: 1
  • Dark mode: Dark
  • "Displays have separate Spaces": checked
  • Hardware model: MacBookPro16,1
  • Screens: 1
    • {x: 0.0, y: 0.0, width: 3008.0, height: 1692.0}
  • CPU model: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  • Memory size: 17,18 GB
  • Active CPU count: 16
  • Current CPU frequency: 2.3 Ghz
  • Resource utilization:
    • CPU: 71.8%
    • Memory: 87M+
    • Threads count: 87

@foss-
Copy link

foss- commented Apr 8, 2022

Also seeing this since 6.32.0 and also with 6.33.0. CPU usage is seen despite AltTab not being actively used. Also the CPU normalizes after a while. But then the CPU spikes return and the fans go up for no apparent reason.

Just now wanted to create some debug info but while I was writing this comment, the CPU usage went down to 0,0 %. Will keep an eye on this.

@lwouis
Copy link
Owner

lwouis commented Apr 9, 2022

Hi @foss-!

The issue probably stems from #1437

in short, AltTab will attempt to get an app windows for a while, to avoid missing out on some windows. These attempts are probably causing the high CPU you see.

i don't have time to investigate, profile, etc, unfortunately. If someone wants to step up and find apps that create the issue, and suggest a workaround, that's everyone's only hope for a fix i'm afraid

@lwouis
Copy link
Owner

lwouis commented Apr 28, 2022

The latest release v6.34.0 should address this issue 🎊

@lwouis lwouis closed this as completed Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants