Prat 3.0

Prat 3.0

26M Downloads

"Action only available to the Blizzard UI" error when copying name from whisper

thefowles1 opened this issue ยท 1 comments

commented

Describe the bug
When copying a character name from any /w conversation, the "Prat-3.0 has been blocked from an action only available to the Blizzard UI" error message appears, the name does not get copied, and bugsack reports the following in its capture:

2x [ADDON_ACTION_FORBIDDEN] AddOn 'Prat-3.0-3.9.47' tried to call the protected function 'CopyToClipboard()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function \`CopyToClipboard'
[string "@SharedXML/UnitPopupSharedButtonMixins.lua"]:1125: in function \`OnClick'
[string "@SharedXML/UnitPopupShared.lua"]:148: in function \`func'
[string "@SharedXML/UIDropDownMenu.lua"]:1019: in function \`UIDropDownMenuButton_OnClick'
[string "*UIDropDownMenuTemplates.xml:134_OnClick"]:1: in function <[string "*UIDropDownMenuTemplates.xml:134_OnClick"]:1>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
  SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}

To Reproduce
Steps to reproduce the behavior:

  1. Begin a /w conversation with any character
  2. Right click name in /w conversation and "copy character name"
  3. See error

Expected behavior
Character name is copied to clipboard, at minimum error does not appear

Screenshots
image

Version Information (please complete the following information):

  • WoW version: 10.2.5 (53262)
  • Prat Version: [1]="Prat |3.0| (|3.9.47|)"

Addons you are running
Tested with 0 additional addons running, only Prat and Prat libraries

commented

I've replicated the bug on my device. Haven't figured out a fix yet