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

Player is able to advance initiative with Spacebar? #233

Closed
Azhrei opened this issue Feb 11, 2019 · 5 comments
Closed

Player is able to advance initiative with Spacebar? #233

Azhrei opened this issue Feb 11, 2019 · 5 comments
Assignees

Comments

@Azhrei
Copy link
Member

Azhrei commented Feb 11, 2019

In tonight's game, a player was able to advance initiative by pressing the Spacebar. It's not clear where the mouse focus was, although the player disconnecting and reconnecting fixed the problem. I tried activating the Init Panel and hitting the Spacebar and it had no effect; other players reported the same. So it was just this one player. We're sure they were logged in as a Player and not GM (the GM is using a password to prevent accidentally logging in the wrong way).

@Phergus
Copy link
Contributor

Phergus commented Feb 11, 2019

OS? Java version? MapTool version?

@Azhrei
Copy link
Member Author

Azhrei commented Feb 11, 2019

No idea; I didn't grab any of that good info as it was the middle of a session. I've sent him a ping on our Discord server so I'll add it here when I have it. We were using 1418 at the time, so it's the embedded Java.

@JamzTheMan JamzTheMan added the info needed more details required from user to work this issue label Feb 26, 2019
@leowalter
Copy link

leowalter commented Sep 1, 2021

Skimming through old issues and found this.

My group struggled with this for a very long time. The initiative would sometimes randomly advance without any of us knowing why. We found it was when someone hit the space bar to active the shared pointer.

Here is how I duplicate the problem. When a player owns two consecutive tokens on the initiative, if they click the next button for the first token, then hit the space bar before clicking anywhere else, they will advance the initiative. If a GM clicks the Next button and then hits the space bar before clicking anywhere else, they can advance the initiative indefinitely just using the space bar.

Currently using Windows 10 and Maptool 1.9.3

@dorpond
Copy link

dorpond commented Sep 3, 2021

I confirmed this behavior with 1.8.4 as well.

In fact, I just opened one of my campaigns, and as the GM, I advanced the initiative using the next button in the initiative panel, and then if I immediately hit the space bar, it will advance the initiative, as if it is actually clicking down on the next button, because every space literally clicks on the button (as it shows the animation that it is clicked).

Another observation: if I click any of the buttons in the initiative panel, and then hit the space bar, the space does the same to them as well - the space bar becomes the left mouse button on the last button clicked.

@Phergus Phergus added bug and removed info needed more details required from user to work this issue labels Oct 16, 2021
@Phergus
Copy link
Contributor

Phergus commented Oct 16, 2021

This is still present in MT 1.10. Hitting the space-bar activates the last UI element that was clicked on. I believe this is the default behavior for JButtons. The Initiative window just happens to be the only one were there are buttons that have actions where this matters. So if you click on Pause Initiative, each press of space-bar will toggle the Pause status. Same for advance/rewind initiative.

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

No branches or pull requests

5 participants