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

Hovered element is sometimes incorrect #127

Open
Lemonymous opened this issue Mar 29, 2022 · 0 comments
Open

Hovered element is sometimes incorrect #127

Lemonymous opened this issue Mar 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Lemonymous
Copy link
Contributor

Possible files:

mod_loader\ui\root.lua, mod_loader\ui\base.lua, mod_loader\modUi\dialog_helper.lua

Description:

When ui elements are created, and a click event is immediately followed, the wrong element can be hovered, and in turn be clicked.

How to reproduce:

A: Error when dismissing background panes created by dialog_helper.lua:

  1. Create two background panes. For example by opening [Mod Content] > [Configure Mods]
  2. Click twice rapidly outside the window to dismiss both panes quickly. If done quick enough, the game will crash with an error.

B: Clicking a button hidden by a background pane:

  1. Open a window with a background pane that hides other buttons. For example [Mod Content] > [Arrange Pilots]
  2. In quick succession, repeatedly click the button [Configure Mods]. If done quick enough, you will keep clicking the button hidden by the background pane, and keep opening the same dialog again and again.
  3. When closing the menu, many clicks will be needed to get back to the main menu from all the dialogs you have to dismiss.
@Lemonymous Lemonymous mentioned this issue Mar 29, 2022
@kartoFlane kartoFlane reopened this Apr 11, 2022
@kartoFlane kartoFlane added the bug Something isn't working label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants