-
Notifications
You must be signed in to change notification settings - Fork 3
[Feature]: Detect ElvUI loot conflict and offer to disable #147
Copy link
Copy link
Closed
Labels
A-CoreAddon lifecycle, slash commands, minimap iconAddon lifecycle, slash commands, minimap iconA-IntegrationDragonToast messaging and cross-addon APIsDragonToast messaging and cross-addon APIsC-FeatureNew feature or enhancementNew feature or enhancementD-StraightforwardClear scope, low riskClear scope, low riskP-All-VersionsAffects all supported WoW versionsAffects all supported WoW versionsS-Needs-TriageNew issue awaiting reviewNew issue awaiting review
Metadata
Metadata
Assignees
Labels
A-CoreAddon lifecycle, slash commands, minimap iconAddon lifecycle, slash commands, minimap iconA-IntegrationDragonToast messaging and cross-addon APIsDragonToast messaging and cross-addon APIsC-FeatureNew feature or enhancementNew feature or enhancementD-StraightforwardClear scope, low riskClear scope, low riskP-All-VersionsAffects all supported WoW versionsAffects all supported WoW versionsS-Needs-TriageNew issue awaiting reviewNew issue awaiting review
Problem
When both ElvUI and DragonLoot are installed, ElvUI's loot window (
E.private.general.loot) and/or group-loot roll frames (E.private.general.lootRoll) hook the same Blizzard frames DragonLoot replaces. Users see both addons' UIs show up, or get inconsistent behavior depending on which hooks run last.Proposed Solution
On
OnEnable, detect whether ElvUI is loaded AND has either loot toggle enabled AND DragonLoot's matching feature (lootWindow.enabled/rollFrame.enabled) is also enabled. If so, show a StaticPopup offering to disable the ElvUI modules andReloadUI(). Respect the user's decision - remember dismissal per-profile, scoped by the exact conflict signature so re-enabling an ElvUI feature later re-prompts.Alternatives
Notes
ElvUI's
M:LoadLoot/M:LoadLootRollgates are only checked at ElvUI's Initialize phase, so aReloadUI()is required for the flags to take effect. AceDB persistsE.privatetoElvPrivateDBon logout automatically - no direct SV mutation needed.