gurrhack / NetHack-Android

Android port of NetHack
128 stars 23 forks source link

Directional buttons occasionally misfire #28

Closed CJYate closed 6 years ago

CJYate commented 7 years ago

There is a good chance this is down to my fat fingers, but I've been careful and still seen it happen reasonably often. It'd be nice to know it wasn't just me...

I've no idea why this might happen. Symptom is when attacking left with either Zap (z or Z) or Fire f/ throw, usually in a corridor. Particularly when your pet is on your right, you may inadvertently attack the pet.

If this is a bug, I suspect it's related to how the touchscreen logic detects the position of the directional button overlay.

Under some conditions the overlay moves left (such that the old "left" position can be approximately the new "right"), and I wonder whether the touch detection logic is always in sync with the display.

Using a Galaxy Note 4. I can provide more info if necessary.

gurrhack commented 7 years ago

What are the conditions in which the overlay moves left? It's not supposed to move. What are your settings for the directional overlay?

CJYate commented 7 years ago

I can't seem to post an image, at least from my phone. I so I'll describe..

I have custom command panels left and right, and the directional pad sits just on the left of the right side command panel, in the bottom right.

When certain messages pop up, the command panels are hidden, and directional overlay moves right to the edge of the screen, into the vacated space.

gurrhack commented 7 years ago

Ah, I see. I'll try to reproduce the problem. Do you have the "Allow map input with overlay" option enabled?

CJYate commented 7 years ago

Ah... Yes, I do. Perhaps that's what's happening!...

CJYate commented 6 years ago

Closing this as it seems to be user error or resolved.