HearthStats / HearthStats.net-Uploader

Auto uploader for HearthStats.net
BSD 3-Clause "New" or "Revised" License
123 stars 54 forks source link

Match results popup unable to be interacted with (OS X) #508

Open mko opened 10 years ago

mko commented 10 years ago

Roughly 20% of matches, the Hearthstats Companion fails to recognize if I have won or lost. I figured out why this happens. I've got a bad habit of clicking through the victory/defeat screen pretty fast, which makes it so HSC doesn't get a screenshot. That's not the problem.

About half of those failures (10% of all matches since 0.18.0) also result in a Match Results popup that is impossible to interact with in any manner other than clicking the red dot and closing the popup. I can't edit the Victory/Defeat status; I can't edit Notes; I can't edit the Opponent's name; I can't edit anything. Clicking anywhere in the popup simply does nothing but bring that window of the Hearthstats Companion into focus. Continuing to click in the popup further does nothing. Eventually, I give up and add the match manually through the web interface.

This is currently happening on OS X 10.9.4 with Java 7 Update 65. It has happened when there's nothing open except Hearthstats Companion and Hearthstone itself.

gtch commented 10 years ago

Thanks, I've tried to reproduce this problem myself (also on OS X 10.9.4 with Java 7 Update 65) but after quite a number of game I haven't been able to do so yet. However I wouldn't be surprised if there is a way that this can be triggered because I have seen similar problems with modal popup windows in other applications I have worked on... in those cases another control was stealing the focus back from the popup window, which resulted nothing being clickable. It could happen for HearthStats Companion, it's just a matter of identifying exactly what the scenario is.

If you can tell me these things I might be able to narrow it down: