AltSnap
AltSnap copied to clipboard
Stacked window list enhancements
I've been using this on a daily basis, awesome. Couple of enhancements,
Show Stacked Window List 2 (Laser focus mode)
There should be a "Stacked Window List 2" above, which will list windows using the "laser pointer" method. Currently, it only shows stacked windows snapped to the zone.
This is to be consistent with,
In keyboard, we have a way to select between laser cursor or zone mode.
Configurable font size
Another small issue is with the font size, which is a really small. Making it bigger or configurable would be great for high DPI monitors.
Originally posted by @onguarde in https://github.com/RamonUnch/AltSnap/issues/231#issuecomment-1225105991
There should be a "Stacked Window List 2" above, which will list windows using the "laser pointer" method. Currently, it only shows stacked windows snapped to the zone.
True, it is confusing. You can actually have the laser mode by pressing shift. But I will add it to the list.
Configurable font size
The font should follow the system font size and scale with the monitor's DPI if it is not the case then it is a bug. But having an individual size for each menu font is bad coding practice and against Microsoft accessibility guidelines. If you prefer larger fonts in the menu, then change the menu font size system wide, there are no reasons for this menu to be smaller than others.
From the screen shot it seems you are using the beta build, please update to the stable 1.56 version. Also the first test builds had bad font scaling (non-dpi aware). But I cannot confirm 100% that font scaling will be perfect because I have no means to test per-monitor dpi awareness.
@onguarde
Well I see a mistake in the code, I wrongly draw the menu using the message font instead of the menu font By default they are the same but it is still a mistake. It is fixed by 72a4eee
Also Here is a version with the new Laser stacked Window list
AltSnap1.57test1_i386.zip
AltSnap1.57test1_x64.zip
@RamonUnch i tried the latest version.
"laser stacked window list" works fine when mapped to a mouse button. However, i can't get it to map to a keyboard shortcut. "stacked window list" and "toggle always on top" is also not working.
This works though,
I believe it's a bug.
the DPI font issue is ok for me now, i've increased to 125% scaling for windows.
Well try this build then. There was indeed a problem with the stacked window ist, should be fixed. Also in case you setup an already existing shortcut, an error will be displayed. When this happens, click OK and the hotkey is simply not registered.
I tried the latest version. Great, the keyboard mapping works fine now
Some bugs in this version,
-
if I activate "laser stacked windows list" repeatedly, I can make it crash consistently. The same doesn't happen for "stacked windows list".
-
In keyboard settings, "pick keys", if i try to map to an existing shortcut already mapped to another function, then it will crash.
-
Occasionally, if I activate "laser stacked windows list", while another window is overlapping, it will activate/raise the window behind. Ideally, it should not activate the window,
Ok, I think I got it now. AltSnap1.57test6_i386.zip AltSnap1.57test6_x64.zip
Great, i believe the first 2 are resolved. This one is still happening,
- Occasionally, if I activate "laser stacked windows list", while another window is overlapping, it will activate/raise the window behind. Ideally, it should not activate the window,
https://user-images.githubusercontent.com/681355/188343892-cc45f8da-d4cf-446e-b352-4050d0f40ddb.mp4
i can live with this, but it'll be great if it doesn't do that. Not sure if it's an easy fix.
I've tried with and without this option,
The Apply to the pointed window setting applies to all keyboard shortcuts but it does nothing for the Laser stacked windows list because it is solely based on the pointer position anyway.
Normally when you cancel the menu the previously focused window should re-gain focus, however it seems not reproducible, I will investigate.
I am not sure I understand the video, it seems the windows are popping up without any reasons, does it just happens like this?
@RamonUnch sorry i accidentally uploaded a wrong video. I edited the post above to the correct video.
There's 2 windows there, explorer and edge browser. When when i activate "laser stacked window list" on the edge window, it is activated, so the explorer window falls into the background. Ideally it should not do that.
It also seems the menu does not popup where the cursor is, is this just a recording artifact?
@RamonUnch yes i guess that's just a recording artifact.
The window being activated issue is as per the video.
I am not sure what is happening, because I could not reproduce the, but this one might fix it.
I tried the version and it's still happening. But I can live with that, minor gripe.
Let me try to rephrase the original description,
Suppose we have 2 windows, A and B. At start, Window A is on top of Window B.
When I point my mouse cursor on B and use "laser stacked windows list", it will send a left click to the B in the background.
End result, Window B is on top of Window A. This is different from the starting arrangement.