[BUG]: maximized window get de-maximized when clicking on a pop-up message #617

Closed
opened 2026-01-05 14:52:00 +01:00 by adam · 2 comments
Owner

Originally created by @rwijtvliet on GitHub (May 12, 2025).

Summary

Situation:

  • Workspace with 2 windows.
  • Maximized one of the windows; this window has focus.
  • A pop-up appears, e.g. from Teams or from the app itself.
  • Clicking on the popup (e.g. to close it).

bug: the last action causes the focused window to get de-maximised, i.e., the other window on the workspace is shown next to the window that has focus.

Version Information

❯ komorebic --version
komorebic 0.1.30
tag:v0.1.30
commit_hash:9a3dbccc
build_time:2024-11-03 23:49:52 +00:00
build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc

Komorebi Configuration

here

Hotkey Configuration

here

Output of komorebic check

❯ komorebic check
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\me

Looking for configuration files in C:\Users\me

Found komorebi.json; this file can be passed to the start command with the --config flag

No ~/.config/whkdrc found; you may not be able to control komorebi with your keyboard
Originally created by @rwijtvliet on GitHub (May 12, 2025). ### Summary Situation: * Workspace with 2 windows. * Maximized one of the windows; this window has focus. * A pop-up appears, e.g. from Teams or from the app itself. * Clicking on the popup (e.g. to close it). bug: the last action causes the focused window to get de-maximised, i.e., the other window on the workspace is shown next to the window that has focus. ### Version Information ```bash ❯ komorebic --version komorebic 0.1.30 tag:v0.1.30 commit_hash:9a3dbccc build_time:2024-11-03 23:49:52 +00:00 build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc ``` ### Komorebi Configuration [here](https://github.com/rwijtvliet/dotfiles/blob/main/windowmanager/windows/komorebi.json) ### Hotkey Configuration [here](https://github.com/rwijtvliet/dotfiles/blob/main/windowmanager/windows/hotkeys.ahk) ### Output of komorebic check ``` ❯ komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\me Looking for configuration files in C:\Users\me Found komorebi.json; this file can be passed to the start command with the --config flag No ~/.config/whkdrc found; you may not be able to control komorebi with your keyboard ```
adam added the bug label 2026-01-05 14:52:00 +01:00
adam closed this issue 2026-01-05 14:52:00 +01:00
Author
Owner

@LGUG2Z commented on GitHub (May 12, 2025):

Windows does not emit an event when a user clicks the maximize button. Komorebi only supports maintaining state when a window is maximized using the toggle-maximize command.

@LGUG2Z commented on GitHub (May 12, 2025): Windows does not emit an event when a user clicks the maximize button. Komorebi only supports maintaining state when a window is maximized using the toggle-maximize command.
Author
Owner

@rwijtvliet commented on GitHub (May 12, 2025):

ok, thanks for the clarification

@rwijtvliet commented on GitHub (May 12, 2025): ok, thanks for the clarification
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#617