Blooym / Wholist

A Dalamud plugin to show which players are near you, alike to World of Warcraft's "/who" command.
GNU Affero General Public License v3.0
5 stars 3 forks source link

Bug: Examine action via the Imgui right-click menu opens the wrong game menu at times; #45

Open GitPaulo opened 9 months ago

GitPaulo commented 9 months ago

Preflight Checklist

Bug Behavior

The examine wholist window action does not seem to always show the appropriate player examine menu: (read steps below)

                // Examine.
                if (ImGui.Selectable(Strings.UserInterface_NearbyPlayers_Players_Submenu_Examine))
                {
                    obj.OpenExamine();
                }

I suspect the obj might be a reference to the chocobo at this point or somewhere the agent examine method does sussy things, perhaps?

Expected Behavior

Player's examine window opens not chocobo's.

Steps To Reproduce

An example is with the chocobo:

  1. Summon chocobo
  2. Examine chocobo and close
  3. Run /who
  4. Examine a player via right click

The chocobo examine menu appears instead.

Additional Information

No response

Blooym commented 9 months ago

Am able to reproduce this, although this is incredibly strange behaviour - will take a look.

Blooym commented 8 months ago

I did look into this and I really cannot figure out what's going on with it. My best guess is that opening the Chocobo window causes the game to switch the type of examine window to show. The fix for now if it happens is to open your own examine window to switch the mode back to showing players. If I can find a fix for this, I'll throw it in ASAP.