Hello!
I am at my wit’s end with an issue that cropped up with 11.1 dropping. It’s silly but it’s really frustrating for me.
I used to be able to type a partial sentence in the chat entry box and click anywhere on the game screen to deselect it (and make the caret disappear) while leaving my already written text. My message would stay there until I click the chat entry box or hit the enter button to make the text caret reappear, where I can finish my thought and hit enter to send the message.
Now it no longer works. I use my WASD keys to move, so I have to stay in place until I finish my message. I’ve put a ticket in and followed the instructions they listed in the boilerplate response, and nothing has worked.
What I have done so far:
-Reset chat
-Uninstalled my addon manager (Curseforge)
-Reset my UI
-Reset cvar to default
-Uninstalled WoW and BattleNet and reinstalled
I know it’s a small thing to complain about, but it’s really frustrating and makes it more difficult to play the game for me. I greatly appreciate any help!
I don’t have any mouse-over add-ons and the only UI-altering add-on I have installed is Dialogue UI; my add-on list is the same (minus extras they have) as my spouse’s, but they aren’t having this issue. This all started with 11.1 Undermine dropping, maybe a week after release.
I uninstalled my addons, Curseforge, then my game and did a clean install of the game without add-ons and it still wasn’t working. T-T
I just don’t know what to do - I know it’s a silly thing but it really messes with me. I can’t keep up conversations unless I’m just sitting doing nothing, and that’s not enjoyable for me.
Is there any way I can use like a console command to do something with “Global Mouse”? I can’t figure out the right wording to get any information on that from Google, and I’m willing to put more hours into figuring this out.
/run UIParent:HookScript("OnEvent", function(self, event) local cb = ChatFrame1EditBox if event == "GLOBAL_MOUSE_UP" and cb:IsShown() and not cb:IsMouseOver() then ChatEdit_OnEscapePressed(cb) end end)
Edit: Extended so the EditBox doesn’t clear if you click inside it…
I don’t want to clear the chat box.
Say someone asks me what day it is in gchat and I’m in a dungeon. I start typing right before a boss, “It’s Sunday the” but the tank pulls. So I click on the play field to deselect the chat box but leave my already written letters in the chat box to come back to - I can use WASD to move around and numbers to cast my spells and it doesn’t enter them into the chat box.
Boss is down, so I hit Enter to finish typing, “23rd.” and hit Enter again to send it in gchat. So the whole sentence would appear in gchat as one message: “It’s Sunday the 23rd.”
Tried duplicating that functionality [with and without my various addons] and I can’t. I can type and click off the edit box, but if I press other letter keys like WASD it types those letters.
/run local cb = ChatFrame1EditBox cb:SetScript("OnEditFocusLost", nil) UIParent:HookScript("OnEvent", function(self, event) if event == "GLOBAL_MOUSE_UP" and cb:IsShown() and not cb:IsMouseOver() then cb:ClearFocus() end end)
You’ll have to /reload before using if you have any other script in place
If you want the EditFocusLost processing re-enabled after clicking it will require some extra code and for it to be moved to an addon (which you will probably want to do anyway if it works).
I’m fairly certain this has never been default behaviour. I can only imagine that the original problem is from an addon you’ve had installed for… that finally broke.
You’ve gotta be right about it being an add-on - I just have no idea why it was still broken after completely cleaning things out. I was this close to pulling out my SSD with my games and trying a fresh install on my primary SSD.
Either I missed a byte somewhere or there’s a cache server-side that has something stored for my account (cause it happens on all my characters) that is going wonky.
That’s okay though because I don’t mind making a macro of this! You’re amazing, thank you so much again - logic stuff goes over my head and I don’t know the first thing about script in WoW.
You can copy/paste everything but the /run to the website addon.bool.no to create/download it as a small addon so you don’t have to run the macro each time you login.
I’ve noticed this same issue as of today.
I’m using Elvui which is, or should be, the only thing altering my UI or having anything to do with chat frames. If you’re using Elvui as well it’s possible something in there has broken in the latest update.