Open hrlmartins opened 3 months ago
Hmm... Looks like its a protected function now. I wont be able to call it, I will see if I can instead handle it like we do URLs and show a popup with selectable/copiable text.
hi @Pazza
yeah I just got this error tonight too...
bummer.. why does Blizzard cause so much trouble...
thx for working on a fix. or at least a work around...
Just checking in for an update on this one. Thanks for your support.
Also want to note that I am able to properly copy character names from other third party addons - such as "Inven Raid Frames" addon.
1x [ADDON_ACTION_FORBIDDEN] AddOn 'WIM' tried to call the protected function 'CopyToClipboard()'. [string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485> [string "=[C]"]: in function `CopyToClipboard' [string "@Blizzard_UnitPopupShared/UnitPopupSharedButtonMixins.lua"]:1337: in function <...zard_UnitPopupShared/UnitPopupSharedButtonMixins.lua:1336>
[string "=[C]"]: in function
securecallfunction' [string "@Blizzard_Menu/Menu.lua"]:868: in function
Pick' [string "@Blizzard_Menu/MenuTemplates.lua"]:74: in function <BlizzardMenu/MenuTemplates.lua:68> Locals: = Frame { } event = "ADDON_ACTION_FORBIDDEN" events ={ }
Describe the bug When trying to copy the name of the player I'm chatting with it throws an error and does not copy the name.
Addon Version 3.12.1
To Reproduce Steps to reproduce the behavior:
Expected behavior Being able to copy the name of the player I'm chatting with.
Not sure if just the name or the name and the server should be copied (now with cross-realm guilds it would be great)
Additional context Providing the stacktrace: