nut-tree / nut.js

Native UI testing / controlling with node
https://nutjs.dev
2.2k stars 121 forks source link

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

Open climba03003 opened 2 years ago

climba03003 commented 2 years ago

Version 1.7.0

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

Issue occurs on

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.)

s1hofmann commented 2 years ago

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

climba03003 commented 2 years ago

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

unknown-10.png

richmailYT commented 2 years ago

what happends if you run as admin?

climba03003 commented 2 years ago

what happends if you run as admin?

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

github-actions[bot] commented 2 years ago

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

climba03003 commented 2 years ago

not resolved

github-actions[bot] commented 2 years ago

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

github-actions[bot] commented 2 years ago

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