mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Microsoft Outlook #96
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 @hughwilliams94 on GitHub (Jun 9, 2022).
Originally assigned to: @LGUG2Z on GitHub.
Thanks very much for Komorebi.
I am having an issue with MS Outlook windows that hang around after being closed. If I open an email or calendar in a new window, closing that new window does not seem to be recognised by Komorebi.
I've tried using the workarounds suggested for other MS Office apps, but they don't seem to help.
Please let me know if I can provide any details for debugging.
@LGUG2Z commented on GitHub (Jun 11, 2022):
I believe this should have been addressed in the configuration generation repo by this PR.
If this does not help, the next time you are left with a ghost window tile after closing a window, run
komorebic statein the terminal and share the output here; that should help me figure out why the window manager still believes that there is a window for which a tile still needs to be reserved and I'll be able to suggestion some configuration options for you.@hughwilliams94 commented on GitHub (Jun 17, 2022):
Unfortunately this has not helped with my particular issue, I've included the out of
komorebic statebelow.Daily stand-up - Meeting Occurrenceis the ghost window in this instance.@LGUG2Z commented on GitHub (Jun 17, 2022):
I'm trying to do a little digging to see if users of other twms have seen similar issues with Outlook and I found this: https://github.com/TimUntersberger/nog/issues/268
I like
nog's idea of having amin_widthandmin_heightfor a window to be managed. I have the feeling that the window still exists (otherwisekomorebi's orphan window reaper would have removed it), but it has been either resized to a deliberately small size or moved way out of the viewport.@ramirezmike @TimUntersberger Apologies for tagging you in this blast from the past, but I wonder if you could provide some additional context on dealing with this issue based on your experiences dealing with it in
nog. 🙏@TimUntersberger commented on GitHub (Jun 17, 2022):
If I remember correctly, some windows apps seem to be reusing windows or at least hiding them until you open the app again.
I'm assuming that outlook only has 1 notification window which gets reused.
@ramirezmike commented on GitHub (Jun 17, 2022):
Yeah, using a minwidth/minheight eliminates the problem but it is a little hacky. An observation I had was that some background services seem to claim window IDs without actually having visible windows which causes the same thing to occur. Might be worth looking through the Windows API to see if there's something that provides more information about the window to be sure that it exists..
Also, offtopic, hi @TimUntersberger 👋 hope you are well
@LGUG2Z commented on GitHub (Jun 17, 2022):
Thanks to both of you, both for the inspiration to start this project and for taking the time to reply here in this thread. 🙏
@hughwilliams94 I bit the bullet and paid the $6 for a month to be able to use Outlook and after trying to reproduce the issue, I found that this behaviour only occurs when the window is closed, but not when the window is minimized. This mimics how "tray and multi window applications" behave, and I noticed that Outlook also has a tray icon.
Based on this, I added
OUTLOOK.EXEto try tray and multi-window whitelist with this command:And since doing this, I am able to successfully close an email opened in a new window without leaving a ghost/zombie window tile behind. Try this out and let me know if it also resolves your issues. In the meantime, I will make an update to the configuration repo to ensure this rule is automatically populated the next time users generate fresh configs.
@LGUG2Z commented on GitHub (Jun 17, 2022):
33baad11eb/applications.yaml (L101)=@hughwilliams94 commented on GitHub (Jun 21, 2022):
This seems to have done the trick, thanks for investigating