nut.js icon indicating copy to clipboard operation
nut.js copied to clipboard

`getWindows` do not list all the windows on Windows 10

Open climba03003 opened this issue 2 years ago • 8 comments

Version 1.7.0

Short overview getWindows do not list all the windows on Windows 10.

Issue occurs on

  • [ ] Virtual machine
  • [ ] Docker container
  • [x] Dev/Host system

Detailed error description I think it is related to the changes of EnumWindows in Windows 8 and 10. https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-enumwindows#remarks

Steps to reproduce error

Additional content

Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)

climba03003 avatar Nov 24 '21 05:11 climba03003

Hi @climba03003 👋

Could you maybe outline a simple scenario where not all windows are listed? This would make it easier for me to reproduce the issue when picking it up?

Best regards

Simon

s1hofmann avatar Nov 24 '21 12:11 s1hofmann

Hi @climba03003 👋

Could you maybe outline a simple scenario where not all windows are listed? This would make it easier for me to reproduce the issue when picking it up?

Best regards

Simon

I cannot tell what is not listed. But I can tell it only listing the following

  • Default IME
  • MSCTFIME UI
  • Program Manager
  • No Title

unknown-10.png

climba03003 avatar Nov 24 '21 12:11 climba03003

what happends if you run as admin?

richmailYT avatar Nov 25 '21 15:11 richmailYT

what happends if you run as admin?

Same result as previous one and it should not require admin privilege to run.

climba03003 avatar Nov 25 '21 15:11 climba03003

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 26 '22 02:04 github-actions[bot]

not resolved

climba03003 avatar Apr 27 '22 05:04 climba03003

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 29 '22 02:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 12 '22 02:06 github-actions[bot]