[BUG]: Top bar & window frame glitch. #251

Closed
opened 2026-01-05 14:49:16 +01:00 by adam · 4 comments
Owner

Originally created by @abidanBrito on GitHub (Oct 8, 2023).

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:

  1. Follow the steps outlined in the Quickstart of the repo's README (default configuration for whkd & komorebi).
  2. Run komorebic:
komorebic start -c $Env:USERPROFILE\komorebi.json --whkd
  1. See bug in the screenshots below.
    Bug

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

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.

Originally created by @abidanBrito on GitHub (Oct 8, 2023). **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: 1. Follow the steps outlined in the Quickstart of the repo's README (default configuration for whkd & komorebi). 2. Run komorebic: ``` komorebic start -c $Env:USERPROFILE\komorebi.json --whkd ``` 3. See bug in the screenshots below. ![Bug](https://i.imgur.com/vkjL8yX.png) **Expected behavior** No extra top bar & window frame with rounded corners. ![Expected behaviour](https://i.imgur.com/4O3T7Oh.png) **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.
adam added the bug label 2026-01-05 14:49:16 +01:00
adam closed this issue 2026-01-05 14:49:17 +01:00
Author
Owner

@dna113p commented on GitHub (Oct 20, 2023):

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.

@dna113p commented on GitHub (Oct 20, 2023): 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.
Author
Owner

@nullbyto commented on GitHub (Oct 24, 2023):

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:
image

Then to fix, I need to press with the mouse on the minimize button and then it actually minimizes.

@nullbyto commented on GitHub (Oct 24, 2023): 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: ![image](https://github.com/LGUG2Z/komorebi/assets/67614151/21c201f9-9538-4cdb-96b7-f397e7f65edf) Then to fix, I need to press with the mouse on the minimize button and then it actually minimizes.
Author
Owner

@abidanBrito commented on GitHub (Oct 24, 2023):

I can reproduce it these ways too @dna113p , @nullbyto . Any clues on how to investigate this further?

@abidanBrito commented on GitHub (Oct 24, 2023): I can reproduce it these ways too @dna113p , @nullbyto . Any clues on how to investigate this further?
Author
Owner

@LGUG2Z commented on GitHub (May 13, 2024):

This was fixed a few versions back

@LGUG2Z commented on GitHub (May 13, 2024): This was fixed a few versions back
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#251