Skip to content

Constant CPU usage after loading posts from a Post List NoResultsController #12160

@jkmassel

Description

@jkmassel

Steps to reproduce the behaviour

  1. Load a blog that has posts by an author other than the logged in user. Your user should have no posts on the blog.
  2. Load the "me" tab. Wait until the "You haven't published any posts yet" screen is visible. Then choose the authors picker, and choose "Everyone". The CPU will run at 100% indefinitely until you navigate upward from this screen (ie – if you choose a post and start editing, the CPU will continue to run at 100% because that view is still behind the editor).
  3. To see this issue in action, you can activate the profiler or use the Debug Navigator tab in Xcode.

Potential Cause

In the profiler, it looks like WPAnimatedBox.playAnimation is being called constantly.

Screen Shot 2019-07-18 at 11 36 26 AM

Tested on develop as of 2019-07-18 on the simulator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions