1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed (chrome) ~10 second js lag on loading style property group

Discussion in 'Resolved Bug Reports' started by Jake Bunce, Jan 27, 2013.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    To reproduce, use Chrome and load this page:


    It hangs for about 10 seconds. From the console:

    Screen shot 2013-01-26 at 4.26.00 PM.png

    I debugged this and narrowed it down to this line from init:

    XenForo._TimestampRefresh = new XenForo.TimestampRefresh();
    If I remove this line then the lag goes away, but then of course you get other errors because that object isn't setup. I don't have a proper fix.
  2. cclaerhout

    cclaerhout Well-Known Member

    When debugging I turned arround this line:
    .trigger({ element: element, type: 'XenForoActivateHtml' })
    But no fix too :( It seems Chrome has a memory leak.
    Thank you Jake to have checked this.
  3. HWS

    HWS Well-Known Member

    Junior likes this.
  4. Chris D

    Chris D XenForo Developer Staff Member

    This is a duplicate, I'm certain of it. But I can't find the original thread.

    But: Confirmed.
    Junior likes this.
  5. swatme

    swatme Well-Known Member

    is this the cause of when you insert image using the icon in the tinymce
    it takes 5seconds to load the window?
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Unknown, but please start a new report for separate issues. People keep piling on these js issues looking for common causes and it just gets confused.
  7. cclaerhout

    cclaerhout Well-Known Member

    No need to create a report, that's not a bug. TinyMCE inline popups are reloading all javascript files that's why it sounds as slow as Wordpress. Use this addon to fix this.

    My bad for the last time... :oops:
    Bram likes this.
  8. Adam Howard

    Adam Howard Well-Known Member


    Explains a few things actually...... Good find.
    Junior likes this.
  9. sonnb

    sonnb Well-Known Member

    Confirmed. Same issue here. Especially for a long style properties list.
    Junior likes this.
  10. Junior

    Junior Well-Known Member

    I've been meaning to post about this. Confirmed, started with the 1.0 update I believe.
  11. BamaStangGuy

    BamaStangGuy Well-Known Member

    So I think this is fixed in Chrome 25.
    Chris D likes this.
  12. Chris D

    Chris D XenForo Developer Staff Member

    Oh, really? That'd be awesome.

    Let me check.

    EDIT: (n) Sorry, I still get a 10-15 second delay :( (Windows 8 x64, Chrome 25)
    D.O.A. likes this.
  13. BamaStangGuy

    BamaStangGuy Well-Known Member

    Odd. It isn't instant but it is now just a couple of seconds.
  14. Allan

    Allan Well-Known Member

  15. OhmMN

    OhmMN New Member

  16. emc2

    emc2 Active Member


    Anyone have a quick fix?
  17. Mike

    Mike XenForo Developer Staff Member

    It's not the timestamp refresh, it some other JS running on that page (of which there is a lot). I have made various changes to speed this up (should be faster across all browser).
    D.O.A., sonnb, emc2 and 6 others like this.

Share This Page