komorebi
komorebi copied to clipboard
[BUG]: Top bar & window frame glitch.
Describe the bug Some applications get displayed with an extra top bar that exceeds the width of the frame and no rounded corners. It seems to be some sort of glitch; maximizing, minimizing and snapping the window into place seems to solve the issue for a while.
Troublesome applications: Discord, LibreWolf.
To Reproduce Steps to reproduce the behavior:
- Follow the steps outlined in the Quickstart of the repo's README (default configuration for whkd & komorebi).
- Run komorebic:
komorebic start -c $Env:USERPROFILE\komorebi.json --whkd
- See bug in the screenshots below.

Expected behavior
No extra top bar & window frame with rounded corners.

Operating System
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22621 N/A Build 22621
komorebic check Output
No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\abi
Looking for configuration files in C:\Users\abi
No komorebi configuration found in C:\Users\abi
If running 'komorebic start --await-configuration', you will manually have to call the following command to begin tiling: komorebic complete-configuration
Additional context No other window managers or hotkey daemons are being used. Default window snapping is also disabled.
I can reliably reproduce this by minimizing and maximizing windows and swapping workspaces. After you maximize a window - if you switch workspaces and then go back to the workspace that monitor is assigned to it will resize into its position and display like this. Minimizing the window restores the normal functionality.
I have the same problem on some apps, when maximizing and minimizing normally using the window button. But with the command komorebic toggle-maximize, this issue always happens in every app when executing this command.
Example:
When I press the keybinding that executes this command twice: it maximizes the window and then minimizes, but if pressed again, then I cannot maximize again. The window button will look like this after minimizing with this window frame glitch:
Then to fix, I need to press with the mouse on the minimize button and then it actually minimizes.
I can reproduce it these ways too @dna113p , @nullbyto . Any clues on how to investigate this further?
This was fixed a few versions back