AltSnap
AltSnap copied to clipboard
Maximise toggle doesn't work in this app
There's an app called FluentSearch and it's the only one among what I've tested that's not working well with maximise toggle (which Ive set to win+left mouse) So it does maximise the window but doesnt minimise on being clicked again...It might be the app's fault cos it uses a very custom styled window
Did you disable the Resize all windows option? if yes does it work with it enabled?
Send me the STYLE: value you can get using the find windows option for the FluentSearch window both normal and maximized.
Maybe the programs disables the WS_THICKFRAME (0x40000) when it is maximized.
In this case the fix is easy, just add the window to the Aresize list in the [Blacklist] section of AltSnap.ini

Fluent Search Settings|Avalonia-922c042b-6207-4c6a-8187-879f2951e995
Was the Fluent Search window maximized when you identified it? It seems not to be the case from the STYLE value, however there is indeed the WS_THICKFRAME flag.
I would like to see this when the window is maximized.
Did you try to add Fluent Search Settings|Avalonia-922c042b-6207-4c6a-8187-879f2951e995 to the AResize blacklist in the ini file?
Ok, so I wasn't as sure of this bug but AltSnap is randomly closing itself after some time
Fluent Search Settings|Avalonia-e67e1121-60e1-4c50-89f9-4e37ae7b9b5f
when maximised

No this didnt work... Also added the second one... but again nothing
Strange according to the STYLE flag, the window should be restorable.
If you want to include all possible Fluent windows in the blacklist you need to use Fluent Search Settings|Avalonia-* because apparently it generate a random value at startup. but it should not work, I will see when a have more time.
Ok, so I wasn't as sure of this bug but AltSnap is randomly closing itself after some time
Can you trigger it? does it happen even when you are not using the computer?
I'm not sure what causes it.. but it seems to happen if I leave the system idle? I'm not sure at all
Under win 8/10 there were problems with the tray icon that I eventually fixed. You can try to hide the tray that is maybe the culprit
I didn't understand "hiding the tray" but it's happening after some time, not particularly when the system's idle. It just closes itself. I don't see any crashing logs in Event Viewer as well.
You can hide the tray using the tray menu, You could maybe run for a while with the debug version: AltSnap1.47test22x64debug.zip
You have to open a command prompt in the folder, and type:
gdb.exe AltSnap.exe
Then gdb (the debugger) will start and you have to type the r command to run the program
at this moment altdrag will start and you can use your computer normally, a lot os messages will be displayed in the console that you must not close but you can ignore them until the point AltSnap crashes, at this moment i will be interested by the latest lines of the debug log.
Note that usually the debugger will lock AltSnap state and thus lock the mouse, so once the mouse freeze, you have to alt+tab to the command prompt ant hit the c (for continue) command in the debug console until altdrag compleatly terminate. then send me the last lines of the debug log.
@xzayn I am using the portable version of Fluent Search on Win10 21H1 and I cannot reproduce your bug, I can maximize and restore the window, both with double click of the maximize action or by dragging it to the top. Give me your .ini file, I have no problems with this app with whichever config I try.
@xzayn When you are unable to restore this window does pressing ESC makes it restoreable again? I think I may have spotted the problem.
unable to reproduce and no feedback