kvakulo / Switcheroo

The humble incremental-search task switcher for Windows
www.switcheroo.io
GNU General Public License v3.0
778 stars 121 forks source link

Alt+Tab integration doesn't work for administrator owned processes #33

Closed kvakulo closed 6 years ago

kvakulo commented 9 years ago
  1. Turn on Alt+Tab integration in Switcheroo
  2. Open e.g. cmd with Run as administrator
  3. Press Alt+Tab while having the cmd window in focus
  4. The usual Windows Alt+Tab functionality appears, and not Switcheroo

Is the solution to run Switcheroo as administrator? Or is there another way?

kvakulo commented 9 years ago

It is possible by giving Switcheroo uiAccess="true" in the application manifest and signing switcheroo.exe with a valid certificate.

Next step is to look into the price and procedure of getting a signing certificate for this purpose.

Resource: http://blogs.techsmith.com/inside-techsmith/devcorner-debug-uiaccess/

kvakulo commented 9 years ago

"Search Panel" and "Start menu" shows up when running with uiAccess="true":

2015-06-23_13h24_51

kvakulo commented 9 years ago

At least on Windows 8.1 those windows can be filtered by adding the following to the alt-tab window check:

        private bool IsWindowsSearchPane()
        {
            return Title == "Search Pane" && ClassName == "SearchPane";
        }

        private bool IsWindowsSearchMenu()
        {
            return Title == "Start menu" && ClassName == "ImmersiveLauncher";
        }

Need to look into how it behaves on other Windows versions.

About the code signing certificate: 95$ from here http://codesigning.ksoftware.net/#read_more

guilhas commented 7 years ago

Hello,

Also if

Happens the same with VistaSwitcher. http://www.ntwind.com/software/vistaswitcher.html

Regards, Lino

mczaickipl commented 6 years ago

Hi,

Any progress on it? I have Total Commander always in elevated mode, so this one is making very hard to use the app

tarikguney commented 6 years ago

I have submitted a new PR #78. It should fix this issue.

kvakulo commented 6 years ago

Released in v0.10.0-beta.1