Legacy-of-Sylvanaar / wow-instant-messenger

WIM (WoW Instant Messenger) is a World of Warcraft addon which brings an instant messenger feel to communication in game.
https://www.curseforge.com/wow/addons/wim-3
MIT License
11 stars 8 forks source link

Window spawns in the incorrect position (usually after combat ends) #46

Open evacfk opened 1 year ago

evacfk commented 1 year ago

Describe the bug Sometimes when sending a DM, when the user replies the windows spawn position changes. I've noticed this usually happens when i'm in combat and after I come out of combat.

I always have the spawn position set to the bottom left of my screen, over my chat. When the position changes, it will always go to the very top left of my screen. I don't know what caused this, I've used WIM for ~10 years and have never seen this before.

To Reproduce Steps to reproduce the behavior: Not 100% but this is what it seems like so far.

  1. Send a DM
  2. Enter Combat
  3. Receive a reply while in combat
  4. Leave combat, window spawn will be top left corner of the screen.

Expected behavior Window to pop up bottom left where the spawn point is set

Screenshots https://evac.gg/i/oucon.mp4 Here's a short clip from my stream of this happening.

Additional context I'm using the latest version of WIM, I'm wondering if the bottom left corner is a bad spot to put the spawn? Although it works fine out of combat, and sometimes fine when leaving combat. The replication is not 100%

I've attached screenshots of my WIM settings. zzfh1 3x7lw aunzz b65i7 jl10n m6khi

Pazza commented 1 year ago

Thanks for all the details. I'll take a look

Pazza commented 1 year ago

I haven't found the exact reason for this. There must be a case that its slipping through, but I believe it is caused by window clamping not being unset when the message comes in (while hidden in combat). Do me a favor and disable clamp to screen and see if you still see it occurs.

Thanks.

evacfk commented 1 year ago

Hi @Pazza thanks for getting back to me on this, i've spent the last 3 weeks playing withouto clamp to screen and i do not see the issue occurring. Unfortunately I don't think this is a permanent solution for me, because as more and more windows spawn for the first time they get offset from each other a bit. I sometimes stream for my friends and would like them to permanently be in a corner behind a chat blocker.

If you're unaware of the offsetting issue i mentioned, let me know and i can record a quick video.

Pazza commented 1 year ago

@evacfk , in window settings, disable cascade overlapping windows. That makes it offset

evacfk commented 1 year ago

That's great, thank you. I'll continue to use the addon this way, if there's ever a fix for the clamped windows and you remember please tag me :). Can close this otherwise if there's no solution