mouse click not working in WSL script-based dialog when window is maximized #17726

Open
opened 2026-01-31 05:51:31 +00:00 by claunia · 0 comments
Owner

Originally created by @twuyts on GitHub (Jun 16, 2022).

Windows Terminal version

1.13.11432.0

Windows build number

10.0.22000.708

Other Software

dialog in WSL

Steps to reproduce

  1. open a terminal in wsl, make sure the window is NOT maximized
  2. execute the command dialog --msgbox 'Click the button' 0 0 --> you should see a blue screen with a msgbox, and an OK button
  3. Click (with the mouse pointer) on the OK button.
  4. The dialog command should exit, and present you with the shell prompt.
  5. maximize the terminal window, and repeat steps 2->3
  6. clicking the OK button doesn't work

You can try with other widgets of the dialog command, e.g.
dialog --no-tags --checklist 'Check List' 0 0 0 opt1 'Option 1' on opt2 'Option 2' off

Expected Behavior

The mouse button should have the same behaviour, whether the terminal window is maximized or not.

Actual Behavior

Clicking the mouse button had no effect when the window was maximized.

Originally created by @twuyts on GitHub (Jun 16, 2022). ### Windows Terminal version 1.13.11432.0 ### Windows build number 10.0.22000.708 ### Other Software [dialog in WSL](https://linux.die.net/man/1/dialog) ### Steps to reproduce 1. open a terminal in wsl, make sure the window is NOT maximized 2. execute the command `dialog --msgbox 'Click the button' 0 0` --> you should see a blue screen with a msgbox, and an OK button 3. Click (with the mouse pointer) on the OK button. 4. The `dialog` command should exit, and present you with the shell prompt. 5. maximize the terminal window, and repeat steps 2->3 6. clicking the OK button doesn't work You can try with other widgets of the `dialog` command, e.g. `dialog --no-tags --checklist 'Check List' 0 0 0 opt1 'Option 1' on opt2 'Option 2' off` ### Expected Behavior The mouse button should have the same behaviour, whether the terminal window is maximized or not. ### Actual Behavior Clicking the mouse button had no effect when the window was maximized.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:51:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17726