Region capture doesn't detect Chrome extension popups (Win10)
Hi, on Windows 10 Region capture doesn't auto-detect Chrome extension popup windows (Bitwarden for example). Hover highlight just snaps to the whole Chrome window instead of the popup. Everything else is detected fine.
To reproduce: open any extension popup in Chrome, press the Region capture hotkey, hover over the popup.
The only thing that helps is right click on popup -> Inspect. While DevTools is open the popup stays open and gets detected. Active window capture also works, but it's not really a solution for every extension.
I'm pretty sure it worked on Windows 11 for me.
ShareX 21.0, Windows 10 Pro 22H2, Chrome 154.0.8037.58 (64-bit)
I looked through the source and noticed that WindowsRectangleList.CheckHandle() skips windows with WS_EX_TOOLWINDOW / WS_EX_NOACTIVATE: https://github.com/ShareX/ShareX/blob/develop/ShareX.ScreenCaptureLib/Helpers/WindowsRectangleList.cs
Maybe extension popups have those styles, but I haven't checked, so it's just a guess. Would be nice to have an option to include such windows in detection.
Source: ShareX/ShareX