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

Spam click open file opens a bunch of dialogs #3

Closed
tryashtar opened this issue Jun 11, 2024 · 2 comments
Closed

Spam click open file opens a bunch of dialogs #3

tryashtar opened this issue Jun 11, 2024 · 2 comments

Comments

@tryashtar
Copy link

tryashtar commented Jun 11, 2024

There's a bit of a delay when you click the open file button. If you click it multiple times before the open file dialog pops up, then after closing the dialog, another one will appear, and so on.

In fact, even when the file dialog is open and the app looks unresponsive, you can still click the button repeatedly and queue up more popups.

@RealRTTV
Copy link
Owner

yeah winit is holding back on the events while the window is open, after they come through, the window seems to send all these requests

atm I think the best course of action is adding a nullify time, where once the window closes, I set a nullify time to be 500ms in the future, so all packets that come from now til then are discarded

not sure if this is a satisfactory solution tho

@RealRTTV
Copy link
Owner

RealRTTV commented Jun 14, 2024

ok i made it ignore for 50ms, should be fixed in the newest release

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