-
-
Notifications
You must be signed in to change notification settings - Fork 14
[Bug] Standalone "Environment Variables" dialog (via Start Menu) is ignored #111
Description
Describe the bug
When opening the "Environment Variables" dialog directly from the Windows Start Menu, it spawns as a standalone window without a taskbar icon. In this specific state, AltAppSwitcher completely ignores it, making it impossible to Alt + Tab back to it.
Note: Opening Environment Variables as a child window via sysdm.cpl works perfectly fine. The bug only occurs when it is launched as a standalone dialog.
To Reproduce
Steps to reproduce the behavior:
- Open the Windows Start Menu.
- Type
env. - Select "Edit environment variables for your account".
- The "Environment Variables" window opens (notice it has no icon in the Windows taskbar).
- Click away to focus on a different application.
- Trigger AltAppSwitcher via
Alt + Tab. - Observe that the "Environment Variables" window is entirely missing from the switcher.
Expected behavior
AltAppSwitcher should enumerate and display this standalone dialog, matching the native Windows Alt + Tab behavior, which handles it correctly despite the lack of a taskbar icon.
Environment:
- OS: Windows 11
- AltAppSwitcher Version: 0.83
Additional context
When launched via the Start Menu, Windows executes rundll32.exe sysdm.cpl,EditEnvironmentVariables. This spawns a raw #32770 dialog class without a parent window and without the WS_EX_APPWINDOW style. AltAppSwitcher's window filtering logic is likely excluding it because it looks like a background or tool window to the API.