Comments (3)
@arejaycola It just checks whether a window has the WS_VISIBLE
attribute, according to the WinAPI docs
from node-window-manager.
@sentialx
Such these windows is not visible, but the isVisible api return true
C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe
C:\Windows\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe
from node-window-manager.
@sentialx Such these windows is not visible, but the isVisible api return true
C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe C:\Windows\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe
Those are cloaked windows, they return as visible for win32 api because.... Microsoft.
what you have to do is check if they are cloaked before checking if they are visible
use NAPI FFI for that
from node-window-manager.
Related Issues (20)
- window.bringToTop() doesn't work HOT 5
- Prebuilt binaries
- ELIFECYCLE error after repeated `windowManager.getWindows()` usage. HOT 3
- MAC OSX: Allocation CGWindowListCopyWindowInfo and Window Lists Never Releases
- Linux Support HOT 4
- ELECTRON: Doesn't work with packaged app with version > 1.3.1 HOT 5
- Crash when using the lib on Windows HOT 1
- "Is not a valid Win32 application" error HOT 6
- .getIcon() returns empty buffer sometimes HOT 2
- windowmanager.getWindows() crashes electron process on macos Big Sur HOT 4
- setBounds does not work on chrome windows HOT 1
- [Windows] Is it possible to list out windows that are shown on task bar? HOT 2
- Install fails in Electron HOT 3
- Install fails on windows with error in extract-file-icons HOT 2
- While creating new Window by passing Id crashes the electron app HOT 1
- window processIds consistent with Node child_process subprocess pids HOT 1
- mac npm i error
- The node version is too low to node-gyp rebuild
- Support for higher npm version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-window-manager.