glsorre / amethystwindows

[ARCHIVED] Automatic tiling window manager for Windows 10/11
https://amethystwindows.com
MIT License
410 stars 24 forks source link

Multiple non-tiling apps #57

Closed merriman-xyz closed 2 years ago

merriman-xyz commented 3 years ago

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.

rustemski commented 3 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

sys9kdr commented 3 years ago

cmd.exe also doesn't tiled.

glsorre commented 3 years ago

I think all privileged windows are not taken into consideration at the moment.

Larodar commented 2 years ago

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).

glsorre commented 2 years ago

PRs are welcome.

glsorre commented 2 years ago

Will close this in favor of #28