InspectFix
InspectFix is a tiny addon that fixes several annoying bugs that arise while using the Blizzard Inspect UI.
If you like InspectFix, please check out the Blizzard Bug Fix Addon Pack!
Overview
The Blizzard API for performing character inspection has fatal design flaws (namely, it's stateful yet client-oblivious). All UI elements that perform character inspection, from the Blizzard inspect frame to many addons that perform hidden inspects for various purposes, are forced to use this same API and frequently step all over each other while doing so. What this means for the end user is the more addons you install (especially raid/party/character related addons) the less stable the Blizzard inspect UI becomes. Common failures include the inspect window suddenly and inexplicably changing to show incorrect gear or talents, tooltips that suddenly stop working, or lua errors regarding the Blizzard_InspectUI.
InspectFix restores the stability of the Blizzard inspect UI. It does this primarily by blocking all hidden inspect requests from any addons while the user has the inspect UI open. It also provides workarounds for several common lua errors involving the inspect frame.
Some of the problems this addon corrects:
- Inspect window suddenly and inexplicably changing to show incorrect gear or talents
- Tooltips in the inspect window that suddenly stop working
- Inspect window not opening when you try to inspect someone
- Inspect window closing when you change targets
- Lua error: AddOns\Blizzard_InspectUI\InspectPaperDollFrame.lua:23: Usage: UnitLevel("unit")
- Lua error: AddOns\Blizzard_InspectUI\InspectGuildFrame.lua line 18: Usage: GetGuildInfo("unit")
Legion Update: Many Inspect-related problems remain in WoW version 7.x, and this addon remains an effective workaround for them.
1x TrueItemLevel\trueitemlevel.lua:183: attempt to index field 'FB' (a nil value)
TrueItemLevel\trueitemlevel.lua:33: in function `?'
TrueItemLevel\trueitemlevel.lua:5: in function <TrueItemLevel\trueitemlevel.lua:5>
Lua error: AddOns\Blizzard_InspectUI\InspectGuildFrame.lua line 18: Usage: GetGuildInfo("unit")
Well there are a few options in Power Aura like "Tank" "Dps" etc. which i assume would need inspect to work. You can just turn off the inspect option though if you don't like it.
Interface>Addons>Power Aura
Well it probably shouldn't inspect other people unless you have it set to, but you can monitor buffs on others so maybe that's why it's inspecting?
Just posting to say I am very pleased with this addon. Especially the message about which addon it is that tries to take over my inspects. Was a bit surprised at the culprit though (why on earth does power auras need to inspect other people?). I would also have to agree about the server deciding to close your windows is very annoying to say the least, and I can't understand why anyone would want that behaviour...
Uh, I wasn't complaining to spur a "don't like it, don't use it" quip. The fact that other addons people may be using have the same features is relevant as you are duplicating them, thus providing code that is unused/unneeded in those circumstances and has to potential to conflict. I only asked in the end if it would be possible if you could implement the ability to disable those two new added features in future versions.
Apparently not, so will do it locally.
I consider it a bug for the server to close a window that I'm using with no input from me, just because some other player decided to move or disappear. I can't think of a compelling reason why anyone would WANT that default behavior, and plenty of reasons why it's a nuisance and contrary to user-friendly design principles. If you don't like the addon, don't use it.
The fact that other addons out there can do the same is irrelevant - my implementation does not interfere with other related addons I've tried (if you find one that conflicts submit a ticket and I'll take a look). Moreover, it provides the fix in a minimal way without all the additional machinery and resource utilization of things like Examiner.
The initial idea & implementation of this was great. With r5 & later, though, its gone a step too far.
The "Inspect window closing when your inspect target moves out of range, teleports or goes offline" & "Inspect window closing when you accidentally click on a non-player (eg hunter pet) while switching inspect target" changes are not "fixes", they are features. Features which duplicate the functionality of addons like Examiner & Snoopy Inspect.
So some way of disabling (or just getting rid of) these new added features other than reverting to v1.0 and/or commenting out the added code would be appreciated.
I have to wonder how you were able to solve the problem so neatly (in more depth than you explained in the description)?
It's really quite a wonderful addon :)
If you had trouble finding this page, please vote for this ticket: http://www.curseforge.com/projects/curseforge/tickets/2506-search-indexs-for-finding-addons-need-update/#comments
Thank you thank you thank you sooo much!