shae

Clean Alt-Tab for Win8: desktop item and thumbnails removed

101 posts in this topic

I figured, if I'm not going to make that generic memory patcher I had in mind, for the time being, better just finish the fixed-function thing I did some testing with.

So here's a memory-patching utility equivalent to the modified AltTab.dll. It's only for the current version of Win8.1 x64 (AltTab.dll v6.3.9600.17415). You can choose which of the two tweaks to apply, and it doesn't modify files.

Works here, but tell me if you see anything funny on your end.

 

btw. am also using TaskLister to get a nice tasklist 

(via ALT+Q with clavier+)

What's TaskLister? Couldn't quite find it.

cAltTab100_win812_x64.7z

Edited by shae
0

Share this post


Link to post
Share on other sites

I'm dying to get a proper ALT-TAB experience, and want to try your solution. However, the board can't seem to find the attachment, have you got an alternative source?

 

 

Oh, and TaskLister is attached on page1: http://www.msfn.org/board/topic/163665-clean-alt-tab-for-win8-desktop-item-and-thumbnails-removed/?p=1047318;)

Edited by bouvrie
0

Share this post


Link to post
Share on other sites

shae, thanks for your hard work! Hope this tool is still under development. I tried the current version. It works but unfortunately on-the-fly switching between windows makes it almost unusable for me. Why to flash with windows until the needed one is chosen (a question to M$)? Please add the possibility to disable this "great" feature.

0

Share this post


Link to post
Share on other sites

Hey GCRaistlin. There wasn't a need to develop anything in quite a while because AltTab.dll stayed the same.
At least as far as I know, as I haven't checked if recent Windows updates changed it.

1 hour ago, GCRaistlin said:

Why to flash with windows until the needed one is chosen (a question to M$)?

Do you mean Aero Peek? If so, there's a setting for it in Windows:
http://www.intowindows.com/fix-use-aero-peek-to-preview-the-desktop-grayed-out/

 

0

Share this post


Link to post
Share on other sites

Disabling Peek doesn't help. I disabled it (desktop isn't being showed by moving the mouse cursor to the bottom right corner of the screen) but selecting an icon in Alt-Tab window still causes all windows except the corresponding one to disappear.

Another problem is broken Z-order mentioned above. You can check that it is really broken: open 21 apps, then minimize a window, then press Alt-Shift-Tab. With properly working Z-order, you would change to the window you just minimized. In reality, you won't.

It's worth to add a scheduled task that will launch CleanAltTab on explorer.exe restart:

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2017-04-25T22:21:30.7837079</Date>
    <Author>RYA\Admin</Author>
  </RegistrationInfo>
  <Triggers>
    <EventTrigger>
      <Enabled>true</Enabled>
      <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="Application"&gt;&lt;Select Path="Application"&gt;*[System[Provider[@Name='Microsoft-Windows-Winlogon'] and EventID=1002]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
    </EventTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <GroupId>S-1-5-32-545</GroupId>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>C:\Programs\CleanAltTab\cAltTab.cmd</Command>
    </Exec>
  </Actions>
</Task>

cAltTab.cmd:

@echo off
color 00
:Loop
for /f "skip=1" %%A in ('tasklist /fi "imagename eq explorer.exe"') do (
  "%~dp0cAltTab.exe" /s=11
  echo OK.
  exit /b
)
if errorlevel 1 echo Waiting for explorer.exe to appear...
>nul ping -n 1 127.0.0.1
goto Loop

If you'll implement waiting for explorer.exe this batch file won't be required.

0

Share this post


Link to post
Share on other sites

Posted (edited)

Did you try unchecking "Enable Peek" under System Properties \ Advanced \ Performance \ Settings?

I thought of changing the program to add a scheduler rule instead of a startup shortcut but: crashes don't happen often, scheduler tasks are still more sneaky and hidden for most people, and I'd have to waste some time doing it. :) Doesn't Winlogon event 1002 happen only after explorer.exe has loaded? I recall it worked fine when used directly, but it's been quite a while since I looked so maybe I'm wrong.

I haven't checked in detail the Z-order changes, but I guess it's not something I encounter often. If I need to switch in a "complex" way I usually press and hold Alt-Tab then use the arrow keys. Or else, WinKey+number to target based on taskbar order.


 

Edited by shae
0

Share this post


Link to post
Share on other sites
9 hours ago, shae said:

Did you try unchecking "Enable Peek" under System Properties \ Advanced \ Performance \ Settings?

Yes I did.

9 hours ago, shae said:

crashes don't happen often

Actually it does, at least with Classic Shell.

9 hours ago, shae said:

Doesn't Winlogon event 1002 happen only after explorer.exe has loaded?

Its description is "The shell stopped unexpectedly and explorer.exe was restarted" so I believe it does.

9 hours ago, shae said:

I haven't checked in detail the Z-order changes, but I guess it's not something I encounter often.

It's a very handy feature as you may easily call the last minimized window without breaking the order of MRU windows. I just checked - it is broken now even with a small number of open windows: a minimized window is the one that gets activated on Alt-Tab. A completely senseless change.

I just thought - can these garbage tasks that are visible in Alt-Tab menu when AltTabSettings value is set to 1 in the registry be hidden in a way? It would solve broken Z-order and flashing windows issues without deep changes - for those who don't need thumbnails.

0

Share this post


Link to post
Share on other sites

Something is odd about the way Aero Peek behaves for you. All I had to do to get rid of the transparent window behavior was to uncheck the mentioned setting. I think it works for other people as well. Maybe start a new topic on this specific issue to see if other people encountered it?

I don't know of a way to hide the Metro junk windows from the old-style AltTab switcher. But I can't say I've explored it in depth since I've always used the modern Metro one, after the obligatory tweaks :)

 

0

Share this post


Link to post
Share on other sites

Hm. So other windows don't get transparent on Alt-Tab for you if Peek is off?

0

Share this post


Link to post
Share on other sites

Yes. For me it worked through all updates of Windows since Win8.0.
 

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.