v1.12.0
What's new
v1.12.0
Custom Shelves
- Dropping onto a filled slot replaces it and hands you the old one,
every time. Dragging a spell, item, macro, mount or toy onto an
occupied slot now consistently puts the new action in the slot and the
previous one on the cursor, the way Blizzard's action bars do. Several
paths could undo or garble that:
- The drop is ignored if it reaches the slot a second time in the same frame. A second pass found the displaced action on the cursor and swapped it straight back, so the slot looked like it had refused the drop and the new action was left on the cursor.
- Macros are matched by name and slot. A general and a character macro can share a name, and resolving by name alone turned a dropped character macro into the general macro of the same name, so the slot showed, ran and swapped back the wrong macro. The saved slot is now trusted while it still holds a macro of that name. Otherwise the search prefers the same scope (general or character), and the result is saved. A renamed macro is followed instead of lost.
- Shift+click with something on the cursor places it. It used to pick the slot up, which replaced the cursor and threw away what you were holding.
- Unsupported things (equipment sets, pet actions, money) stay on the cursor instead of being cleared from it.
- Dropping a slot's own action back onto it is a no-op instead of leaving a copy on the cursor.
- An emptied or replaced slot drops the old action's cooldown swipe and tooltip at once. Before, the swipe stayed until that cooldown ran out.
- A drop attempted in combat says why nothing happened. The action stays on the cursor so it can be placed after combat.
- Pressing a slot to drag it no longer uses it. Slots registered both click edges, so the secure handler could fire on mouse press, before a drag began. As on the bar shelves, the press edge is now registered only for players who cast on key-down. A slot can also be dragged out without Shift while Lock Action Bars is off, like Blizzard's bars.
- Item cooldowns show on custom-shelf slots on every client. The
slot asked only for
C_Item.GetItemCooldown, and not every client has that name. Some have onlyC_Container.GetItemCooldownor the old global, and WoW: Forever drops deprecated globals outright. On a client without it, potions, trinkets and hearthstones never showed a swipe. Compat now uses whichever name exists, and does the same for the item-to-spell lookup that toys fall back on. Slots also refresh onBAG_UPDATE_COOLDOWN, so an item's cooldown appears the moment it starts. - Spell, toy and mount cooldowns keep running in combat on 12.x. Once
cooldowns are restricted,
C_Spell.GetSpellCooldownreturns secret numbers that addon code can't pass toSetCooldown, so these slots went blank for the whole fight. When the numbers are secret the slot now asks forC_Spell.GetSpellCooldownDurationand hands that opaque duration object to the cooldown frame, which reads it engine-side. Readable values still go toSetCooldown, as before. - Macros show the cooldown of what they would cast, like a macro on
Blizzard's bars: the macro's current spell (
GetMacroSpell), else its item (GetMacroItem), else the global cooldown. They used to show only the global cooldown. /bs debug customlists every custom-shelf slot: the saved action next to the secure attributes it was applied as and the API its cooldown came from./bs debug droptraces each drop, pickup and swap for the session.
v1.11.1
Action Bars
- Hiding a bar from the Action Bars panel can no longer strand it
hidden. Unticking "Hide <bar>" deletes that bar's override record
outright when nothing else is saved on it, and
ApplyBarOverridesthen fell through to a branch that did nothing at all:ApplyOnenever ran, and with it the module's onlyUnregisterStateDrivercall. The bar's wrapper anchor kept both the action buttons and a securevisibility = hidestate driver, which the secure environment goes on asserting in and out of combat, so the bar could not be brought back from the panel — it stayed gone for the rest of the session. The branch now releases the anchor, handing the buttons back to Blizzard's bar. Where the buttons can't go back — in drag mode, which needs the anchor alive, and while the legacy chrome hide is on, which has a visibility driver of its own on every bar frame — the anchor is kept and its hide cleared in place instead, so the buttons don't land in a frame the secure environment is holding hidden. - Releasing a bar's wrapper anchor unregisters its visibility driver.
A state driver is owned by the secure state system, not by the frame's
parent chain, so tearing the anchor down left the driver live on an
orphaned frame — and
BuildAnchorhands the next anchor the same global name (BarshelfBarAnchor_<id>) while that object stays alive behind it. - A bar handed over to a shelf no longer keeps a stale hide. Once a
shelf claims a bar,
ApplyBarOverridesstops managing it, so a hide registered before the handover would outlive it and keep hiding whatever the anchor still held. The hide is now cleared without touching button parenting, since the shelf may already have taken those buttons and reparenting them would pull them out of its popup.
Compatibility
- Classic Era 1.15.x: shelving the micro menu or the bags hides
Blizzard's originals again. Classic Era has become a hybrid — it ships
Blizzard's newer UI system, Edit Mode and real
MicroMenu/BagsBarcontainers among it, while keeping the legacy bar layout where bar 1's frame is stillMainMenuBar.Data_Vanilla.luaandData_TBC.luastill declared empty container chains on the older assumption that those elements were direct children ofMainMenuBarwith no container of their own, which was true on 1.13/1.14. The result was thatHideMicroMenuContainerandHideBagContainerresolved nothing and returned silently, leaving Blizzard's micro buttons and bag slots on screen beside the shelf. Both files now name the modern containers.Compat:ResolveFrametakes the first name that exists and returns nil if none do, so this is inert on a client that lacks them.
v1.11.0
Action Bars
Bar shelves build their own buttons instead of moving Blizzard's. Relocating Blizzard's buttons into a popup cannot survive a page change during combat on a 12.x-derived client. Those buttons are protected frames, and Blizzard's own code keeps operating on them after an addon has moved them:
ActionBarController_UpdateAll→UpdateAction→UpdatePressAndHoldActionperforms a protectedSetAttribute, refused during lockdown, and the error aborts the controller's loop at the first button so the remaining bars never finish repainting. Separately, showing or hiding the popup runs those buttons' ownOnShow/OnHideinside addon execution, and their handlers write into Blizzard's shared registries (ActionBarActionEventsFrame.frames, the range and usable watchers). Data written by tainted execution is itself tainted, so every later dispatch reading those tables runs tainted andActionButton_ApplyCooldowncan no longer hand the client's secret cooldown values toSetCooldown— the "Secret values are only allowed during untainted execution" spam, which hits every action button rather than only the shelved ones. A rogue triggered both on every pull, since entering combat breaks stealth and leaving it re-stealths.A bar shelf now creates its own buttons:
ActionButtonTemplateart plusSecureActionButtonTemplate, pointed at the real action slots. Clicking, dragging, keybinds, tooltips, stack counts and charges, equipped borders, usable and range tinting, flyouts and Masque skinning all work. Cooldowns come fromC_ActionBar.RegisterActionUIButtonso the engine draws them and the secret values never pass through addon code, and range checks go throughC_ActionBar.EnableActionRangeCheck. Each button's slot is read from the bar frame's ownactionpageattribute — the same lookup Blizzard'sCalculateActionperforms, with its vehicle/override/shapeshift/bonus-bar precedence already applied — so a mirrored shelf follows a rogue's stealth bar for free. Blizzard's bars are never touched, which is what ends the errors.This applies to every client that supports it, including one running an action-bar replacement. Standing aside for a replacement meant shelves were made of frames Barshelf did not own, so every property that mattered had to be inferred from outside: is this button real, disposed, retired with
statehidden, or merely empty? Each wrong inference produced a shelf that looked populated and did nothing — empty slots that wouldn't draw, slots that couldn't be dropped onto, bars that stayed on screen, and shelves with fewer slots than they were configured for. Mirroring asks none of those questions: the buttons are Barshelf's and the action slots are public. The replacement keeps driving its own buttons on its own bar, which is suppressed along with Blizzard's.The tradeoff: shelves wear Blizzard's button art rather than a replacement's skin — uniformly on every bar, rather than differing bar by bar depending on which addon owned it. Masque skins apply.
Shelving a bar takes it off screen again. Suppression is alpha-driven and deliberately never calls
Hide()on a bar or its buttons: Blizzard's buttonOnHideunregisters from the shared action-event registry, so hiding from addon context would mutate that shared table during tainted execution and re-create the bug above. Mouse input is disabled per button so invisible slots aren't clickable, and the whole thing is re-asserted from Barshelf's own event watcher rather than by hooking Blizzard's methods — installing a post-hook replaces the method with an addon-built closure, and a tainted closure taints whoever runs it.Per-shelf "Always show buttons", matching Blizzard's own setting: empty slots stay drawn as squares so the shelf keeps a stable shape and every slot stays a drop target. On by default.
Flyout slots (a mage's portals, Call Pet) are detected, marked with the flyout arrow, and open on click.
Quick Keybind, Blizzard's own included. A shelf's buttons are Barshelf's frames, so Blizzard's Quick Keybind mode had nothing on a shelf to bind. That mode is driven entirely from the button under the cursor — the dialog holds the keyboard and binds whatever command the hovered button hands it — so mirrored buttons now carry the three things it reads: the slot's binding command, the highlight overlay, and Blizzard's own
QuickKeybindButtonTemplateMixin. Shelf slots bind from the Edit Mode dialog like any other action button: keys, modifiers, mouse buttons 4 and up, and the wheel. Empty slots are drawn for the duration so they can be hovered, and casts are suppressed so a click assigns a key instead of firing the spell. The mixin is copied onto Barshelf's own frames rather than hooked onto Blizzard's, so nothing of theirs runs tainted.Barshelf's own hover-and-press mode still covers the Classic flavors, which have no such dialog, and remains available on retail. It now binds mouse buttons and the wheel as well as keys: the middle button, 4, 5 and wheel up/down assign by being used on the hovered slot. Left and right click are left alone, as Blizzard's own mode leaves them — they are the click that uses the slot.
Mouse input is taken by an invisible frame placed over the hovered slot rather than by hooking the slot's own scripts. Hooking the button is the obvious approach and it doesn't work: pressing a mouse button that already has a binding fires that binding, on the press, while an action button registers the release — so the bound spell went off before any addon code ran, and making the button inert couldn't stop a click that was never dispatched through the button. A mouse-enabled frame over the slot consumes the press instead, which also means a relocated Blizzard button can be bound by mouse: the click never reaches it, so nothing is written on a frame Barshelf doesn't own.
That mode is also reachable as
/bs keybind(/bs kb) now, not only from the Action Bars options panel: it is used with the cursor on a shelf slot, so walking back to the panel to switch it off was a detour.Classic flavors are unchanged. They have no secret values and their buttons are driven by the
actionpageattributes Barshelf already maintains, so the long-standing relocation keeps shipping there.
Compatibility
Bar shelves broke every action bar on the Classic Plus line, including bars that were never shelved. Symptoms were blocked
SetAttributecalls onActionButton1, secret-valueSetCooldownerrors in bursts, a stuck stealth bar, and the whole bar vanishing.Every guard protecting the modern action-bar architecture was keyed to the
WOW_PROJECT_IDflavor flag. The Classic Plus line ships the engine-managed architecture — protected buttons, shared dispatch registries, secret cooldown values — while reporting a non-Mainline project ID, so that client took the legacy path and re-enabled four taint carriers:parentBar.actionButtonOffset, the popup'sactionpageattribute, each button'sactionfield and attribute, and the manual refresh calling Blizzard'sUpdateAction. One tainted entry in the shared action-event registry breaks the update of every action button on every bar, which is why unshelved bars were affected. Those guards now ask a capability question (Compat:HasEngineManagedActionButtons) rather than a flavor question.Declared support for the current retail interface version (12.1.5), which the addon otherwise reported as out of date.
Each action API is resolved under either spelling —
C_ActionBar.*or the long-standing global — since they differ in availability and in signature between clients.C_ActionBar.GetActionCooldownreturns a struct where the global returns a tuple.
Bug Fixes
Barshelf's icon shows up in the AddOns list again.
.pkgmetaexcluded the wholeassetsfolder from the package, so every released build shipped without thelogo.tgaall five TOCs point## IconTextureat — it only ever worked from a source checkout. The ignore now covers just the source PNGs. The same omission had quietly blanked the empty-dock placeholder and options panel icons.Dragging a spell between slots cast it instead of moving it, and a mouse-button binding fired on press. Buttons registered both click edges, so the secure handler ran on mouse-down before a drag could start; they now follow Blizzard's own cast-on-key-down setting.
"Always show buttons" drew nothing on a mirrored shelf. The empty slots were shown but never painted: Blizzard draws that art from
ActionButton_ShowGrid, which reaches into its own buttons' regions. Mirrored buttons draw their own square, preferring the current art set's slot frame.A shelved bar an action-bar replacement doesn't manage came out blank — twelve slots that drew nothing and couldn't be dropped onto. The replacement disposes Blizzard's natives at load (events unregistered,
statehiddenset, reparented away) and builds its own only for the bars it shows, so for a skipped bar the shelf captured twelve permanently dead frames.statehiddenmakesShow()a no-op, so nothing could have made them appear.A shelf no longer reserves grid space for retired buttons, which showed as a block of empty popup below the real slots.
A dock overlapping one of Blizzard's action bars was drawn underneath it, which showed up most clearly while dragging a spell: the bar's empty slots are invisible until then, so the overlap only becomes visible at the moment the grid appears. Docks deliberately stay out of the DIALOG strata so the Settings panel can cover them, which leaves them in the same HUD layer as Blizzard's bars. A dock now takes the bars' own strata, clamped to HIGH so it stays below DIALOG, plus a frame level above theirs — both halves of the pair, since the bars share MEDIUM with the dock on some clients and sit higher on others. Measured from the bars and their buttons (Edit Mode and other addons re-layer them), with a floor for clients where the bars aren't found, and re-read on each rebuild. Shelf handles are moved with their dock, because a child keeps neither its parent's strata nor its level once it has set its own. Shelf popups were already above all of this, in DIALOG.
/bs debug layersprints what each side ended up at.ESC over a slot left Quick Keybind instead of clearing the slot. The cursor is on a shelf slot for the whole of that mode, so the exit key was firing exactly where it was least wanted. ESC over a slot now clears that slot's binding — the same thing Blizzard's own binding mode does, which prompts "Esc to unbind" — and only leaves the mode when nothing is hovered. DELETE still clears too.
The options panel's Quick Keybind and Drag Mode buttons went stale. Each re-read its state only when clicked, so leaving the mode any other way — ESC,
/bs keybind,/bs drag, or combat ending it — left the button reading ON for a mode that was off. Both now re-read whenever the mode changes and whenever the panel is shown.Quick Keybind mode no longer eats the keyboard. Barshelf's own mode left its capture frame claiming every key press, so movement and chat went dead while it was on, and ESCAPE exited only if the cursor happened to be resting on a slot. It now claims a key only when a slot is hovered, and ESCAPE always exits.
The Action Bars options panel was missing on retail and the Classic Plus line, and with it the only UI for Quick Keybind. The panel was registered only where
BarOverridesis loaded — the Classic TOCs — because it started out as that module's panel. It has since grown to hold Quick Keybind and the page controls, which come from elsewhere and work on every client, so the whole panel is now registered everywhere and each group inside it checks for the module it needs. On a client withoutBarOverridesthat means Quick Keybind and Show Page Controls; the in-place bar controls (hide chrome, Drag Mode, per-bar visibility) still appear only where they do something.Clicking a flyout slot while binding opened the flyout instead of assigning the click. Suppression clears the button's
typeattribute, which stops the secure dispatch, but Barshelf's own insecure fallback for flyouts ran anyway. Both binding modes now stand it down.Flyout slots went inert after Quick Keybind mode. Casts are suppressed by clearing each button's
typeattribute and restoring it on the way out — but it was restored asactionfor every button, and a flyout slot needsflyout. Since that attribute is only rewritten when the slot's flyout id changes, a portal or Call Pet slot stopped opening until the slot was touched again. The restore now puts back whatever the slot actually uses.Flyouts opened nothing.
SpellFlyout:Toggletakes the button first and the flyout id second, and calls back intoGetPopupDirection()andTogglePopup()on that button to place and show itself. Barshelf's buttons had neither method, and the id was passed where the button belonged, so the call died insideGetFlyoutInfo. Mirrored buttons now carry Blizzard'sFlyoutButtonMixinwhere it is reachable, with stand-ins otherwise.Bars 6-8 fell back to the wrong action slots when their bar frame carried no
actionpageattribute — a bar left disabled in Edit Mode. The static fallback pointed at the bonus-bar pages 7/8/9 (slots 73-108) instead of pages 13/14/15 (slots 145-180).Bar shelves stopped writing to Blizzard's bar frames. Hiding a shelved bar's gryphons and dividers set Blizzard's own
hideBarArtfield, whichActionBarMixin:UpdateShownButtonsreads back throughUpdateDividerson every action change — carrying taint intoValidateActionBarTransition→MainActionBar:Show()/MultiActionBar_Update()→SetShownBase(), refused during lockdown.Corrected the WoW: Forever paging model in the code's own notes. Camelot has no
actionButtonOffsetfield anywhere in its interface source;ActionBarController_UpdateAllsetsactionpageon the bar frame andSecureActionButtonMixin:CalculateActionresolvesuseparent-actionpagethroughframe.bar or GetParent(frame).
Diagnostics
/bs debug taintwalks Blizzard's action-bar frames and shared dispatch registries and names every tainted field along with the addon that tainted it. The same sweep runs automatically the first time BarShelf is named inADDON_ACTION_BLOCKED, and the result is stored in SavedVariables so it survives a reload./bs debug slotsprints each bar shelf's button chain: what resolved, what is shown, where, at what size, and which slots are retired./bs debug mirrorreports the mirror gate's reason and which spelling each action API resolved to./bs debug cdreports a mirrored button's cooldown and flyout state.
Known Limitations
- Paging a mirrored shelf during combat is deferred to the moment combat
ends. Writing the
actionattribute is protected during lockdown, and on WoW: Forever the client cannot compile addon secure snippets at all (loadstring_untaintedis missing), so a secure state driver isn't available there either.
v1.10.0
Compatibility
- World of Warcraft: Forever (Classic Plus) is now supported. The 1.60+ "Project Camelot" client is a hybrid: it reports the Mainline project ID and loads the retail UI stack — Edit Mode,
MainActionBarplus all seven MultiBars with identical chrome (BorderArt/EndCaps/ActionBarPageNumber— only the gryphon art is Camelot-specific),MicroMenuContainer,BagsBar, andStatusTrackingBarManager— so Barshelf's retail code paths (button reparenting,actionButtonOffsetpaging, chrome lock, Edit Mode integration) apply unchanged. A newBarshelf_Camelot.toc(Interface16001) loads the retail file list with a Forever-specificData_Camelot.lua, verified frame-by-frame against Blizzard'sforeverinterface branch (build 1.60.1.69913). - The micro shelf carries Forever's own menu roster. Camelot splits the retail PlayerSpells button back into separate Spellbook and Talents buttons (both tabs of the retail PlayerSpells frame), and replaces Achievements with the new Legacy button (Forever's achievement-based progression system, opened via
ToggleLegacySystemUI). The custom micro menu gained a Legacy definition — labeled with Blizzard's own localizedLEGACY_BUTTONstring — and its Spellbook/Talents/Group Finder entries now resolve the Camelot openers (PlayerSpellsUtil.TogglePlayerSpellsFramewith an explicit tab,ToggleGroupFinderFrame) before falling back to the legacy globals other flavors use. - The keyring works on Forever's modern bag bar. Camelot brings the keyring back as a modern
BagsBarslot, but without the legacyToggleKeyRingglobal — the keyring shelf's click handler now routes throughCompat:OpenKeyring(which falls back toToggleBag/OpenBagwithKEYRING_CONTAINER), andCompat:IsKeyringActiverespects Blizzard'sC_ActionBar.ShouldShowKeyring()gate, the same checkKeyRingMixinuses. - Dock handles no longer error on every hover/click on the Forever beta. The current beta client ships
loadstringbut notloadstring_untainted, the global Blizzard's ownRestrictedExecution.luaneeds to compile addon-supplied secure snippets — so every_onclick/_onentersnippet in the game throws "attempt to call a nil value" from Blizzard's code the first time it fires. Barshelf now probes snippet support once at load (Compat.has.secureSnippets, a directtype(loadstring_untainted) == "function"check — the global is addon-visible on every healthy client, and probing by actually executing a snippet would route the compile error to the global error handler instead of apcall) and, when the restricted environment is broken, skips installing its secure snippets and wires an insecure stand-in instead: click-toggle with close-others and hover-open with a mouse-out grace watcher, all functional out of combat and no-oping during lockdown (popup open/close in combat needs the secure path, which the client bug makes impossible). If a later Forever build restores the restricted environment, the probe flips back and the combat-safe secure path is used again automatically. - The options panel no longer errors on Forever the first time it draws a checkbox. Forever ships none of the deprecation wrappers retail keeps, and AceGUI's CheckBox widget calls the removed
SetDesaturationglobal. SinceLibs/is LibStub-shared and must stay untouched,Compat.luare-provides the missing global — Blizzard's original one-line implementation, defined only when the client lacks it, so it's inert on every other flavor.
v1.9.4
Compatibility
- Updated for Classic Era 1.15.9 and TBC 2.5.6. Bumped the Vanilla TOC interface to
11509and the TBC TOC to20506so Barshelf loads without the out-of-date flag on the current Classic clients. - Fixed "Hide Blizzard's default bottom bar" on Classic Era 1.15.9. Era 1.15.9 started shipping the
Blizzard_EditModeaddon, soEditModeManagerFramenow exists on Era even though the action bars are still the legacy layout. Barshelf used that frame's existence to pick between its modern (strip art only) and legacy (hideMainMenuBarwholesale) chrome paths, so on 1.15.9 the toggle silently took the modern path and did nothing. The split is now driven by the per-flavor bar data — bar 1's frame beingMainMenuBarmeans legacy — which stays correct regardless of what Blizzard backports next.
Action Bars (Classic)
- Bar 1 behaves as Blizzard's default bottom bar while the chrome is visible. A saved position/scale override for bar 1 (from bar drag mode) used to detach
ActionButton1–12into a floating standalone bar even with "Hide Blizzard's default bottom bar" unchecked — leaving the gryphon chrome empty and a duplicate-looking bar hovering nearby. On legacy clients (Vanilla/TBC), bar 1's buttons live insideMainMenuBar, so overrides for it now only engage while the chrome is hidden: uncheck the option and the buttons rejoin the stock bottom bar at their default spots; re-check it and bar 1 jumps back to your saved position. The saved override is kept, just dormant. Drag mode also skips bar 1 while the chrome is visible, so the orphaned state can't be re-created. - Custom page controls step aside for Blizzard's own. The draggable page-flip widget is now suppressed while Blizzard's default bottom bar is visible — its built-in arrows and page number are already on screen — and comes back automatically when the chrome is hidden, without losing the Show page controls preference.
- New diagnostic:
/bs debug bar1. Read-only dump of who owns bar 1 right now — the chrome flag, the saved override,ActionButton1's live parent and anchor point, the override-anchor state, and the layout signals the code branches on. One paste answers "why is my bar 1 floating."
v1.9.3
Compatibility
- Updated for WoW 12.1.0 (Curse of Ula'tek). Bumped the retail TOC interface to
120001, 120005, 120007, 120100so Barshelf loads without the out-of-date flag on patch 12.1.0. No code changes were needed. 12.1's headline change is the aura overhaul —SecureAuraHeaderTemplateis gone, replaced by the newAuraContainer/AuraButtonintrinsics, and addons may no longer reparent aura buttons — but Barshelf displays no auras, and the ban is aura-specific: reparenting action buttons, which is how bar shelves work, is untouched. None of the 19 removed globals (GetInventorySlotInfo,GetWeaponEnchantInfo,CancelItemTempEnchantment,SetTableSecurityOption,GetInspectSpecialization, …) or the renames (UIParentLoadAddOn→LoadAddOnWithErrorHandling,CanAccessObject→FrameScriptObject:CanBeAccessedInContext) appear anywhere in Barshelf or its bundled libraries. The two 12.1 changes that do touch Barshelf's code paths are purely additive:C_Spell.GetSpellTexturegained a third return (conditionalIconID) andSPELL_UPDATE_COOLDOWNgained anitemIDpayload argument. The further round of Unit APIs that now return secrets when a unit's identity is secret (UnitClass,UnitRace,UnitSex,UnitGroupRolesAssigned, …) is likewise a non-issue — the status shelf's only such call isUnitSex("player"), a literal token that is never secret. - Verified against Blizzard's 12.1.0 source. All eight action-bar frame globals (
MainActionBar,MultiBarBottomLeft/BottomRight/Left/Right,MultiBar5–7) are unchanged, and the micro-menu roster inData.luastill matchesMicroMenuMixin:GenerateButtonInfosexactly, order included — so no bar, micro, bag, or status shelf needed remapping.
Note on 12.1's new Roleset system: Blizzard now tags frames with a
roleset(the action bars areroleset="actionBars") and force-hides inactive rolesets viaC_Roleset.ApplyRolesetFilters, driven by the UI mode stack. The tag sits on the bar containers, not the buttons, so buttons reparented onto a shelf may stay visible during modes where Blizzard hides the action bars (cinematics, vehicles, pet battles). That is cosmetic and arguably what you want from a shelf; if it proves intrusive in practice it'll be addressed in a follow-up.
Custom Shelves
- Item slots now show stack counts. Items on custom shelves display their owned count (bag stacks plus charges of charge-based items) bottom-right on the icon, just like a real action-bar item button — including a "0" when you consume the last one. Counts refresh when your bags change; unique gear and toys stay clean (no pointless "1"). In 12.x combat these values can be temporarily secret; the count simply hides until they're readable again instead of erroring. Masque skins pick up the new Count region.
Bug Fixes
- Bag shelf's mouse-over slots popup no longer errors in combat. With Show slots on mouse-over enabled, hovering the bag shelf during combat tried to build/show the slots popup (a protected action during lockdown), and moving the mouse off an already-open popup tried a protected
:Hide()— the same class of in-combat error the v1.7.4 popup fixes addressed. Hover-open is now suppressed in combat, and an open slots popup closes itself right after combat ends instead of erroring mid-fight. - Renaming shelves/docks with the Settings panel open in combat. The rename box's keyboard capture used an API that's protected during combat lockdown; focusing the box in combat raised a protected-function error and could leave the rename half-applied. It's now guarded (the keybind capture buttons too), and a change committed during combat is queued and applied when combat ends instead of being silently dropped. The shelf header also updates the moment the rename commits, so it's obvious the new name took.
v1.9.2
Pinned Bars
- Pinned bars can now be dragged flush to the top of the screen. The drag grip rides above the bar and the cursor stops at the screen border, so a drag could never push the bar the last ~14px to the top — it always stalled just short, and the grip's side-flip only ran after release, teleporting the (now faded-out) grip to the bottom edge where you weren't looking. The bar now snaps flush once its top edge enters the grip-tab zone, and the grip visibly hops below the bar while you're still dragging, with hysteresis so it doesn't see-saw when the bar is parked right at the threshold.
- Center snapping, like Edit Mode. While dragging, a pinned bar's center now catches the screen's horizontal and vertical center lines when it comes within 10px. Each axis snaps independently, so you can center a bar horizontally at any height. A new Snap to screen center when dragging checkbox (per shelf, on by default, under Pinning) turns it off.
- Pixel-nudge arrows. The Pinning section gains a Position row —
< X >and^ Y v— that moves the pinned bar 1 px per click, 10 px with Shift held. Nudging never snaps, so it can reach the placements the snap lines skip over.
Status Shelf
- Friendship, renown, and paragon reputations now show real progress. These faction types never advance on the classic 8-tier reaction scale, so the shelf showed them stuck at a fixed standing with no numbers. Each faction is now resolved through the same branch order as Blizzard's ReputationFrame (paragon → renown → friendship → standard), each via its own retail API, with Classic falling through to the standard scale. Adds
$repCur/$repMaxlabel tokens (progress within the current standing) and formats the default bar text like Blizzard's own reputation bar, omitting the numbers at cap.
EllesmereUIActionBars compatibility
- Shelves survive Ellesmere's shifting startup timing. Ellesmere creates its
EABButtonframes during its own load, whose timing relative to Barshelf's has moved across Ellesmere releases (8.5.4/8.5.5 even defer it past the loading screen). If Barshelf activated first, it silently bound Blizzard's disposed buttons and the shelves stayed inert for the whole session. Barshelf now detects that window and retries activation for up to ~10 s until Ellesmere's buttons exist, printing a hint if they never do. - Buttons stay on their shelves after combat. Ellesmere re-points every button back to its own bars after each fight; the layout watcher now catches that pass and re-asserts shelf layouts — including hidden popups, so an in-combat open finds the buttons already in place.
v1.9.1
Custom Shelves
- Flyout spells (Mage Portals / Teleports, etc.) cast again. Opening a flyout slot's popup worked, but clicking a spell inside it did nothing for anyone who plays with Cast on Key Down enabled. The sub-popup buttons registered only the key-up edge, and Blizzard's secure handler only fires the cast on the edge that matches your Cast on Key Down setting — so on key-down the click was silently dropped. They now register both edges like the main shelf buttons (the secure handler still fires exactly one cast), so flyout spells cast regardless of that setting.
- Custom-slot tooltips now show the real spell/item tooltip. Hovering a spell, item, or mount on a custom shelf previously showed only its name. It now renders the full native tooltip — the same one you'd see in the spellbook or your bags — with the Shift+click to pick up / Shift+Right-click to clear hint appended below. Macros, battle pets, and outfits (which have no simple native tooltip) keep the one-line name.
v1.9.0
EllesmereUIActionBars compatibility
- Bar shelves now work with EllesmereUIActionBars. Ellesmere is a full action-bar replacement: at load it disposes Blizzard's native action buttons — unregisters their events, marks them
statehidden, and parks them on a hidden frame — and drives your abilities through its ownEABButton<slot>frames instead. Barshelf works by reparenting action buttons into its popups, so it was grabbing those now-dead Blizzard buttons and the shelves came up empty. Barshelf now detects Ellesmere and resolves each bar to Ellesmere's live buttons (mapping Barshelf's bars 1–8 onto Ellesmere's slot numbering, including bars 6–8, which Ellesmere remaps to action pages 13–15 rather than Blizzard's 7–9), so shelves populate, cast, show cooldowns, and pick up handle/icon art correctly. Every place that reads a bar button — shelf activation, layout auto-detect, dock and options icons, quick-keybind hover hints — now goes through one resolver, so the swap is applied consistently. - Shelves stay where you put them. Ellesmere re-anchors its buttons to its own bars on spec changes, shapeshifts, vehicle/bonus-bar swaps, and zone-ins. Because it re-points (rather than re-parents) the buttons, a button placed in a Barshelf popup would jump back to Ellesmere's on-screen bar location after any of those events. Barshelf now re-asserts a shelf's layout when its popup opens and — for pinned, always-open popups — after each of those events, all out of combat, where Ellesmere's own layout pass also pauses, so the two never fight mid-fight.
- New
/barshelf ellesmerediagnostic prints, per bar, which button frame the shelf resolves to and whether it currently holds an action — handy for confirming the bridge is active.
Tip: If you want a bar on a Barshelf shelf, disable that bar in Ellesmere's options. Otherwise both addons try to display the same buttons at once.
v1.8.2
Custom Shelves
- Flyouts (Mage Portals / Teleports, etc.) can go on a custom shelf. Dropping a flyout used to be rejected. It now lands as a single slot that shows the flyout's icon plus a small arrow; clicking it opens a popup of the flyout's individual spells — each a normal secure button, so casting works exactly like any custom slot. The list mirrors Blizzard's own
SpellFlyout(known spells only, Call-Pet entries skipped) and refreshes each time it opens, and the menu opens toward screen room (upward from a bottom-docked shelf) instead of off-screen. The toggle is out-of-combat only — opening a frame of secure buttons is blocked in combat (the same reason the bag-slots popup is), which is no limitation for portals. Remove a flyout with Shift+Right-click.
Custom Micro Menu
- Native tooltips are back on the micro menu. Entries previously showed only their label; they now render Blizzard's own tooltip anchored to the shelf button — including the Game Menu button's performance readout (framerate, home/world latency, protocol). The keybinding still shows because Blizzard bakes it into the tooltip text, so nothing was lost. Falls back to the plain label if a client doesn't expose the tooltip helpers.
v1.8.1
In-Combat Reliability
- Micro-menu buttons work in combat. Clicking a custom micro-menu entry (Spellbook, Talents, Collections, Character, …) in combat did nothing, because those panels open via
ShowUIPanelon a protected frame and our insecure click is blocked during combat lockdown (Blizzard's own hardware-triggered secure click is allowed; ours wasn't). Every entry is now aSecureActionButtonthat forwards/clickto the real Blizzard micro button — the same approach used for the Shop entry — so each behaves exactly like Blizzard's button, including in combat, with no taint. (This also retires the old Game-Menu workaround, which now simply clicks the realMainMenuMicroButton.)
v1.8.0
Mists of Pandaria Classic support
- Barshelf now loads on MoP Classic (5.5.x). Added interface versions
50500, 50503, 50504to the Mists TOC so it no longer shows as out of date. MoP Classic runs the modern client engine (Edit Mode,MainActionBar,MicroMenuContainer,BagsBar) rather than the legacy 5.4 layout, so the per-flavor data was corrected to match Blizzard's actual MoP Classic frames (verified against Blizzard's source) instead of the pre-12.x names that were guessed before. - Micro-menu and bag shelves now hide Blizzard's bars. The Mists container-frame names were wrong (a guessed
CharacterMicroButtonAndBagsBarthat doesn't exist on the client), so nothing was hidden. They now target the real modern frames —MicroMenuContainerfor the micro menu andBagsBarfor the bag bar — withStatusTrackingBarManagerfor the status bar. - Correct MoP micro-menu roster. The custom micro menu now matches MoP Classic's actual buttons and order (Character, Spellbook, Talents, Achievements, Quest Log, Socials, Guild, PvP, Group Finder, Collections, Adventure Guide, Shop, Game Menu) instead of retail's. Added the missing PvP button, switched to MoP's
LFGMicroButton(was the retailLFDMicroButton), dropped the retail-onlyHelpMicroButton, and removed the retail "Warband" wording from the Collections label. - "Hide Blizzard's default bottom bar" keeps your action buttons. On the modern engine the action buttons live in
MainActionBarwhile the gryphon art is the separateMainMenuBarframe, so the old wholesale hide took the buttons with it. It now strips only the decorative art (gryphons, dividers, page number) and leaves the buttons in place — matching the Classic-Era result — and re-asserts the hide throughUpdateEndCapsso Edit Mode changes don't bring the art back. - Keyring shelf is correctly hidden on MoP. The keyring was removed in Cataclysm, but MoP Classic still ships a hidden
KeyRingButtonframe, so the option was being offered where it can't work. It's now gated on the runtimeIsKeyRingEnabled()check (viaCompat:IsKeyringActive), so it only appears on Vanilla / TBC / Wrath.
In-Combat Reliability
- Bag shelves open in combat. The bag handle's click was blanket-blocked during combat, but opening bags isn't a protected action — so you couldn't open your bags mid-fight. Left-click (open all bags / open backpack) now works in combat; only the "show bag slots" action stays out-of-combat, since it reparents Blizzard's protected bag-slot frames.
Fixes
- Font picker no longer errors when a SharedMedia addon is loaded. The handle-font option stored a file path, but the LibSharedMedia font widget (a single shared instance, so whichever addon ships it wins — e.g. Prat) expects a font name. Feeding it a path made it call
SetFontwith an invalid asset and throw (Invalid font asset … file not found) when opening Barshelf's settings. The option now uses font names and resolves them to file paths at render time; existing profiles that stored a path still work and are converted on next open.
v1.7.4
In-Combat Reliability
- Fixed the in-combat mouse lockup. Popups are
SecureHandlerStateTemplateframes, so:Hide()on them is a protected action that errors during combat lockdown.CloseAllPopupshid popups before the click-catching backdrop, so when the protected:Hide()threw mid-loop the function aborted and the full-screen backdrop was left visible — silently eating mouseover and clicks meant for unit frames, action bars, etc. (the "I can't click or hover anything in combat / can't hover a party frame to heal in M+" reports, with aTried to call protected method 'BarshelfPopup_1:Hide()'error).CloseAllPopupsnow hides the insecure backdrop/esc-helper first (always safe, even in combat) and only attempts the protected popup:Hide()out of combat.PLAYER_REGEN_ENABLEDreconciles the backdrop when combat ends so nothing lingers. - Backdrop no longer sits on top of the whole UI. The click-outside-to-close catcher moved from
DIALOGstrata toBACKGROUND(plusSetPropagateMouseMotion), so it sits underneath every other frame instead of on top of them. It only receives clicks on otherwise-empty screen space — which is all "click outside to close" needs — and never swallows hover or clicks destined for frames above it. This also fixes clicking a shelf handle hitting the backdrop before the handle (which closed then instantly reopened the popup), and makes hover-open noticeably snappier. - Hover-trigger shelves now open and close in combat. Hover open/close was driven by an insecure
OnUpdatewatcher that called:Hide()— impossible on a secure popup during lockdown, so hover broke the moment combat started (and could throw). Hover is now handled entirely in the secure environment: aSecureHandlerEnterLeaveTemplatesnippet shows the popup and registers it with the engine's secure hover driver (RegisterAutoHide/AddToAutoHide), which auto-closes the popup ~0.2s after the cursor leaves both the popup and its handle, in or out of combat. Click-mode and bag/keyring shelves are gated out via ahovertriggerattribute so they never auto-hide. - A popup opened in combat now closes on an outside click once combat ends. Showing the click-outside catcher is gated out during lockdown, so a popup opened mid-combat had no catcher and stayed open until you clicked its handle — even after combat.
PLAYER_REGEN_ENABLEDnow shows the catcher if a popup is still open, so the first outside click closes it. The "Click outside to close popups" tooltip also notes that closing on an outside click is out-of-combat only — Blizzard blocks closing secure frames during combat, so close via the handle there.
Custom Micro Menu (retail)
- Game Menu button works again. In 12.x
ToggleGameMenu()first routes throughMenu.GetManager():HandleESC(), which can consume the call (dismissing a transient menu/dropdown) instead of opening the Game Menu when invoked from a button click — so the button appeared to do nothing. It now togglesGameMenuFramedirectly the way Blizzard'sMainMenuMicroButtonMixin:OnClickdoes, falling back toToggleGameMenu()only when it can't (in combat). - Shop button works again.
ToggleStoreUI()is a protected function in 12.x, so calling it from the menu button's insecure click raisedADDON_ACTION_FORBIDDEN(the store opened but logged an error and tainted). The Shop entry is now aSecureActionButtonwhose macro runs/click StoreMicroButton, forwarding to Blizzard's own micro button so the protected toggle fires in its untainted, hardware-triggered context. It registers both click edges so it dispatches regardless of theActionButtonUseKeyDowncvar, and does not override the secure template's ownOnClick(which is what runs the macro).
Custom Shelves
- Macros keep their slot when the macro list is reordered. Macro slots were saved by macro index, which shifts whenever macros are added, deleted, or reordered — so a slot would silently start firing a different macro. Slots now capture the macro name at drop time and re-resolve the live index from it on every apply (the same stable-ID pattern the transmog-outfit handler already uses), which also makes pick-up and drag-to-swap target the right macro. Existing slots fall back to the saved index and get their name backfilled on the next apply, and slots refresh on
UPDATE_MACROSso a reordered list updates without a reload.
v1.7.3
Compatibility
- Updated for WoW 12.0.7 (Midnight). Bumped the retail TOC interface to
120007so Barshelf loads without the out-of-date flag on patch 12.0.7. No code changes were needed — none of the patch's API changes (party APIs moving toC_PartyInfo, the removed Minimap texture setters, the new money-tooltip helpers) touch Barshelf's code paths.
v1.7.2
Custom Shelves
- Dropping onto a filled slot no longer casts or double-swaps. Two bugs in the v1.7.1 drop-to-swap path: (1) because the slot is a secure action button, clicking it with something on the cursor fired the slot's current action (casting whatever was already there) before the drop ran; (2) the button is registered for both click edges, so
HandleCustomDropran twice per click — the second pass re-dropped the displaced occupant that the swap had just put back on the cursor. APreClicknow blanks the secure action for that one click so the handler is a no-op, and the drop logic runs once on the up edge. Rejected drops (unsupported cursor types) restore the existing action so a slot is never left uncastable, and a next-frame safety net covers the press-drag-off-and-release-elsewhere case where the up-click never lands on the button. - Toys and other uncached items show their name.
C_Item.GetItemNameByIDreturns nil until the client caches an item's full record. Icons resolve synchronously from static display data, so a freshly-dropped toy showed its icon but a blank label — toys live in the Toy Box rather than your bags, so their record is frequently uncached. Names now fall back toC_ToyBox.GetToyInfo, and the slot re-applies onGET_ITEM_INFO_RECEIVEDonce the client finishes loading the data (covers non-toy uncached items too). The re-apply is filtered to the specific item that loaded, so the high-frequencyGET_ITEM_INFO_RECEIVEDevent doesn't churn every item slot on every fire.
v1.7.1
Custom Micro Menu (retail)
- Roster matches Blizzard's actual retail micro menu now. Three buttons in the active list had no
MICRO_DEFSentry —ProfessionMicroButton,HousingMicroButton, andLFDMicroButton(retail and Mists Classic useLFDMicroButton; onlyLFGMicroButtonhad a def, so retail's group-finder entry silently dropped out). Added defs for all three. Order now mirrorsBlizzard_MicroMenu/Mainline/MicroMenuContainerOverrides.lua'sGenerateButtonInfosexactly, minusHelpMicroButton. - Icons cloned from the live Blizzard buttons. Previously the micro shelf rendered hand-picked
Interface\Icons\…substitutes that didn't resemble Blizzard's real artwork. NewApplyMicroIconpulls the source button's normal atlas / file texture /Portraitchild and applies it to our cloned icon — so retail picks up the realUI-HUD-MicroMenu-*-Upart and Classic gets the file textures. Vertex color is mirrored too, so dynamic tints (GuildMicroButton's tabard-color swap) carry through. - Character Info uses the player portrait. Special-cased to call
SetPortraitTexture(iconTex, "player")directly, since the source button'sPortraitis an engine-rendered model rather than a file path —GetTexture()returns nil for it, so the previous clone path silently fell back to the chrome. - Dynamic icons stay in sync. Shared event frame listens to
UNIT_PORTRAIT_UPDATE/PORTRAITS_UPDATED/PLAYER_ENTERING_WORLD(Character) andPLAYER_GUILD_UPDATE/NEUTRAL_FACTION_SELECT_RESULT/PLAYER_ENTERING_WORLD(Guild), re-runningApplyMicroIconfor any cloned icons registered for those sources. Cloned icons unregister on shelf teardown so the watch list doesn't leak. - Aspect ratio preserved. Cloned icons used to render in 18×18 (list) / 28×28 (grid) squares, but the source artwork is designed for a 29×37 button (aspect ~0.78), so forcing a 1:1 box stretched icons horizontally — visible especially on Classic. List mode now sizes icons to the row height with aspect-correct width (centered in a fixed-width column so labels still line up); grid mode fits within the cell while keeping aspect.
- Bigger, cleaner list-mode icons. Bumped
LIST_ROW_HEIGHTto 30 andLIST_ICON_SIZEto 26 so the cloned glyph reads at a comparable visual weight to the player portrait. Light 0.07/0.93 bevel trim for file textures (Classic); retail atlases keep0,1,0,1since they're chrome-free by design.
Custom Shelves
- Drop-to-swap. Dropping an action on a custom shelf slot that already had something just overwrote the existing entry — the displaced spell / item / macro silently disappeared.
HandleCustomDropnow captures the slot's prior contents and puts them on the cursor after the new action is applied, mirroring how Blizzard'sPlaceActiondisplaces existing actions onto the cursor. Drop onto an empty slot still works the same way (nothing to displace).
v1.7.0
Classic Support (Vanilla / TBC / MoP)
- Shipping Classic flavor TOCs.
Barshelf_Vanilla.toc(Interface 11508),Barshelf_TBC.toc(Interface 20505), andBarshelf_Mists.toc(Interface 50503) load the addon on the matching Classic clients. Per-flavorData_Vanilla.lua/Data_TBC.lua/Data_Mists.luacarry the right bar count, action-page IDs, and binding prefixes for each expansion. A newCompat.lualayer lifts version-specific API checks (Keyring presence, retail-only paths, etc.) out of feature code. - Fixed MultiBar action-ID collapse on Classic. All shelves used to mirror Bar 1 because Vanilla/TBC/MoP read action IDs via the secure
actionpageattribute (not retail'sactionButtonOffset).BarShelf.luanow setspopup:SetAttribute("actionpage", info.page)for static bars and subscribes toACTIONBAR_PAGE_CHANGED/UPDATE_BONUS_ACTIONBARfor dynamic Bar 1 paging — Bars 2–5 now show their own buttons. - Per-bar drag/show/scale controller (Classic only). Retail has Edit Mode; Classic doesn't.
BarOverrides.luabuilds a per-bar wrapper anchor (BarshelfBarAnchor_<id>) sized to the bounding box of each bar's action buttons, reparents the buttons into it, and applies user overrides (Show, Position, Scale) on the wrapper rather than touchingMainMenuBardirectly — so dragging "Bar 1" doesn't grab the gryphons, bags, keyring, micro menu, and XP bar with it. Right-click a wrapped bar in drag mode to jump straight to the Action Bars settings panel. - Page Controls floating widget. A draggable
^ / N / vchrome that mirrors Blizzard's classicMainMenuBarPageNumber+ActionBarUpButton/DownButton(32×32 textures with 6/6/7/7 hit-insets, page label asGameFontNormalSmall). Clicks dispatch viaSecureActionButtonTemplatemacros that/clickBlizzard's hidden up/down buttons — paging works even with the bar chrome hidden. Snap to ActionButton1's left or ActionButton12's right to follow Bar 1 wherever it lives (chrome shown, chrome hidden, or shelved); free-drag otherwise. Combat-deferred build: if combat blocksSecureActionButtonTemplatecreation, the widget mounts onPLAYER_REGEN_ENABLED. - Quick keybind mode. Edit-Mode style hover-and-press. Toggle from Action Bars; mouse over any action button and press a key to bind it (modifiers supported).
SetOverrideBindingClickfor the live capture,SaveBindings(GetCurrentBindingSet())to persist. Auto-disables when entering combat (PLAYER_REGEN_DISABLED) so capture frames never taint protected paths. - Custom micro menu for Classic. Retail's
MicroMenuwidgets don't ship on Classic, so the legacy plate-style detection had to be rebuilt. Two layouts (list / grid). List rows render[icon] Label (Keybind)— keybind read live viaGetBindingKey(action)and formatted withGetBindingText. Selectable from the Micro Shelf settings.
New Features
- Keyring shelf. A clickable shelf type (Vanilla / TBC / Wrath only — gated on
Compat.has.Keyring) that opens Blizzard's keyring container. The Bag Shelf popup also includes a custom keyring slot that uses Blizzard's native vertical-pouch art (Interface\Buttons\UI-Button-KeyRingwith the correctSetTexCoordcrop) and scales to match the popup's bag-slot height. Keyring code is no-op on retail/Cataclysm+ where the feature was removed. - Latency widget on the status shelf. Reports world / home latency via
GetNetStats(). - Action Bars settings panel. Consolidates Hide Chrome, Drag Mode, Quick Keybind, Show Page Controls (+ snap dropdown), and per-bar Show/Hide checkboxes. Sits above Shelves & Docs in the settings tree.
- Handle font and label color are configurable via LibSharedMedia-3.0 (now embedded under
Libs/). Install the SharedMedia addon to expand the font dropdown beyond the client built-ins. Color picker defaults to gold to match Blizzard's standard label palette;SetFontfalls back to Friz Quadrata if the configured path fails to load. - Handle alignment (LEFT / CENTER / RIGHT). RIGHT mirrors the icon to the right side of the handle instead of the label, matching the handle's visual direction.
- Popup open direction is auto-picked.
Popup.luapicks the direction perpendicular to the dock's axis (top/bottom for horizontal docks, left/right for vertical docks) with the most margin, falling back to the parallel axis only when neither perpendicular side fits. Replaces the previous orientation-only logic so a vertical dock pinned to the bottom-right opens up-left, and a bottom horizontal dock opens up rather than sideways. - Vertical-dock drag grip is rotated. A vertical dock now renders the 3×2 portrait grip pattern; horizontal docks keep the 2×3 landscape pattern.
- Bag Shelf bag slots feature with
/bs debug bagslash diagnostic for inspecting per-slot state. - Per-shelf popup-trigger override (click vs. hover) on top of the global default. The global
Popup Trigger,Display Mode, andHandle Alignmentdefaults moved from Appearance to General → Shelf Defaults.
Bug Fixes
- Retail:
MultiBarBottomLeftButton*Cooldown:SetCooldownblew up withSecret values are only allowed during untainted executionafter activating any bar 2-5 shelf.ActivateBarShelfreasserted both the barebutton.actionfield and the protectedSetAttribute("action", ...)on each reparented button. The bare-field write is harmless; the SetAttribute write taints the SecureActionButton on retail because "action" is a protected attribute, and the taint propagates into Blizzard's ownActionButton_ApplyCooldown→cooldown:SetCooldownthe next time a cooldown event fires. The reassertion was added as a Classic-only fix (Classic clients sometimes leavebutton.actionstale from a hidden-bar init) — gated toCompat.isClassicso retail'sparentBar.actionButtonOffsetis the only mechanism touching protected state. - Retail: Bar 1 froze (no slot updates, no visibility changes) and
ADDON_ACTION_BLOCKED: Barshelf tried to call the protected function 'MainActionBar:SetShownBase()'fired on zone changes / mounts / spec swaps.ActivateBarShelfwroteparentBar.actionButtonOffset = info.offseton every reparent, which taints the bar —actionButtonOffsetis read by the bar's secure update path, and once an addon writes it from insecure code the bar is marked tainted. The nextActionBarController_UpdateAllcall hitsbar:Show()→UpdateVisibility()→SetShownBase()and the protected method refuses, freezing the bar in whatever state. The write was originally added as a Classic-only fix (Classic re-derivesbutton.actionfromparentBar.actionButtonOffsetper event); on retail Blizzard setsactionButtonOffsetitself per bar via Edit Mode. Gated toCompat.isClassic. The popup-side write (shelf.popup.actionButtonOffset = info.offset) stays for both flavors — the popup is our own frame and writing to it doesn't taint anything; reparented buttons resolve their action ID against the popup as the new parent. - Retail: clicking any shelved action button raised
ADDON_ACTION_FORBIDDEN: Barshelf tried to call the protected function 'UseAction()'.ActivateBarShelfalways setpopup:SetAttribute("actionpage", page)and subscribed toACTIONBAR_PAGE_CHANGEDto re-write it. That attribute is a Classic-only mechanism (useparent-actionpage = truecausesActionButton_CalculateActionto read it from the parent chain). Retail's SecureActionButton click handler still walks the parent chain to resolve action attributes for the click, so finding our insecurely-writtenactionpagetaints the click context —UseActionthen refuses to fire. Gated the entireactionpageblock (and the matching cleanup inDeactivateBarShelf) toCompat.isClassic. Retail usesparentBar.actionButtonOffsetexclusively. - Mouseout on hover-trigger shelves was unreliable.
OnLeave+ 0.2s timer regularly missed the cursor leaving the popup. Replaced with anOnUpdatewatcher that pollsIsMouseOver()until the cursor has been off for 0.2s straight. - Custom shelf list-mode mouseover effect was stretched. The action-button highlight texture filled the whole row instead of just the icon. Highlight now anchors to the icon's
bsz × bszbox in list layout. - Micro menu items rendered outside the popup container after the layout pass. Reverted to TOPLEFT cell layout with
cellH = maxH; a watchdog re-runsLayoutMicroPopupif Blizzard reparents any micro button between frames. - Right-click on a wrapped bar in drag mode opens the BarShelf options to the Action Bars panel (was: nothing).
- Removed third-party addon name from comments and UI so the addon stands on its own.
Removed
- Hardcoded font fallback table in the font dropdown — LSM is now always embedded and returns the same client built-ins, so the duplicate hardcoded list was dead code.
v1.6.0
New Features
- Transmog outfits can be dropped onto custom shelf slots. Drag any saved outfit out of the Wardrobe (cursor type
outfit) onto a custom shelf slot to bind it to a/outfit <index>macro — clicking the slot equips the outfit, just like dragging it to the action bar. Tooltip shows the outfit name; the slot uses the outfit's icon. Shift-drag picks the outfit back up onto the cursor viaC_TransmogOutfitInfo.PickupOutfit. The slash command was added in 12.0.5, so this requires that patch or newer. - Outfit slots stay in sync when the player reorders or deletes outfits. The
/outfitslash command consumesplayerFacingOutfitIndex, which shifts whenever the outfit list changes;outfitIDis the only stable handle. RegisteredTRANSMOG_OUTFITS_CHANGEDand re-resolve the macrotext fromoutfitIDfor every outfit slot when the event fires (queued for combat exit if needed).
v1.5.3
Bug Fixes
- Toy cooldowns never showed on a custom shelf.
Barshelf:UpdateCustomCooldownqueriedC_Item.GetItemCooldown(itemID)forbc.type == "item", but toys aren't in the player's bags or equipped slots — they live in the Toy Box — so that API reports0, 0, 0for toys regardless of the real cooldown state. The shared toy timer lives on the toy's spell (the one Blizzard's secure click handler triggers viaUseToy). The item branch now falls back toGetItemSpell(itemID)→C_Spell.GetSpellCooldown(spellID)when the item path found nothing — toys now display their cooldown swirl, and real items (potions, trinkets, equipped gear) keep using the item-cooldown API as before.
v1.5.2
Bug Fixes
QueueStatusFrame:SetHeighthook tainted the addon (and Titan Panel) withattempt to perform arithmetic on local 'h' (a secret number value, while execution tainted by 'Titan'). v1.4.6 hooksQueueStatusFrame:SetHeightto reserve room at the bottom of the queue tooltip for the "Shift-drag the eye to move" hint. On 12.0.5,QueueStatusFrame:Update(Blizzard_QueueStatusFrame/Mainline/QueueStatusFrame.lua:752) sums queue-entry heights intototalHeightand passes that toSetHeight— and when the queue contains hidden data (Raid Finder etc.) the entry heights are secret values, so ourh + HINT_PADDINGpropagated taint up the call chain. Both the hook and the immediate-bump call site now guard withissecretvalue(h)and skip the bump when the height is secret. The hint may briefly overlap content during those queue states, but the bump resumes on the next non-secretSetHeight.
v1.5.1
Bug Fixes (Patch 12.0.5)
- Main action bar always visible after the buttons are reparented onto a shelf.
MainActionBar(the 12.0.5 frame, formerlyMainMenuBar) carries decorative children —BorderArt,EndCaps(gryphons), andActionBarPageNumber— that live on the bar frame independently of the buttons. v1.4.7's "the bar's ButtonContainer children are empty and it renders nothing" assumption only held for the buttons themselves; the chrome stayed visible at the bottom of the screen.ActivateBarShelfnow hides those three elements directly and setsbar.hideBarArt = true(a runtime flag, not the user's saved Edit Mode setting). Originals are captured per-shelf and restored inDeactivateBarShelf. - Bar UI fragments stuck wherever the first shelf opened.
MainActionBarMixin:UpdateDividers(Blizzard_ActionBar/Shared/MainActionBar.lua) anchors each divider directly to anactionButtonviaSetPoint("TOP", actionButton, "TOP", 0, 0). Once a button is reparented into our popup, the divider — still a child of the bar — renders at the popup's location instead of the bar's. Settingbar.hideBarArt = truemakesUpdateDividersearly-return after itsReleaseAllcall, so existing dividers are released and no new ones are created while the shelf owns the bar. - Group finder eye flickering and drifting across the screen. v1.4.6 fixed this by hooking
QueueStatusButton:SetParentto catch Blizzard's vehicle/zone/stance reparent flow. 12.0.5 added a second path:MicroMenuMixin:Layout(Blizzard_MicroMenu/Shared/MicroMenuContainer.lua) →UpdateQueueStatusAnchors→QueueStatusButton:UpdatePosition(Blizzard_QueueStatusFrame/Mainline/QueueStatusFrame.lua), which runsClearAllPoints+SetPoint(point, MicroMenu/MicroMenuContainer, ...)without ever callingSetParent. The SetParent hook missed it entirely, and everyMicroMenu:Layoutpass (there are many) re-anchored the eye to the hidden MicroMenu/Container, leaving the visible glyph drifting wherever Blizzard's last anchor target landed. Added a secondhooksecurefunconQueueStatusButton.UpdatePositionthat overrides the anchor back to the saved UIParent point after Blizzard's pass. BAR_INFO[1].framepointed at the removedMainMenuBarglobal. Updated toMainActionBarso the bar-art-hide path above can resolve the right frame on 12.0.5. The reference was previously dead-stored on the shelf, so this was silent.
v1.5.0
Rebrand: Barshelf → BarShelf
- User-visible name is now BarShelf (camel case) everywhere it appears to players: the Blizzard Settings canvas category, the AceConsole chat prefix (
NewAddonname), the LibDataBroker object + LibDBIcon registration key, the Masque group name, the minimap tooltip, the empty-dock hint, chat error lines, and the## Titlein the TOC. The Lua tableBarshelf, theBarshelfDB/BarshelfGlobalDBsaved-variable names, the frame globals (BarshelfDock_*,BarshelfHandle_*,BarshelfBackdrop, etc.), the.pkgmetapackage folder name, andBarshelf.tocstay lowercase — renaming any of those would cascade through every call site and / or break existing user data. - Users with an existing Masque skin on the
Barshelf / Custom Shelvesgroup will need to re-pick the skin under the newBarShelf / Custom Shelvesgroup. Minimap visibility persists viadb.profile.minimap(the LDBI key is in-memory only).
Patch 12.0.5 compatibility
- TOC Interface bumped to
120001, 120005so the addon loads cleanly on both current retail (12.0.1) and the 12.0.5 PTR / Apr 21 live patch without the "Out of Date" warning. - Added
HousingMicroButtonto the micro menu shelf. Blizzard added the Housing Dashboard button in 11.2.7 and it's still present in 12.0.5'sBlizzard_MicroMenu/Mainline/MicroMenuContainerOverrides.lua → MicroMenuMixin:GenerateButtonInfos. Users running a micro shelf lost access to it because it wasn't inMICRO_BUTTON_NAMES. Inserted afterQuestLogMicroButtonto match Blizzard's native order. - Removed obsolete
SpellbookMicroButtonandTalentMicroButtonentries fromMICRO_BUTTON_NAMES. Both were consolidated intoPlayerSpellsMicroButtonduring Dragonflight/TWW and no longer exist as globals — they were silently skipped anyway. - Cooldown handling in
CustomShelf.luaalready usesissecretvalue()guards andpcall, so the tightened secret-value rules in 12.0.5 (newCooldown:SetCountdownFormatter/SetCountdownMillisecondsThreshold, aura-field secrecy refinements,UnitNameno longer accepting secret unit tokens) do not affect the addon — the onlyUnitNamecall passes"player".
New Features
- Empty-dock hint styled like a shelf handle. A brand-new profile (or any dock whose shelves are all deleted) now renders a grip + BarShelf logo +
"BarShelf: right-click to configure"hint — laid out byLayoutHandleswith the same grip / icon / label geometry used for populated handles — instead of collapsing to a tiny unlabeledSetSize(10, 10)square in the middle of the screen.CreateDockcallsLayoutHandlesat the end of construction so the hint renders on fresh installs whereAddShelfis never called. - Right-click-to-configure on any dock.
CreateDockwires anOnMouseUphandler that, onRightButton, callsBarshelf:openOptions("Shelves & Docks", nil, self.config.id)— so right-clicking an empty dock or the padding / grip area of a populated dock opens the options panel with that dock preselected.openOptionsgained an optionaldockIDparameter that writesselectedDockbefore routing to the Shelves & Docks subcategory. - Per-dock "Enabled" checkbox. Each dock's detail panel has an Enabled checkbox (with an
OnEntertooltip explaining "Uncheck to hide this dock and its shelves without deleting them" — replacing the cramped inline description text). Unchecking skips the dock and all of its shelves inRebuildAll/OnEnable— Blizzard's bars stay where they are, the micro menu / bag / status shelves don't reparent anything, and the config is preserved for re-enabling. This gives users a "hide without deleting" option, including for the default dock 1. Disabled docks render inGameFontDisablewith a" (hidden)"suffix in the tree view.
Bug Fixes
- Dock and handles rendering above the Blizzard Settings panel.
CreateDock/CreateHandleusedSetFrameStrata("DIALOG"), which meant right-clicking an empty dock to open options left the dock still floating on top of the Settings window. Both are now at"MEDIUM"— alongside action bars and the minimap in the HUD layer. Popups keepDIALOGso opened shelves still render above the HUD.
v1.4.7
Bug Fixes
- Empty bar shelf slots still blinking on popup open: v1.4.5's fix introduced a deferred
C_Timer.After(0, ...)wrapper around the empty-slotHide()in theOnShowhook (to guard against transiently-nilself.actionon populated buttons). That one-frame defer was the blink — Blizzard's action-button cycle wouldShow()an empty slot, our hook would wait a frame, then hide it, rendering the button for exactly one game frame each time the popup opened. Fixed by removing the entire visibility-fight stack.
Refactors
- Removed the bar shelf visibility fight loop entirely (~100 lines deleted from
BarShelf.lua). After reading Blizzard's actual source inBlizzard_ActionBar/Shared/ActionBar.lua, the architecture became clear:ActionBarMixin:UpdateShownButtonsiterates a Lua table reference (self.actionButtons), NOTButtonContainer:GetChildren(). Reparenting a button does not detach it from this table, so Blizzard's native visibility rule (numButtonsShowable AND not statehidden AND (GetShowGrid OR HasAction)) still applies to our reparented buttons and gives the correct behavior for free. Removed:RegisterStateDriver(button, "visibility", "show")and its matchingUnregisterStateDriver- The
OnShowhook that re-hid empty slots (source of the v1.4.7 blink) - The
ACTIONBAR_SHOWGRID/ACTIONBAR_HIDEGRIDevent frame (Blizzard'sActionBarMixin:ActionBar_OnEventalready handles this, routed throughself.actionButtons) - The
_barshelfDragShowingmodule flag and_barshelfManagedbutton marker - The
alwaysShowActionBarscvar check andShow()/Hide()branching inLayoutBarPopup(the cvar is legacy and not referenced anywhere in Blizzard's current UI source — the per-bar "Always Show Buttons" Edit Mode checkbox is the real mechanism, and it propagates to reparented buttons via theshowgridattributeREASON_CVARbit throughEditModeActionBarSystemMixin:UpdateSystemSettingAlwaysShowButtons→ActionBarMixin:SetShowGrid→UpdateShownButtons)
- All six native scenarios verified in-game: populated slots always visible, empty slots hidden by default, drag grid shows/hides correctly, per-bar "Always Show Buttons" propagates through the popup, Edit Mode transitions are clean, combat in/out is taint-free.
v1.4.6
Bug Fixes
- LFG eye saved position wasn't sticking:
OnMouseUpwas correctly writingdb.profile.queueStatusButtonPointto disk, but Blizzard's reparent flow (fired on vehicle/zone/stance transitions and other UI refreshes) doesSetParent(MicroMenuContainer); SetPoint(..., MicroMenuContainer, ...)— ourSetParenthook caught the parent change, but Blizzard's subsequentSetPointran immediately afterwards and overwrote the button's anchor back toMicroMenuContainercoordinates. The save was fine; the live position was being clobbered. TheSetParenthook now schedules aC_Timer.After(0)deferred restore that readsdb.profile.queueStatusButtonPointand re-applies it on the next frame, after Blizzard's full reparent + reposition pass. Guarded against active drags (self._barshelfMoving) so it never fights the user's in-progress move.
v1.4.5
Bug Fixes
- Empty action bar slots blinking when opening a shelf (long-standing):
LayoutBarPopupunconditionallyShow()ed every managed slot, and Blizzard'sActionBarActionButtonMixin:OnShow→UpdateAction→HideGrid→Hidecycle caused a one-frame flash of visible empty slots every time the popup opened. Most visible on non-12-slot layouts (e.g. a 3×3 bar) where internal state churn is more frequent. Now:LayoutBarPopupgatesShow()onHasAction(button.action)or thealwaysShowActionBarsCVar, matching Blizzard's native rule. A defensiveHookScript("OnShow")on each managed button also re-Hide()s empty slots that Blizzard shows outside of an active drag — same game frame, nothing renders between Show and Hide. A module-level_barshelfDragShowingflag, toggled by theACTIONBAR_SHOWGRID/HIDEGRIDhandler, lets drag-timeShowthrough. - Custom Shelf list mode broken when Masque is enabled: list mode builds a wide
rowWidth × bszbutton with the icon texture anchoredLEFTatbsz × bsz, but Masque skin definitions assume a square button andSetAllPoints(button)the Icon region — so the icon and border stretched across the entire row. Custom-shelf buttons now skip Masque registration whenconfig.layout == "list". Switching layouts triggers a rebuild, so the decision is re-made each toggle.
New Features
- Masque integration for Custom Shelves: Barshelf registers its custom
SecureActionButtons with Masque under a dedicated "Custom Shelves" group, so users can skin them independently of their main bars. Bar / Micro / Bag shelves are already skinned natively by Masque's built-in hooks forActionButton,MultiBar*,MicroButton*, and bag slots (reparenting doesn't break them), so no registration is needed there. A callback onSkinID/Scalechanges re-runs the popup layout so button-dimension changes take effect immediately. Declared via## OptionalDeps: Masquein the TOC.
v1.4.4
Bug Fixes
- Bar shelf leaving orphaned slots on the original bar:
AddBarShelfcounted visible buttons viaIsShown()andActivateBarShelfonly reparented that many, leaving any button Blizzard had hidden (e.g. via Edit Mode "Num Icons" < 12) in its originalMultiBar*ButtonContainer. WhenEditModeActionBarMixin:UpdateVisibility/UpdateShownButtonsre-ran (combat end, Edit Mode toggle, zone change), those orphaned buttons reappeared at the native bar position. Now iterates1..info.countunconditionally; managed buttons go in the popup, excess buttons are parked in a per-shelf hidden holder frame. - Visibility feedback loop with
EditModeActionBarMixin: the previous approach registered a"hide"visibility state driver on the Blizzard bar frame and hooked itsOnShowto re-call:Hide(). BecauseMultiBar*:Hide()is intercepted bySetShownOverride, Blizzard'sUpdateVisibilitywould callShowBase→ fireOnShow→ our hook →:Hide()→ recalc → loop. Removed the state driver andOnShowhook entirely; since all 12 buttons are now reparented out, the bar's containers are empty and nothing visible is left to hide. - Removed unused bar-shelf watchdog
OnUpdate: Blizzard doesn't reparent action buttons the way it reparents micro buttons (noUpdateMicroButtonsParentequivalent), so the 1 s reparent-reassert loop on each bar popup was dead weight and contributed to the "frequent polling" feel.
v1.4.3
Bug Fixes
- LFG "eye" icon disappearing with the micro menu shelf:
QueueStatusButtonis declared as a child ofMicroMenuContainerin Blizzard'sQueueStatusFrame.xml, so hiding the container also hid the Group Finder eye. The eye is now reparented toUIParentwhile a micro shelf is active and survives Blizzard'sUpdateMicroButtonsParent()via ahooksecurefunconSetParent(with reentrancy guard). Reattached to its original parent on deactivate, profile change, and Edit Mode entry.
New Features
- Movable LFG eye: Shift + left-click-drag the Group Finder eye to reposition it. Uses
OnMouseDown/OnMouseUpinstead ofOnDragStartfor instant response (no movement-threshold wait). Position persists per-profile indb.profile.queueStatusButtonPoint. Default location isBOTTOMRIGHT -40, 200. - Smart info panel anchor:
QueueStatusFrame(the queue info panel) now flips anchor based on which screen quadrant the eye is in, so it always extends toward screen center instead of flying off-screen when the eye is dragged to an edge. - Move hint in the info panel: A small "Shift-drag the eye to move" line is added to the bottom of
QueueStatusFramewhile the micro shelf is active.hooksecurefunconSetHeightreserves bottom padding so the hint never collides with Blizzard's dynamic queue content.
v1.4.2
Bug Fixes
- Action Bar 3/4/5 mapped to the wrong Blizzard bar:
BAR_INFOused the legacyMULTIACTIONBAR1..4ordering, so picking "Action Bar 5" reparentedMultiBarBottomRightButton(Blizzard's Action Bar 3) and "Action Bar 4" reparentedMultiBarLeftButton(Blizzard's Action Bar 5). Remapped indices 3/4/5 to match Edit Mode: Action Bar 3 → BottomRight, Action Bar 4 → Right, Action Bar 5 → Left. Existing saved shelves keep theirbarIDand will now show the bar their label claims.
v1.4.1
Bug Fixes
- Empty bar shelf slots not showing during drag: Reparented action buttons were missing Blizzard's
ShowGridbroadcast (sent to action bar children only). Now listens forACTIONBAR_SHOWGRID/ACTIONBAR_HIDEGRIDevents and forwardsShowGrid/HideGridto reparented buttons, keeping the internal counter in sync so empty slots stay visible while dragging. - Right mouse button stuck when entering combat: The click-outside-to-close backdrop was a
ButtonwithEnableMouse(true), consuming all mouse events including right-click even though only left-click was processed. Changed to aFramewithSetPropagateMouseClicks(true)so right-clicks always pass through to the game world.
v1.4.0
New Features
- List layout mode for custom shelves: New per-shelf "Layout" dropdown (Grid / List). List mode shows buttons in a vertical single-column layout with icon, spell/item name, and hotkey per row. Popup width auto-adjusts to label lengths (150–300px). The
# of Rowsslider is hidden in list mode.
Bug Fixes
- Shelf rename not saving: Edit boxes now save on focus-lost (blur) in addition to Enter, fixing rename inside the Blizzard Settings panel where Enter/Backspace/arrow keys were intercepted. Escape reverts to the previous value.
- Arrow/Backspace keys not working in edit boxes: Keybind capture buttons were consuming keyboard events even when not in listening mode. They now propagate keys through when inactive.
- Flyout spells silently rejected: Dragging a flyout spell (e.g. Hunter Pet Skills, Mage Portals) onto a custom shelf now shows a helpful message instead of silently ignoring the drop.
v1.3.3
Bug Fixes
- Right mouse button getting stuck: The click-outside-to-close backdrop was registering for all mouse buttons (
AnyUp), which could swallowRightButtonUpevents before the game received them — causing the right mouse button to appear stuck. Now only listens for left-click.
v1.3.2
Bug Fixes
- Cooldown taint errors in combat: Fixed "secret values are only allowed during untainted execution" errors. In 12.0.1, addon code cannot pass secret cooldown values to ANY display function (
SetCooldown,CooldownFrame_Set,SetTimeFromStart— all reject secrets from tainted code). Now usesisActive(boolean, never secret) to branch, andissecretvalue()to detect secret values before passing them. Cooldowns display normally outside combat; gracefully degrade during combat when values are secret.
v1.3.1
Bug Fixes
- Shelf rename not working: Fixed label edit box not responding to Enter/Backspace. Switched from
BackdropTemplatetoInputBoxTemplatewhich properly handles keyboard input inside the Blizzard Settings panel.
v1.3.0
New Features
- Mount support on custom shelves: Drag mounts from the Collections journal onto custom shelf buttons. Uses
/castmacro for reliable summoning. - Battle pet support on custom shelves: Drag companion pets from the Pet Journal onto custom shelf buttons. Summons via
/summonpet. - Keybindings for custom shelves: Assign key bindings to individual custom shelf slots via the per-shelf settings panel. Bindings work even when the popup is closed (via invisible proxy buttons). Keybind text shown on each button.
Improvements
- Cooldown display on custom shelves: Proper dark "pizza" sweep overlay with countdown text, matching Blizzard's native action buttons. Uses
issecretvalue()to handle 12.0.1 secret combat values gracefully. - GCD animation: Global cooldown sweep now shows on all custom shelf buttons. Event-driven via
SPELL_UPDATE_COOLDOWN/ACTIONBAR_UPDATE_COOLDOWNfor instant response. Off-GCD abilities (defensives, some trinkets) correctly skip the sweep. - Handle icon for mounts, macros, and battle pets: Dock handle now picks up icons from all custom shelf action types, not just spells and items.
Bug Fixes
- Items not activating on click: Fixed
SecureActionButtonTemplateitem attribute format — now uses"item:ID"string instead of raw numeric ID. - Item cooldowns not displaying: Fixed
C_Item.GetItemCooldownreturn value unpacking — returns three separate values, not a table (unlikeC_Spell.GetSpellCooldown). Added bag/equipment scan fallback with location caching for combat safety.
v1.2.1
New Options
- Click outside to close popups: Toggle in General settings. When disabled, shelf popups stay open until their handle is clicked again — useful for dragging spells from the spellbook onto action bar shelves without the shelf auto-closing.
- Center popups on dock: Toggle in General settings. Centers shelf popups horizontally on the dock instead of aligning them to their individual handle. Both options are off by default (existing behavior preserved).
Improvements
- Pinned popup drag grip: The grip is now a visible tab that protrudes above the popup frame (16px, with background and dot pattern). Hidden at idle and appears on mouseover for a cleaner look.
- Grip integrated with popup fade: Hovering the grip keeps the pinned popup at full opacity; the grip shares the same enter/leave polling as the popup itself.
Bug Fixes
- Blizzard Action Bar 1 appearing over shelves: Added an aggressive OnShow hook on hidden bar frames to immediately re-hide them when Blizzard's TWW action bar code tries to show them. Properly managed through activate/deactivate/Edit Mode cycles.
- Bags not opening in combat: Removed unnecessary
InCombatLockdown()guard fromToggleAllBags()call. Also set the bag handle's secure snippet to a no-op to prevent popup toggle side-effects during combat. - Edit Mode exit redundancy: Simplified
OnEditModeExitto just callRebuildAll()instead of manually re-hiding bars then rebuilding (the rebuild already handles everything).
v1.2.0
New Shelf Types
- Bags shelf: Click handle to toggle all bags open/closed. Handle displays used/total bag space using template keywords (
$used/$total). No popup — pure handle convenience. - Status shelf: Custom XP and reputation progress bars in a popup. Purple XP bar with level/percentage, green reputation bar with faction/standing. Handle shows compact template text (e.g.,
Lv$level $xp%). Hides Blizzard's status tracking bars. - Micro menu shelf: Reparent Blizzard's micro menu buttons into a shelf popup. Auto-detects available buttons, native sizing, configurable rows.
- Multi-faction tracking: Track multiple reputations beyond Blizzard's watched faction. Hierarchical faction picker organized by expansion with search. Each tracked faction gets its own colored bar in the status popup.
Pinned Popups
- Pin any shelf as an always-visible bar via the "Pin as bar" checkbox.
- Drag pinned popups anywhere on screen via the grip handle at the top.
- Per-shelf idle opacity with mouseover reveal (reuses dock fade pattern).
- Handle click toggles pinned popup visibility without unpinning.
- Pinned popups survive ESC, backdrop clicks, and close-others.
- Hidden during Edit Mode, restored after.
Icon Picker
- Click the shelf icon preview to browse all WoW icons in a scrollable grid.
- 32K+ icon name database (auto-updated monthly from Townlong Yak via CI).
- Search by icon filename, spell name (from spellbook), or FileDataID.
- FauxScrollFrame virtual scrolling — only visible buttons exist in memory.
- Drag spell/item/macro onto the icon preview as an alternative.
- Right-click the icon preview to reset to auto-detect.
Options Panel Overhaul
- Unified "Shelves & Docks" panel: Tree view shows docks as headers with shelves grouped underneath. Click a dock to configure its name, orientation, and appearance.
- Simplified add buttons: Two buttons ("+ Add Dock", "+ Add Shelf") with a type picker dropdown replacing 6 separate buttons.
- Override Appearance: Per-shelf checkbox to customize Open Direction, Handle Style, and handle sizing. Unchecked = inherits from global Appearance tab. Existing per-shelf customizations auto-detected and preserved.
- Shelf Defaults in Appearance tab: Global defaults for Open Direction and Handle Style.
- Template label system: Status and Bags shelves support
$keywordplaceholders in handle labels ($level,$xp,$used,$total, etc.). - Defaults button: Resets shelf/dock settings with confirmation dialog.
- Proper arrow buttons: Blizzard scroll arrow templates for move up/down with tooltips.
- Detail panel layout: Title, controls row (Enabled/Move/Delete/Defaults), Pinning, then Layout & Sizing.
Profiles & Migration
- Account-wide AceDB profiles via
BarshelfGlobalDBwith cross-character sharing. - Automatic per-character → account-wide migration on first login per character.
- Each character's data migrates under its own profile name (no shared "Default").
- Old data preserved as fallback (marked
_migrated, not wiped). - Legacy
dockMouseoverHideboolean auto-converted todockIdleAlphaat runtime. - Migration test suite with 21 assertions across 7 scenarios, runs in CI.
Localization
- Full translations: German, French, Spanish, Brazilian Portuguese.
- Partial translations: Italian, Russian, Korean, Simplified/Traditional Chinese.
- Localized .toc Notes for all supported locales.
- All UI strings use the
L[]localization system with metatable fallback.
Bug Fixes
- Custom shelf buttons not casting: Removed
ActionButtonTemplateinterference with secure action attributes. - Custom shelf icon/slot misalignment: Icons fill the full button area.
- Drag-and-drop onto custom shelves: Click-based drop handling as fallback.
- Bar shelf tiny icons: Safety floor for button size reads (< 10px → 36px fallback).
- Shift+click no longer casts: Secure handler bypassed via
shift-type1/shift-type2attributes. - Edit Mode ADDON_ACTION_BLOCKED: Deferred handlers with
C_Timer.After(0). - Dock invisible during drag:
FadeTo(1)properly stops running fade animation. - Grid blinking on mouseover: Bar shelf watchdog throttled to 1 check/second.
- Combat safety: Popup anchor/stacking, SetFrameLevel, and bags Hide all guarded with
InCombatLockdown(). - Popup z-ordering: Most recently shown popup renders on top (20-level gap clears child frames).
- Icon size mismatch: Slider default matches native TWW button size (45px for bars).
Infrastructure
- Custom addon logo (
assets/logo.tga) for addon list and minimap icon. TextureNames.lua: 32K+ icon FileDataID → name mappings from Townlong Yak.scripts/update-texture-names.sh: Downloads and regenerates texture names.- Monthly CI job auto-updates
TextureNames.luaand opens a PR if data changed. - Migration test suite in CI (
tests/test_migration.lua).
v1.1.0
New Features
- Dock idle fade: docks can fade to a configurable opacity when idle (no popup open, mouse not hovering). Slider from 0% (fully hidden) to 100% (disabled). Configurable fade animation duration.
- Popup stacking: when "Close other popups" is off, multiple open popups now stack sequentially instead of overlapping. Direction follows the first popup's anchor.
- Shift+click pickup: shift+click or shift+drag a custom shelf button to pick up the spell/item/macro (like Blizzard action bars). Shift+right-click still clears.
Bug Fixes
- Custom shelf buttons not casting spells: removed
ActionButtonTemplatewhich was overriding secure action attributes via its PreClick handler. Buttons now use onlySecureActionButtonTemplatewith manual visual elements. - Custom shelf icon/slot misalignment: icons now fill the full button area instead of using ActionButtonTemplate's inset positioning.
- Drag-and-drop onto custom shelves: added click-based drop handling as fallback, since
SecureActionButtonTemplateconsumes the event beforeOnReceiveDragfires. - Bar shelf tiny icons: added safety floor for button size reads — buttons reporting < 10px during early TWW load now fall back to 36px instead of producing broken micro-scale popups.
- Shift+click no longer casts: secure handler is bypassed on shift+click via
shift-type1/shift-type2attributes, preventing unintended spell casts when picking up or clearing slots.
v1.0.0
Initial release.
- Bar shelves: reparent Blizzard action bars 1-8 into popup grids
- Custom shelves: drag-and-drop spells, items, macros (OPie-like)
- Multiple docks with horizontal/vertical orientation
- Auto-detect Blizzard Edit Mode settings (icons, rows, size, padding)
- Popup auto-anchor with screen-edge flip
- Dock/shelf/popup appearance settings (opacity, border, padding, sizing)
- Handle display modes (icon, label, or both)
- Shelf reordering via config panel
- ESC-to-close, click-outside-to-close
- Edit Mode integration: shows original bars during Edit Mode
- Ace3 integration: AceDB profiles, Blizzard Settings panel with subcategories
- Minimap icon via LibDBIcon
- Combat-safe secure handlers and queue system
This mod has no additional files

