MotherGinger / RecklessAbandon-Classic

A WoW Classic addon for quickly (and recklessly) abandoning quests
Other
0 stars 0 forks source link

[Bug Report] Cannot abandon zone quests when the zone header is collapsed #4

Closed MotherGinger closed 3 years ago

MotherGinger commented 3 years ago

Describe the bug Clicking the zone abandon button on a collapsed zone results in no quests being abandoned.

To Reproduce Steps to reproduce the behavior:

  1. Open your quest log
  2. Collapse a zone header
  3. Click the zone abandon button
  4. Confirm the action (if prompted)
  5. Nothing happens

Expected behavior It should abandon all quests in the zone that are included in group abandons

Screenshots N/A

Additional context This is due to the classic WoW API for quests. When you collapse a zone header, the quests actually disappear from your quest log. We might need to play with caching using the isCollapsed flag or find some other alternative. For now, the simplest solution is to expand a zone before attempting to abandon.