• Resolved feliperincon

    (@feliperincon)


    Good afternoon, first of all, thank you Robin for the useful tool you provide us with.

    A few weeks ago I installed it and made some minor changes in bbpress, in terms of colors and fonts.

    What I noticed, was a strange cpu usage bug (Only happens to me in Edge and Chrome, I guess browsers with Chromium, in Firefox it doesn’t happen) when for example, I try to resize the window/tab of any content (either Learndash or Woocommerce) that lists posts.

    Examples
    wp-admin/edit.php?post_type=shop_order
    o
    wp-admin/edit.php?post_type=sfwd-courses

    The cpu of the tab goes to 100%, and does not perform the resize/responsive that it should show. Simply, the tab hangs and you have to force it to close.

    By deactivating your plugin, the problem disappears.

    I used Chrome’s developer tools to perform a performance profiling.
    I identified that functions like requestAnimationFrame, getPropertyValue, and style are consuming a significant amount of CPU resources.
    The script most involved is load-scripts.php which loads several scripts combined, including jquery-core, jquery-migrate, etc.

    I don’t know if anyone else has had this happen, but I look forward to helping or seeing what might be triggering this.

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Author Robin W

    (@robin-w)

    Thanks for your thread, I’ve not had this reported elsewhere.

    You clearly have expertise in some aspects that I do not and have a combination of plugins that I do not use on my test site, and if you are happy to help, I would appreciate assistance in seeing if we can fix it.

    Initially I’d be interested in whether the bug exists merely because my plugin is active, or whether functions/actions being called as a result of settings are causing the issue.

    so could you

    1. export you current settings so they are saved dashboard>settings>bbp style pack>Export plugin settings
    2. then use dashboard>settings>bbp style pack>reset settings and clear all the current settings
    3. test to see if the issue occurs
    4. use dashboard>settings>bbp style pack>import settings to restore your settings

    and let me know what happens

    If the test in step 3 clears the issue, then we can look at what settings are causing the issue, if the problem occurs whatever, we can start to look at why.

    I am away at the moment, and going to be in Greece on holiday from tomorrow for 10 days without my laptop, so I will be unable to do much other than maybe respond to emails if I get a chance ??

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.