-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement: Show list of all windows (alt tab replacement) #298
Comments
This is easy to do indeed, However keep in mind that there already some very good Alt+Tab replacements around, Alt-Tab Terminator and DisplayFusion comes to my mind but for sure there are others. Here is a build with the Windows List action. It list in the Alt+Tab order. It is not exactly the most recently used but rather the z-order of windows which is almost the same thing from a practical sense (this is what Alt+Tab does as well). AltSnap1.57test19_x64.zip Note that you can setup a keyboard-only shortcut for the Windows List action but you cannot override the Alt+Tab system shortcur or any other system shortcuts. |
Some kind of per-application grouping is planed indeed.
There is no way for me to know the creation order of windows, the only way would be to keep track of all windows creation/destruction all the time, like the taskbar does, but this would be a lot of coding and system intrusion that I am not willing to include in AltSnap. BTW: I see that the numbered list goes up to 8 before counting with letters, it should actually go up to 9 before ABC..., I will fix that. |
@RamonUnch i noticed the alt tab list, does not include minimised windows. Is this by design? I did think about doing it this way. One list for minimised windows, another list for restored windows. Not sure how well that will work without testing. Currently, I put minimised windows into another virtual desktop, to avoid clutter so I can focus on a smaller working set of windows. |
The menu does indeed ignores minimized windows like the Alt+Tab scroll action. |
Step by step improvement: AltSnap1.57test21_i386.zip I think I will stop there with improvements for the next release, subsequent iterations will be after 1.57. |
I set the Windows list to Win+Numblock(.) and it works like a charm. |
The system is responsible for drawing the icon in black, I agree it does not look good enough, I will just draw an additional line under the icon. Only minimized windows appear across virtual desktops when I use VirtualWin4.5. I will investigate how he hides the windows. This should not affect the native Win10 virtual desktops because they use a specific flag to separate between different virtual desktops. |
Verified both issues are fixed in this version. Thanks so much. I'll use this as my default windows switcher, autohide the windows taskbar. Let's see how it goes. |
Nice indeed, for shift + click however, the menu will have to close, because windows menu have to close on a left click. Also Shift is not ideal, because on french based keymaps you already need to press shift to make numbers, so I think it will have to be Ctrl. |
Well unfortunately the accelerators are not sent when Ctrl is pressed so Ctrl+Key is not possible, however Shitf+Key will work only if you use alphabetic numbering. If you use numbers, the menu would receive keymap-dependent characters, because there are no uppercase numbers. |
Left = restore/focus | Middle = close | Right = minimize Or consider onguarde's recommendation to let right click do the same as left click, while keeping the menu open.
I wasn't aware that the windows list isn't using virtual key codes. |
Well the message is I agree that minimizing would be the left button and middle button for closing is the best. Focusing the window without closing the menu would make it complicated because the menu would remain focused and this would lead to even more foreground war. |
In this case, I would scrab key combos altogether and concentrate on mouse handling. |
In theory you should just remove the |
@RamonUnch When the taskbar is unlocked, for the region after the app icons it returns 2 for the NCHITTEST, but when it is locked it instead returns 1. (This is probably how you can drag the taskbar in that area when it is unlocked to move it to another edge of the screen) With the filtering, it seems to only be the taskbar that is going different. (The alt+drag and the other actions (non-titlebar) that I have set up, they do correctly not do anything on the taskbar) |
Hello, I am using this feature as a mouse > title-bar > RMB (w/ hot-key (alt)) Removing |Shell_TrayWnd does not work. The only way it works on the taskbar is by keeping it unlocked. This feature is really good for using it on taskbar. I hope you are able to fix this issue so the taskbar does not have to remain unlocked. Thanks. |
Unfortunately, this feature would be nigh on impossible to add without having to reimplement large parts of the windows taskbar, since AltSnap relies heavily on the NCHITTEST message. Also, a side note: The Windows 11 taskbar is even worse. It replies to the NCHITTEST message saying that almost the whole taskbar (including the app icons on it) is classified as title, rather than just the empty sections of it like Windows 10 (and probably 7 and 8) do |
The issue here is that you are using a titlebar action. Titlebar actions works inside titlebars only, even if you remove I never really thought about this use case, there could be a specific option for this. |
You could use a ahk script that launches |
If you are using a hot-key for it, you could probably just set that option in the main AltSnap properties so that Alt+MMB on any window (not necessarily the titlebar) opens up that list. |
related to the enhancement request #231. Now we have a way to show a list of windows within a zone.
It would be great to also have a list for all windows as a completement to above feature.
When right clicked, it should close the window, like in #231.
With this, I can hide the taskbar, and not rely on it for window switching.
Do consider this enhancement! :)
The text was updated successfully, but these errors were encountered: