[BUG]: File explorer resized by komorebi creates white visual artifacts #542

Closed
opened 2026-01-05 14:51:25 +01:00 by adam · 3 comments
Owner

Originally created by @cat-ione on GitHub (Dec 10, 2024).

Summary

When komorebi attempts to resize (specifically expand) a Windows file explorer window, white artifacts appear. However, the artifacts don't appear if the window is resized manually by dragging the window borders.

In addition, this seems to happen with AltSnap's resizing functionality as well.

Video:
https://github.com/user-attachments/assets/1fcb8dbc-4e5a-4fab-b34f-ccdc0faebd21

Version Information

System Info:
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22631 N/A Build 22631

Komorebi Info:
komorebic 0.1.31
branch:master
commit_hash:53c19904
build_time:2024-12-10 01:11:13 +00:00
build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
  "$schema": "https://github.com/LGUG2Z/komorebi/raw/refs/heads/master/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 10,
  "default_container_padding": 10,
  "border": true,
  "border_width": 6,
  "border_offset": -1,
  "transparency": true,
  "transparency_alpha": 230,
  "transparency_ignore_rules": [
    {
      "kind": "Title",
      "id": "YouTube",
      "matching_strategy": "Contains"
    },
    {
      "kind": "Title",
      "id": "Twitch",
      "matching_strategy": "Contains"
    },
    {
      "kind": "Exe",
      "id": "python.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "libresprite.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "javaw.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Title",
      "id": "Paint 3D",
      "matching_strategy": "EndsWith"
    },
    {
      "kind": "Exe",
      "id": "WindowsTerminal.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Class",
      "id": "CabinetWClass",
      "matching_strategy": "Equals"
    }
  ],
  "mouse_follows_focus": true,
  "animation": {
    "enabled": true,
    "fps": 165,
    "duration": {
      "movement": 250,
      "transparency": 150
    },
    "style": {
      "movement": "EaseOutExpo",
      "transparency": "Linear"
    }
  },
  "theme": {
    "palette": "Catppuccin",
    "name": "Mocha",
    "single_border": "Flamingo",
    "unfocused_border": "Sapphire",
    "monocle_border": "Green",
    "stack_border": "Maroon",
    "stackbar_background": "Crust",
    "bar_accent": "Sky"
  },
  "stackbar": {
    "height": 40,
    "mode": "OnStack",
    "tabs": {
      "width": 300,
      "font_family": "Fira Code"
    }
  },
  "floating_applications": [
    {
      "kind": "Exe",
      "id": "python.exe",
      "matching_strategy": "Equals"
    }
  ],
  "manage_rules": [
    {
      "kind": "Exe",
      "id": "libresprite.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Class",
      "id": "WeChatMainWndForPC",
      "matching_strategy": "Equals"
    }
  ],
  "object_name_change_applications": [
    {
      "kind": "Class",
      "id": "Engine",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Class",
      "id": "SALFRAME",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Class",
      "id": "GlassWndClass-GlassWindowClass-.*",
      "matching_strategy": "Regex"
    },
    {
      "kind": "Exe",
      "id": "libresprite.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Exe",
      "id": "NVIDIA app.exe",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Class",
      "id": "WeChatMainWndForPC",
      "matching_strategy": "Equals"
    }
  ],
  "monitors": [
    {
      "workspaces": [
        {
          "name": "I",
          "layout": "BSP"
        },
        {
          "name": "II",
          "layout": "BSP"
        },
        {
          "name": "III",
          "layout": "BSP"
        },
        {
          "name": "IV",
          "layout": "BSP"
        },
        {
          "name": "V",
          "layout": "BSP"
        }
      ]
    },
    {
      "workspaces": [
        {
          "name": "I",
          "layout": "BSP"
        },
        {
          "name": "II",
          "layout": "BSP"
        },
        {
          "name": "III",
          "layout": "BSP"
        },
        {
          "name": "IV",
          "layout": "BSP"
        },
        {
          "name": "V",
          "layout": "BSP"
        }
      ]
    }
  ]
}

Output of komorebic check

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\DaNub

Looking for configuration files in C:\Users\DaNub

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

Your configuration file contains some options that have been renamed or deprecated:

"applications.yaml" is now "applications.json"
Found C:\Users\DaNub.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

