Windows10のウィンドウ列挙はエグい
自作のwinlistコマンドで列挙してみる
https://gyazo.com/902299015144f2c151b7b1f7b18bb798
立ち上げてるウィンドウ8個なのに、実際は442個出てくる
code:quote
私の Win10 環境だと、ゴミウィンドウとして以下がありました。
$ winlist --visible --area-over 25000 --format "'$caption' '$classname' $pos $size"
'Cortana' 'Windows.UI.Core.CoreWindow' (0,458) (392x582)
'タスク スケジューラ のジャンプ リスト' 'Windows.UI.Core.CoreWindow' (443,928) (256x112)
'スタート' 'Windows.UI.Core.CoreWindow' (0,458) (256x582)
'Windows シェル エクスペリエンス ホスト' 'Windows.UI.Core.CoreWindow' (0,0) (1920x1080)
'Microsoft Visual C++ Runtime Library' '#32770' (719,407) (496x290)
'' 'Shell_TrayWnd' (0,1040) (1920x40)
'' 'ApplicationFrameWindow' (1920,0) (1280x1024)
'' 'ApplicationFrameWindow' (0,0) (1920x1040)