Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking menu area or menu items results in spurious moves made on board by AI. #119

Open
ClaudiuPapasteri opened this issue Nov 27, 2024 · 7 comments

Comments

@ClaudiuPapasteri
Copy link

ClaudiuPapasteri commented Nov 27, 2024

First of all, thank you for the wonderful software.

Instead of trying to describe the issue, I will showcase it in this video.
It is very reproducible on my device. Take note I just click with mouse on menu buttons and then click on window bar, keyboard was not touched. This leads some times to moves made on the board. The same moves are made every time and they are not good opening moves so it doesn't seem that the clicks just start an AI vs AI game.

LizGoban_cut.mp4
@kaorahi
Copy link
Owner

kaorahi commented Nov 27, 2024

Thank you for the report. This is strange. I wasn't able to reproduce the issue on my side, and I'm not sure what's causing it yet. Could you help us gather more details?

  • (A) Could you check if the issue occurs on other machines?
  • (B) Can you identify which versions of the app show the issue and which ones don't?
  • (C) Do the stones always appear in the top-right corner? When you move the mouse to the left, do the stones also appear in the top-left corner?
  • (D) If you turn off [View] > [Coordinates] and reproduce the issue again, do the coordinates outside the board still appear when numbers are shown on the stones?

What's really strange is that the movie shows the app behaving as if 'c' key had been pressed.

@ClaudiuPapasteri
Copy link
Author

I will get back on (A) but seeing that you can't reproduce on other machines probably it won't be the case.
(B) 0.8.0
(C) There seems to be some mapping between the bar and the location the stones appear in. If I click the bar to the right, stones appear on the right, if I click on the left, they appear on the left.
(D) Yes, the behavior persists after [View] > [Coordinates], the same happens with them activated or deactivated.

No key is or was pressed.

@kaorahi
Copy link
Owner

kaorahi commented Dec 7, 2024

Thanks for your reply. I just want to confirm:

  • (B') Can you identify which versions of the app DON'T show the issue?
  • (D') Are you saying the COORDINATES still appear even if you turn off [View] > [Coordinates]?

I've encountered other kinds of strange behavior with the menu before, but they were eventually resolved in newer Electron releases. I'm not sure if this is a similar case, though...

@ClaudiuPapasteri
Copy link
Author

Ok, for (A), I tested the same version (0.8.0) on a different system and can't reproduce the results. This should probably be somewhat reassuring.
On the system where the bug exists:
(D) COORDINATES work, they are toggled on and off and do not affect the odd behavior.

@kaorahi
Copy link
Owner

kaorahi commented Dec 11, 2024

Thanks for the report. How about (B')? And one more thing:

(D'') Do the move numbers still appear on the stones occasionally, such as at 0:37 in your first movie, even if you turn off [View] > [Coordinates]?

I find this even stranger than the spurious moves themselves. This feature isn't tied to mouse operations but is assigned to the key press ("c" key).

@ClaudiuPapasteri
Copy link
Author

I have a short follow-up: You gave me the link for a test versions that implements a new feature (https://github.com/kaorahi/lizgoban/releases/tag/v0.8.1-pre1) and I tested it on the same machine that had the original bug. The bug doesn't appear any more for this new version of LizGoban.

@kaorahi
Copy link
Owner

kaorahi commented Dec 16, 2024

good news :)

Maybe the new version of Electron has fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants