Grid

631 - Delay on group updates

Grid version:

Check the addon’s TOC file if you’re not sure!
Grid-r1525

WoW version and region/language:

Check the WoW login screen if you’re not sure!
5.0.4 English

Character race, class, spec, and level:

lvl 85 BElf HPala

Description of the problem:

From the 1st version of Grid for 5.0.4 patch, updates on people who join the group are really slow. They'll either appear after half a minute or require a change on the layout or /reload ui. I'm in DS for example, someone gets invited and i'm able to see him after he enters the instance. Anyone noticed any delay like this?
Also whenever im switching Beacon of Light to another target, old BoL still is shown for a few seconds.(didnt check this with only grid active tbh, but i thought i should mention that)

Steps to reproduce the problem:

1.Being in a group
2.Inviting a new player
3.Wont appear in Grid for several seconds

Does the problem still happen when all other addons — including all Grid plugins — are disabled?

Yes

Does the problem still happen after you switch to a new profile in Grid with default settings, log out, and log back in?

If not, please attach your Grid saved variables file to your ticket, and TELL US WHICH PROFILE you were using when the problem happened.
Yes

Exact text of the first related error message, if any:

Please DO NOT include lists of local variables or installed addons, even if they are shown with the error message in-game!
None

Screenshot, if the problem is graphical:

Attach images to your ticket, or upload them and paste the URLs here.

Anything else you think might be helpful:

User When Change
Phanx Nov 25, 2012 at 04:02 UTC
bent42 Nov 21, 2012 at 05:17 UTC
Phanx Nov 12, 2012 at 02:08 UTC
Andressk Oct 17, 2012 at 19:31 UTC
Phanx Oct 17, 2012 at 01:55 UTC
Andressk Oct 03, 2012 at 21:13 UTC
Phanx Oct 01, 2012 at 02:41 UTC
Andressk Sep 29, 2012 at 00:11 UTC
Phanx Sep 28, 2012 at 22:58 UTC
Andressk Sep 27, 2012 at 16:32 UTC
Phanx Sep 25, 2012 at 23:33 UTC
Infusion21 Sep 12, 2012 at 10:59 UTC
Phanx Sep 12, 2012 at 07:31 UTC
Infusion21 Sep 12, 2012 at 00:41 UTC Changed description:
-
  #### **Grid version:**
  Check the addon’s TOC file if you’re not sure!
  Grid-r1525
----------------------------------------
  lvl 85 BElf HPala

  #### **Description of the problem:**
- From the 1st version of Grid for 5.0.4 patch, updates on people who join the group are really slow. They'll either appear after half a minute or require a change on the layout or /reload ui. I'm in DS for example, someone gets invited and i'm able to see him after he enters the instance. Anyone noticed any dealy like this?
+ From the 1st version of Grid for 5.0.4 patch, updates on people who join the group are really slow. They'll either appear after half a minute or require a change on the layout or /reload ui. I'm in DS for example, someone gets invited and i'm able to see him after he enters the instance. Anyone noticed any delay like this?
  Also whenever im switching Beacon of Light to another target, old BoL still is shown for a few seconds.(didnt check this with only grid active tbh, but i thought i should mention that)
  #### **Steps to reproduce the problem:**