Originally created by @cat-ione on GitHub (Dec 10, 2024). ### Summary When komorebi attempts to resize (specifically expand) a Windows file explorer window, white artifacts appear. However, the artifacts don't appear if the window is resized manually by dragging the window borders. In addition, this seems to happen with AltSnap's resizing functionality as well. Video: https://github.com/user-attachments/assets/1fcb8dbc-4e5a-4fab-b34f-ccdc0faebd21 ### Version Information **System Info:** OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22631 N/A Build 22631 **Komorebi Info:** komorebic 0.1.31 branch:master commit_hash:53c19904 build_time:2024-12-10 01:11:13 +00:00 build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json { "$schema": "https://github.com/LGUG2Z/komorebi/raw/refs/heads/master/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 10, "default_container_padding": 10, "border": true, "border_width": 6, "border_offset": -1, "transparency": true, "transparency_alpha": 230, "transparency_ignore_rules": [ { "kind": "Title", "id": "YouTube", "matching_strategy": "Contains" }, { "kind": "Title", "id": "Twitch", "matching_strategy": "Contains" }, { "kind": "Exe", "id": "python.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "libresprite.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "javaw.exe", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Paint 3D", "matching_strategy": "EndsWith" }, { "kind": "Exe", "id": "WindowsTerminal.exe", "matching_strategy": "Equals" }, { "kind": "Class", "id": "CabinetWClass", "matching_strategy": "Equals" } ], "mouse_follows_focus": true, "animation": { "enabled": true, "fps": 165, "duration": { "movement": 250, "transparency": 150 }, "style": { "movement": "EaseOutExpo", "transparency": "Linear" } }, "theme": { "palette": "Catppuccin", "name": "Mocha", "single_border": "Flamingo", "unfocused_border": "Sapphire", "monocle_border": "Green", "stack_border": "Maroon", "stackbar_background": "Crust", "bar_accent": "Sky" }, "stackbar": { "height": 40, "mode": "OnStack", "tabs": { "width": 300, "font_family": "Fira Code" } }, "floating_applications": [ { "kind": "Exe", "id": "python.exe", "matching_strategy": "Equals" } ], "manage_rules": [ { "kind": "Exe", "id": "libresprite.exe", "matching_strategy": "Equals" }, { "kind": "Class", "id": "WeChatMainWndForPC", "matching_strategy": "Equals" } ], "object_name_change_applications": [ { "kind": "Class", "id": "Engine", "matching_strategy": "Equals" }, { "kind": "Class", "id": "SALFRAME", "matching_strategy": "Equals" }, { "kind": "Class", "id": "GlassWndClass-GlassWindowClass-.*", "matching_strategy": "Regex" }, { "kind": "Exe", "id": "libresprite.exe", "matching_strategy": "Equals" }, { "kind": "Exe", "id": "NVIDIA app.exe", "matching_strategy": "Equals" }, { "kind": "Class", "id": "WeChatMainWndForPC", "matching_strategy": "Equals" } ], "monitors": [ { "workspaces": [ { "name": "I", "layout": "BSP" }, { "name": "II", "layout": "BSP" }, { "name": "III", "layout": "BSP" }, { "name": "IV", "layout": "BSP" }, { "name": "V", "layout": "BSP" } ] }, { "workspaces": [ { "name": "I", "layout": "BSP" }, { "name": "II", "layout": "BSP" }, { "name": "III", "layout": "BSP" }, { "name": "IV", "layout": "BSP" }, { "name": "V", "layout": "BSP" } ] } ] } ``` ### Output of komorebic check No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\DaNub Looking for configuration files in C:\Users\DaNub Found komorebi.json; this file can be passed to the start command with the --config flag Your configuration file contains some options that have been renamed or deprecated: "applications.yaml" is now "applications.json" Found C:\Users\DaNub\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
adam added the bugi-will-not-work-on-thiskomorebii-am-stuckapps-behaving-badly labels 2026-01-05 14:51:25 +01:00
adam closed this issue 2026-01-05 14:51:26 +01:00
Author
Owner

@Naineten commented on GitHub (Aug 14, 2025):

Hey! Did you find solution? I have absolutely same problem. (windows 10)

@Naineten commented on GitHub (Aug 14, 2025): Hey! Did you find solution? I have absolutely same problem. (windows 10)
Author
Owner

@lessarx commented on GitHub (Jan 2, 2026):

Same problem (windows 11 25H2)

@lessarx commented on GitHub (Jan 2, 2026): Same problem (windows 11 25H2)
Author
Owner

@LGUG2Z commented on GitHub (Jan 2, 2026):

Closing as this is an issue with the Windows compositor and not with komorebi

@LGUG2Z commented on GitHub (Jan 2, 2026): Closing as this is an issue with the Windows compositor and not with komorebi
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#542