LGUG2Z / komorebi

A tiling window manager for Windows 🍉
https://lgug2z.github.io/komorebi/
Other
9.59k stars 198 forks source link

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

Closed abidanBrito closed 6 months ago

abidanBrito commented 1 year ago

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

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.

dna113p commented 1 year ago

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.

nullbyto commented 1 year ago

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.

abidanBrito commented 1 year ago

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

LGUG2Z commented 6 months ago

This was fixed a few versions back