Closed merriman-xyz closed 2 years ago
There're Read only windows like Taskbar, i must guess its related to your question when i open PowerShell, VS debug gives "System.Runtime.InteropServices.COMException" в AmethystWindowsSystray.exe
cmd.exe also doesn't tiled.
I think all privileged windows are not taken into consideration at the moment.
Hi, I had the same issue with Rider and looked into it a bit. Apparently the application window has no title (I have yet to figure out, why that is the case). At some point amethyst checked for the name and threw an exception there. After allowing the title to be null/empty, Riders windows are tiled just fine.
I imagine, that is the same for the other JetBrains IDEs. As a work around for PowerShell using the Windows Terminal might be an option?
I will try to better understand what is going on with the title and create a pull request, if you are interested. To work around the title = null issue, I will probably just query the process name behind the window handle. EDIT: No additional SysCall needed. I simply use the file name (which is already available) as a fallback.
Can someone bring me up to speed, why the cmd class is blacklisted? As soon as I took it out of the filter, it worked fine for me (without running in elevated mode).
PRs are welcome.
Will close this in favor of #28
I have a few apps that don't tile:
Might be related to #28
Much appreciate all the work you put into this. Makes a switch from Mac into Windows much more pleasant.