Infusion21 Sep 11, 2012 at 23:42 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Phanx Phanx Dec 08, 2014 at 17:20 UTC - 0 likes

    Please submit a new ticket, and fill in all the requested info in the form. If your account lets you post comments on tickets, it will also let you post a new ticket. I'm not re-opening a 2-year-old ticket for a new issue that's probably not related.

    Without any other info (since you didn't provide much) my best guess would be that you are using the beta version that was briefly available; beta versions are for beta testing, and that one is no longer available because beta testing revealed it had too many issues to be generally usable. If you don't want to be a guinea pig and test unstable/untested/probably-broken code, you should stick with release versions only, since those are thoroughly tested and appropriate for daily use by normal users.

    Last edited Dec 08, 2014 by Phanx
  • Avatar of HopeTvWow HopeTvWow Dec 08, 2014 at 13:19 UTC - 0 likes

    Phanx

    I am so sorry to necro an ancient thread but it will not allow me to post in the forum. Says I am already registered but I can't login in with this username and pass. Idk what's up.

    However this is the closest thread I have found to my current issue. I'm a longtime grid user, thanks for the hardwork. My groups will not update when I move people and sort the groups in my 30 man raid. No matter what size raid, If i move someone from grp2 to 4, the grid stays the same.

    SOrry again to necro

  • Avatar of Phanx Phanx Nov 25, 2012 at 04:01 UTC - 0 likes

    Okay, marking this as fixed. If the issue is not fixed for you, please post a comment on this ticket instead of opening a new ticket.

  • Avatar of bent42 bent42 Nov 21, 2012 at 05:17 UTC - 0 likes

    I haven't tested it thoroughly but it seems to be fixed! Thank you! That bug was driving me nuts!

  • Avatar of Phanx Phanx Nov 11, 2012 at 02:57 UTC - 1 like

    Interesting.

    That line was added back when title-swapping addons were really popular, and people would change their character's title every few seconds, thus causing massive framerate drops for everyone else in their raid. Ignoring the name change event "solved" the problem.

    Blizzard has since made changing your title a protected action, so addons can't automate it, and that line is probably not needed anymore.

    I'll go ahead and remove that line, and push out a new release in a few days if nobody reports any issues with the alpha.

    Thanks for looking into this issue and (hopefully) finding the solution. I've been really busy at work lately and haven't had time to do any testing on this.

  • Avatar of warbaby warbaby Nov 11, 2012 at 02:02 UTC - 1 like

    Finally, I'v found out the point.

    in GridLayout.lua, function GridLayout.prototype:Reset()

    self:UnregisterEvent("UNIT_NAME_UPDATE")
    

    Remove this line and everything seems ok. But there must be reasons for that line, anyone knows?

  • Avatar of warbaby warbaby Nov 09, 2012 at 04:59 UTC - 1 like

    hi guys I've looked through the SecureGroupHeaders.lua and find some ways to test the Blizzard code result. And I found out that when SecureGroupHeader_Update is called after "GROUP_ROSTER_UPDATE", the GetGroupRosterInfo("RAID", 40) return nil if the 40th raider has just joined the battleground (the number 40 is just an example).

    That's the source of this problem.

    And I've seen an article before, http://www.wowpedia.org/Patch_5.0.1/API_changes. It says "requesting the GUID of another party member (possibly raid too - not tested) while responding to the new GROUP_ROSTER_UPDATE event during initial UI load while you are already in a group returns nil. This was not previously the case with the old PARTY_MEMBERS_CHANGED and RAID_ROSTER_UPDATE events."

    I think that the problem with GetGroupRosterInfo is just the same.

    If there would be a workaround, I think we can compare the number of shown UnitButtons and GetNumGroupMembers() which is always correct, and perform a GridLayout:ReloadLayout() when neccessary and when out of combat.

    Last edited Nov 09, 2012 by warbaby
  • Avatar of Clarx Clarx Oct 31, 2012 at 20:45 UTC - 0 likes

    Having the same issue, that it takes up to 1 minute before Grid shows everyone after I got invited, yet today I noticed something new. Sha-raid formed, 4 spots left (all empty spots in group 8), and i got my Blizzard raid-pannel (hit 'O' > raid-tab) opened up. I see the message "Player 'Z9' joins the raid, yet he didnt appear in the Blizz-pannel for 5-10 sec. and not in Grid for further 10 sec.

    Last edited Oct 31, 2012 by Clarx
  • Avatar of Phanx Phanx Oct 26, 2012 at 21:51 UTC - 0 likes

    xentaros:
    I think this is a Blizzard bug...

    That was my thought as well, especially since one of the previous commenters mentioned that GridRoster is silent when the bug occurs, but I didn't have time to do any debugging last night to verify that or try to find a workaround. If it only happens in battlegrounds, I guess I can add a workaround to listen for the "X joined/left the battleground" messages and force an update, though that seems like a pretty clumsy hack.

    Once I have time to test and debug (assuming I can reproduce the problem; it happened in Eye of the Storm, but hasn't happened in any other BGs I've entered to test since this ticket was submitted, or in any PVE content I've done) if I can confirm that it is a bug with the client not firing the proper events, I'll post a report on the Blizzard bug forums as well.

  • Avatar of xentaros xentaros Oct 26, 2012 at 13:41 UTC - 0 likes

    For people with this problem, I've been using this macro as a workaround when it happens (out of combat only): /run LibStub("AceAddon-3.0"):GetAddon("Grid"):GetModule("GridLayout"):Reset()

Facts

Last updated
Nov 25, 2012
Reported
Sep 11, 2012
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
8

Reported by

Possible assignees