File Details
046
- R
- May 4, 2026
- 67.29 KB
- 2
- 12.0.5
- Retail
File Name
BazBars-046.zip
Supported Versions
- 12.0.5
BazBars
046 (2026-05-04)
Full Changelog Previous Releases
- v046: profession buttons open their windows
Profession spells dragged from the spellbook (Cooking, Alchemy,
Inscription, Mining, etc.) used to do nothing when clicked on a
BazBars slot. Default Blizzard action bars handle profession opens
through action-slot machinery a custom SecureActionButton can't
reach via the standard type="spell" / SetAttribute("spell", name)
path.
Two-part fix:- Spell.apply now dispatches every spell via type="macro" with
macrotext="/cast NAME". The macro path matches what default bars
use internally and is enough for the simpler professions
(Cooking, Fishing, Archaeology) plus every regular combat spell. - PostClick non-secure fallback for the Dragonflight-style
professions (Alchemy, Blacksmithing, Inscription, Engineering,
etc.) where /cast alone doesn't trigger the open. Looks up the
spell's professionID via C_TradeSkillUI.GetProfessionInfoByRecipeID
at click time, then calls C_TradeSkillUI.OpenTradeSkill(skillLine).
Combat-guarded - the open is non-protected but pointless during
combat anyway. Idempotent for windows that are already open.
Mirrored in FlyoutPopup.onCellClick so flyout cells holding profession
spells get the same treatment as regular bar slots.
Self-cast (right-click) for spells now uses macrotext "/cast [@player]
NAME" instead of the unit2="player" attribute on type="spell" - same
behaviour, fewer code paths to maintain.
- Spell.apply now dispatches every spell via type="macro" with
- Link License → GPL v2 page, Version → GitHub releases
- Link the WoW Midnight badge to the official Blizzard page
- Wrap 'Part of BazAddons' badge in link to bazaddons.com
- Add 'Part of BazAddons' badge + fix Version badge URL
Link the addon to the suite via a shields.io badge (image-only so it
renders cleanly on CurseForge too). Also corrects the Version badge
URL from bazsec/<repo> to BazAddons/<repo> after the org reorg.

