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

System.InvalidOperationException: 'Queue empty.' , in V1.17.1\Terminal.Gui\ConsoleDrivers\NetDriver.cs #3914

Open
deivid1 opened this issue Feb 19, 2025 · 0 comments
Labels

Comments

@deivid1
Copy link

deivid1 commented Feb 19, 2025

Describe the bug
Randomly it disables Mouse and Keyboard inputs in the terminal forever until we restart the app. Please check the screenshot with the Exception: System.InvalidOperationException: 'Queue empty.'
, at NetDriver.cs, line 1502 with this code: inputResult.Dequeue ();

To Reproduce
Steps to reproduce the behavior:
It happens randomly when clicking in the Terminal, boxes, buttons or any place. It takes me many clicks to trigger it, but sometimes it happens on the first click too. In average like 10 or 20 mouse clicks .
I tried many times to reproduce the error with V1.14.1 but it never happened.

Expected behavior
-Using Terminal.gui project source code it stops in the exception.
-Using NuGet dll package the mouse and keyboard inputs stop working at all but app continues.

Screenshots
Image

Desktop (please complete the following information):

  • OS: W11
  • Version: Terminal.Gui 1.171

Additional context
I can provide more details, but I hope coders can have an idea just with the info and the screenshot.

PD: thanks for your hard work guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant