C1rdec / Poe-Lurker

Ease your trading experience in Path of Exile.
MIT License
564 stars 53 forks source link

Focus problems #214

Closed nomis51 closed 4 years ago

nomis51 commented 4 years ago

Describe the bug Quite often, when I interact with the overlay, it does not always focus back to PoE correctly (e.g. send a party invite). And because it keeps the focus on PoeLurker, some actions (e.g. send party invite), don't work properly. So I have to click/Alt-Tab back to the game and retry.

Not a big problem, but quite annoying, because sometime it just keep on happening over and over every time I do something with the overlay. But, usually it happen once, then it run properly for couple trades/interactions before it happen again.

I'm using Awakened PoE Trade to price check, validate maps, etc. Not sure if PoeLurker and APT can conflict themselves, so that could be the problem here. I'll try to use PoeLurker without APT for a while to see if the problem keep happening. I'll post hints here if I got any.

Meanwhile, here are some screenshot of AccEvent showing the problem with some comments.

Screenshots Party invite bug example: PoeLurker-focus-bug

Awakened PoE Trade example as a reference (no focus problem): apt-focus

Using Google Chrome, APT and PoeLurker, like I do usually while playing (been able to get the bug while recording that one): all-focus-bug

To Reproduce Steps to reproduce the behavior:

  1. Litterally just interact with the overlay, while Alt-Tab-ing to other apps, then come back to the game, etc.

Here's a list of actions I did that causes the problem (may or may not be related directly to those actions, but that's just my observations):

Expected behavior Should focus to the appropriate app (PoE or PoeLurker) properly according to the requirements of the action triggered.

Screenshots

Please complete the following information:

C1rdec commented 4 years ago

Thanks I will look this up

C1rdec commented 4 years ago

Every thing's fine on my side...

nomis51 commented 4 years ago

So after testing more with and without APT running, seems like the bug mostly occur with the Alt + Click command, and the app start to "not focus properly" right after I did a Alt + Click, which mostly tells me that it's Alt + Click fault. If I restart and avoid the Alt + Click command, the app runs fine.

So I would say, investigate the Alt + Click listener to see if something in the call stack could potentially prevent the app from focusing back to PoE correctly and eventually cause other problems.

C1rdec commented 4 years ago

Can you get a video of your issue?

C1rdec commented 4 years ago

Fixed in 1.7.11

nomis51 commented 4 years ago

Seems good so far!