Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DaNubCoding opened this issue Dec 10, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@DaNubCoding
Copy link

DaNubCoding commented 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

@DaNubCoding DaNubCoding added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant