Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlook appointment windows become strange zombies after being closed #268

Open
garymm opened this issue Apr 14, 2021 · 2 comments
Open
Labels
bug Something isn't working

Comments

@garymm
Copy link

garymm commented Apr 14, 2021

Version (which release did you use?)

Custom build from here:
#264 (comment)

But I'm pretty sure I've seen this with the latest master release (7b44db6) too.

Describe the bug

To Reproduce

Steps to reproduce the behavior:

  1. Open Outlook (I'm using Microsoft® Outlook® for Microsoft 365 MSO (16.0.13929.20176) 64-bit)
  2. Ctrl+2 to open calendar view
  3. Ctrl+N to create new appointment
  4. Alt+F4 to close the appointment

Expected behavior

Appointment window closes and remaining windows resize to fill the now empty space

Actual behavior

The appointment window closes but the other windows DO not resize. The space stays empty.
From looking at the window title in the nog bar, I can see that I can still focus the supposedly closed window. See screenshot, where the empty space is on the right, but the nog bar shows its title: "Untitled - Appointment".

image

If I switch workspaces and then switch back to this workspace, the zombie appointment window re-appears:

image

I think I've seen similar behavior with other apps but I'm not quite sure.

I find this extremely confusing and I'm not sure how to kill these windows off.

@garymm garymm added the bug Something isn't working label Apr 14, 2021
@garymm garymm changed the title Outlook event windows become strange zombies after being closed Outlook appointment windows become strange zombies after being closed Apr 14, 2021
@ramirezmike
Copy link
Collaborator

ramirezmike commented Apr 19, 2021

I've encountered this kind of thing occasionally, I think I haven't as much recently as I use the min_width/min_height settings to make nog ignore these windows that I'm just pulling up briefly.

But yeah, outlook has an especially weird way of handling windows. Nog isn't like... holding onto the window in the sense that it's keeping it open, but rather, the window does still exist for some time for some reason after you've closed it. I don't know how the windows are handled in Outlook, perhaps it's some aspect of caching or maybe keeping the window handle in order to reuse it when you open something else? Not sure..

Another time this can potentially occur is if you close nog while having numerous applications managed and then restart your machine and then launch nog. When nog reloads your stored grids it uses effectively stale windowIDs that may collide with other applications and sometimes you get a "blank" focused window that is of some background service running on your computer.

Anyway...

I find this extremely confusing and I'm not sure how to kill these windows off.

The easiest way to kill off the windows is to close them via nog's close keybinding. If you do encounter one of these empty programs, you can still focus onto them and then hit the nog keybinding to close them and that should get rid of them.

Let me know if that helps

@TimUntersberger
Copy link
Owner

Might be fixed in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants