Morph21 / MercuryTrade-Community-Fork

An overlay application for Path of Exile(Tracking, Trading, Chat, etc)
MIT License
139 stars 24 forks source link

[BUG] - /Hideout macro hotkey is causing unwanted chat messages #146

Closed ForsakenScheme closed 1 year ago

ForsakenScheme commented 1 year ago

Describe the bug When you hit the hotkey configured for the /hideout macro during filter writing in a tab you will open the chat and eventually send a whisper to the last person you had whispered. I have only tested this in my hideout (which is kinda dumb to do /hideout in your hideout)?

To Reproduce Steps to reproduce the behavior:

  1. In your hideout go to a stash tab or any other tab and click on the "type an item filter"
  2. Press your /hideout macro hotkey while typing
  3. Opens chat and display the chat prefix you previously used in open chat
  4. If you press the macro again it will send your message into chat (worst case scenario I had is sending a whisper message to a person without wanting to).

Expected behavior Should only open the chat, execute /hideout and display an error message if you're already in hideout (covered by the game) Should close the chat afterwards and not send a message

Screenshots Before press of the hideout macro image

Pressing the hideout macro once image

Pressing the hideout macro a second time after typing something image

Desktop (please complete the following information):

Additional context

Morph21 commented 1 year ago

I just tested it and it doesn't work like you say. However if you have focus on highlight items (blinking cursor) then your chat will be opened because first enter will unfocus the highlight items, then /hideout will be typed but not in chat since its closed then enter will be pressed and chat window will be open.

Just press hideout macro while not typing anything else. There is no work around that since that macro is typing in chat