mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: WhatsApp application doesn't conform to workspaces #314
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GAlcaraz on GitHub (Mar 17, 2024).
Describe the bug
Using the WhatsApp windows application is not possible with Komorebi. It seems it just stays on top of every workspace while switching, and isn't actually snapped to any workspace/zone.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
WhatsApp window should be treated as any other window
Screenshots and Videos
In case it's not clear what's happening, I'm pressing Alt+Workspace to switch between 2 different workspaces. I'm also clicking directly on one of the browser windows in order to leave the WhatsApp app behind it, and when I switch workspaces again WhatsApp gets back on top.
https://www.loom.com/share/6679726288f74dbdbbe4efd0159afe82?sid=cf3a9f1f-ab6e-453d-9e7f-699b49a935d3
Operating System
komorebic checkOutput@LGUG2Z commented on GitHub (Mar 17, 2024):
WhatsApp is unfortunately a very problematic application that throws most of the established conventions of Windows GUI app development to the wind, because the window it launches (
WhatsApp.exewith a class ofWindows.UI.Core.CoreWindow) is not the window that you see and interact with.You can add this very broad manage rule to your personal config to force-manage the actual WhatsApp window that you interact with, but there are also other applications that it may be undesirable to tile which will share this same exe. You'll probably need to minimize and restore the WhatsApp window after applying this rule, and after starting komorebi for the first time for it to take effect (because the app window initially gets misreported as I mentioned above).
At some point we'll need to look into composite manage rules (ie. matching on this exe && a custom title), but this is not currently possible.