komorebi icon indicating copy to clipboard operation
komorebi copied to clipboard

[BUG]: Top bar & window frame glitch.

Open abidanBrito opened this issue 2 years ago • 3 comments

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.

abidanBrito avatar Oct 08 '23 16:10 abidanBrito

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 avatar Oct 20 '23 21:10 dna113p

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 avatar Oct 24 '23 15:10 nullbyto

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

abidanBrito avatar Oct 24 '23 15:10 abidanBrito

This was fixed a few versions back

LGUG2Z avatar May 13 '24 11:05 LGUG2Z