[BUG]: Komorebi freezes/crashes when clicking on stack bar tabs #626

Closed
opened 2026-01-05 14:52:03 +01:00 by adam · 11 comments
Owner

Originally created by @DeveloperPaul123 on GitHub (May 22, 2025).

Summary

After stacking windows, I can cycle through them fine with my key bindings (alt + [, alt + ]) but if I try to click on one of the stack bar tabs, komorebi freezes and I have to restart the process. Even when hovering over the bars I get an hour glass mouse icon.

Image

Version Information

OS Name:                       Microsoft Windows 11 Pro
OS Version:                    10.0.26100 N/A Build 26100
komorebic 0.1.37
tag:v0.1.37
commit_hash:00384ce3
build_time:2025-05-17 19:16:53 +00:00
build_env:rustc 1.87.0 (17067e9ac 2025-05-09),stable-x86_64-pc-windows-msvc

Komorebi Configuration

`komorebi.json`

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.json",
  "app_specific_configuration_path": "$Env:USERPROFILE/applications.json",
  "window_hiding_behaviour": "Cloak",
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 10,
  "default_container_padding": 5,
  "border": true,
  "border_width": 4,
  "border_offset": 0,
  "mouse_follows_focus": false,
  "theme": {
    "palette": "Base16",
    "name": "AyuDark",
    "unfocused_border": "Base03",
    "bar_accent": "Base0D"
  },
  "border_colours": {
    "single": {
      "r": 89,
      "g": 194,
      "b": 255
    },
    "stack": {
      "r": 255,
      "g": 150,
      "b": 89
    },
    "monocle": {
      "r": 89,
      "g": 255,
      "b": 233
    }
  },
  "stackbar": {
    "height": 30,
    "mode": "OnStack",
    "tabs": {
      "width": 300,
      "focused_text": "#59c2ff",
      "unfocused_text": "#b3b3b3",
      "background": "#141414"
    }
  },
  "display_index_preferences": {
    "0": "{{primary_monitor_id}}",
    "1": "{{secondary_monitor_id}}"
  },
  "bar_configurations": [
    "$Env:USERPROFILE/komorebi.bar.primary.json",
    "$Env:USERPROFILE/komorebi.bar.secondary.json"
  ],
  "monitors": [
    {
      "workspaces": [
        {
          "name": "Coding",
          "layout": "BSP"
        },
        {
          "name": "Notes",
          "layout": "BSP"
        },
        {
          "name": "Comms",
          "layout": "BSP"
        },
        {
          "name": "Work",
          "layout": "BSP"
        },
        {
          "name": "V",
          "layout": "BSP"
        },
        {
          "name": "VI",
          "layout": "BSP"
        },
        {
          "name": "VII",
          "layout": "BSP"
        }
      ]
    },
    {
      "workspaces": [
        {
          "name": "Main",
          "layout": "BSP"
        },
        {
          "name": "II",
          "layout": "BSP"
        },
        {
          "name": "III",
          "layout": "BSP"
        }
      ]
    }
  ],
  "ignore_rules": [
    {
      "kind": "Title",
      "id": "ShareX",
      "matching_strategy": "Equals"
    },
    {
      "kind": "Path",
      "matching_strategy": "Contains",
      "id": "steamapps"
    }
  ],
  "manage_rules": [
    [
      {
        "kind": "Exe",
        "id": "Fork.exe",
        "matching_strategy": "Equals"
      },
      {
        "kind": "Title",
        "id": "Fork",
        "matching_strategy": "Contains"
      }
    ]
  ]
}


`komorebi.bar.primary.json`


{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.bar.json",
  "monitor": {
    "index": 0,
    "work_area_offset": {
      "left": 0,
      "top": 40,
      "right": 0,
      "bottom": 40
    }
  },
  "font_family": "Fira Code",
  "theme": {
    "palette": "Base16",
    "name": "AyuDark",
    "accent": "Base0D"
  },
  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": false
        },
        "layout": {
          "enable": true
        },
        "focused_container": {
          "display": "IconAndTextOnSelected",
          "enable": true,
          "show_icon": true
        }
      }
    }
  ],
  "center_widgets": [
    {
      "Time": {
        "enable": true,
        "format": "TwentyFourHour"
      }
    },
    {
      "Date": {
        "enable": true,
        "format": "DayDateMonthYear"
      }
    }
  ],
  "right_widgets": [
    {
      "Storage": {
        "enable": false
      }
    },
    {
      "Update": {
        "enable": true
      }
    },
    {
      "Media": {
        "enable": true
      }
    },
    {
      "Memory": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Cpu": {
        "enable": true,
        "data_refresh_interval": 3,
        "label_prefix": "Icon"
      }
    }
  ]
}


`komorebi.bar.secondary.json`


{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.bar.json",
  "monitor": {
    "index": 1,
    "work_area_offset": {
      "left": 0,
      "top": 40,
      "right": 0,
      "bottom": 40
    }
  },
  "font_family": "Fira Code",
  "theme": {
    "palette": "Base16",
    "name": "AyuDark",
    "accent": "Base0D"
  },
  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": false
        },
        "layout": {
          "enable": true
        },
        "focused_window": {
          "enable": true,
          "show_icon": true
        }
      }
    }
  ],
  "center_widgets": [
    {
      "Time": {
        "enable": true,
        "format": "TwentyFourHour"
      }
    },
    {
      "Date": {
        "enable": true,
        "format": "DayDateMonthYear"
      }
    }
  ],
  "right_widgets": [
    {
      "Media": {
        "enable": true
      }
    },
    {
      "Storage": {
        "auto_hide_under": 20,
        "enable": true
      }
    },
    {
      "Network": {
        "show_total_activity": false,
        "show_activity": true,
        "enable": true
      }
    }
  ]
}

Hotkey Configuration

I'm using whkdrc

.shell pwsh

# Reload whkd configuration
# alt + o                 : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd
alt + o                 : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell
alt + shift + o         : komorebic reload-configuration
alt + i                 : komorebic toggle-shortcuts

# App shortcuts - these require shell to be pwsh / powershell
# The apps will be focused if open, or launched if not open
alt + f                 : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox }
alt + c                 : komorebic close
alt + m                 : komorebic minimize

# Focus windows
alt + left                 : komorebic focus left
alt + down                 : komorebic focus down
alt + up                   : komorebic focus up
alt + right                : komorebic focus right

# Move windows
alt + shift + left         : komorebic move left
alt + shift + down         : komorebic move down
alt + shift + up           : komorebic move up
alt + shift + right        : komorebic move right
alt + shift + return       : komorebic promote

# Stack windows
alt + h             : komorebic stack left
alt + j             : komorebic stack down
alt + k             : komorebic stack up
alt + l             : komorebic stack right
alt + oem_1         : komorebic unstack # oem_1 is ;
alt + oem_4         : komorebic cycle-stack previous # oem_4 is [
alt + oem_6         : komorebic cycle-stack next # oem_6 is ]

# Resize
alt + ctrl + right       : komorebic resize-axis horizontal increase
alt + ctrl + left        : komorebic resize-axis horizontal decrease
alt + ctrl + up          : komorebic resize-axis vertical increase
alt + ctrl + down        : komorebic resize-axis vertical decrease

# Manipulate windows
alt + t                 : komorebic toggle-float
alt + shift + f         : komorebic toggle-monocle

# Window manager options
alt + shift + r         : komorebic retile
alt + p                 : komorebic toggle-pause

# Layouts
alt + x                 : komorebic flip-layout horizontal
alt + y                 : komorebic flip-layout vertical

# Workspaces
alt + 1                 : komorebic focus-workspace 0
alt + 2                 : komorebic focus-workspace 1
alt + 3                 : komorebic focus-workspace 2
alt + 4                 : komorebic focus-workspace 3
alt + 5                 : komorebic focus-workspace 4
alt + 6                 : komorebic focus-workspace 5
alt + 7                 : komorebic focus-workspace 6
alt + 8                 : komorebic focus-workspace 7

# Move windows across workspaces
alt + shift + 1         : komorebic move-to-workspace 0
alt + shift + 2         : komorebic move-to-workspace 1
alt + shift + 3         : komorebic move-to-workspace 2
alt + shift + 4         : komorebic move-to-workspace 3
alt + shift + 5         : komorebic move-to-workspace 4
alt + shift + 6         : komorebic move-to-workspace 5
alt + shift + 7         : komorebic move-to-workspace 6
alt + shift + 8         : komorebic move-to-workspace 7

Output of komorebic check

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

Looking for configuration files in C:\Users\Paul

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

Found C:\Users\Paul\.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 @DeveloperPaul123 on GitHub (May 22, 2025). ### Summary After stacking windows, I can cycle through them fine with my key bindings (`alt` + `[`, `alt` + `]`) but if I try to click on one of the stack bar tabs, `komorebi` freezes and I have to restart the process. Even when hovering over the bars I get an hour glass mouse icon. ![Image](https://github.com/user-attachments/assets/6ee51620-a690-42c0-ad25-ae7bd0aeb115) ### Version Information ``` OS Name: Microsoft Windows 11 Pro OS Version: 10.0.26100 N/A Build 26100 ``` ``` komorebic 0.1.37 tag:v0.1.37 commit_hash:00384ce3 build_time:2025-05-17 19:16:53 +00:00 build_env:rustc 1.87.0 (17067e9ac 2025-05-09),stable-x86_64-pc-windows-msvc ``` ### Komorebi Configuration ```json `komorebi.json` { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.json", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 10, "default_container_padding": 5, "border": true, "border_width": 4, "border_offset": 0, "mouse_follows_focus": false, "theme": { "palette": "Base16", "name": "AyuDark", "unfocused_border": "Base03", "bar_accent": "Base0D" }, "border_colours": { "single": { "r": 89, "g": 194, "b": 255 }, "stack": { "r": 255, "g": 150, "b": 89 }, "monocle": { "r": 89, "g": 255, "b": 233 } }, "stackbar": { "height": 30, "mode": "OnStack", "tabs": { "width": 300, "focused_text": "#59c2ff", "unfocused_text": "#b3b3b3", "background": "#141414" } }, "display_index_preferences": { "0": "{{primary_monitor_id}}", "1": "{{secondary_monitor_id}}" }, "bar_configurations": [ "$Env:USERPROFILE/komorebi.bar.primary.json", "$Env:USERPROFILE/komorebi.bar.secondary.json" ], "monitors": [ { "workspaces": [ { "name": "Coding", "layout": "BSP" }, { "name": "Notes", "layout": "BSP" }, { "name": "Comms", "layout": "BSP" }, { "name": "Work", "layout": "BSP" }, { "name": "V", "layout": "BSP" }, { "name": "VI", "layout": "BSP" }, { "name": "VII", "layout": "BSP" } ] }, { "workspaces": [ { "name": "Main", "layout": "BSP" }, { "name": "II", "layout": "BSP" }, { "name": "III", "layout": "BSP" } ] } ], "ignore_rules": [ { "kind": "Title", "id": "ShareX", "matching_strategy": "Equals" }, { "kind": "Path", "matching_strategy": "Contains", "id": "steamapps" } ], "manage_rules": [ [ { "kind": "Exe", "id": "Fork.exe", "matching_strategy": "Equals" }, { "kind": "Title", "id": "Fork", "matching_strategy": "Contains" } ] ] } `komorebi.bar.primary.json` { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.bar.json", "monitor": { "index": 0, "work_area_offset": { "left": 0, "top": 40, "right": 0, "bottom": 40 } }, "font_family": "Fira Code", "theme": { "palette": "Base16", "name": "AyuDark", "accent": "Base0D" }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "hide_empty_workspaces": false }, "layout": { "enable": true }, "focused_container": { "display": "IconAndTextOnSelected", "enable": true, "show_icon": true } } } ], "center_widgets": [ { "Time": { "enable": true, "format": "TwentyFourHour" } }, { "Date": { "enable": true, "format": "DayDateMonthYear" } } ], "right_widgets": [ { "Storage": { "enable": false } }, { "Update": { "enable": true } }, { "Media": { "enable": true } }, { "Memory": { "enable": true, "label_prefix": "Icon" } }, { "Cpu": { "enable": true, "data_refresh_interval": 3, "label_prefix": "Icon" } } ] } `komorebi.bar.secondary.json` { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.bar.json", "monitor": { "index": 1, "work_area_offset": { "left": 0, "top": 40, "right": 0, "bottom": 40 } }, "font_family": "Fira Code", "theme": { "palette": "Base16", "name": "AyuDark", "accent": "Base0D" }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "hide_empty_workspaces": false }, "layout": { "enable": true }, "focused_window": { "enable": true, "show_icon": true } } } ], "center_widgets": [ { "Time": { "enable": true, "format": "TwentyFourHour" } }, { "Date": { "enable": true, "format": "DayDateMonthYear" } } ], "right_widgets": [ { "Media": { "enable": true } }, { "Storage": { "auto_hide_under": 20, "enable": true } }, { "Network": { "show_total_activity": false, "show_activity": true, "enable": true } } ] } ``` ### Hotkey Configuration I'm using `whkdrc` ``` .shell pwsh # Reload whkd configuration # alt + o : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd alt + o : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell alt + shift + o : komorebic reload-configuration alt + i : komorebic toggle-shortcuts # App shortcuts - these require shell to be pwsh / powershell # The apps will be focused if open, or launched if not open alt + f : if ($wshell.AppActivate('Firefox') -eq $False) { start firefox } alt + c : komorebic close alt + m : komorebic minimize # Focus windows alt + left : komorebic focus left alt + down : komorebic focus down alt + up : komorebic focus up alt + right : komorebic focus right # Move windows alt + shift + left : komorebic move left alt + shift + down : komorebic move down alt + shift + up : komorebic move up alt + shift + right : komorebic move right alt + shift + return : komorebic promote # Stack windows alt + h : komorebic stack left alt + j : komorebic stack down alt + k : komorebic stack up alt + l : komorebic stack right alt + oem_1 : komorebic unstack # oem_1 is ; alt + oem_4 : komorebic cycle-stack previous # oem_4 is [ alt + oem_6 : komorebic cycle-stack next # oem_6 is ] # Resize alt + ctrl + right : komorebic resize-axis horizontal increase alt + ctrl + left : komorebic resize-axis horizontal decrease alt + ctrl + up : komorebic resize-axis vertical increase alt + ctrl + down : komorebic resize-axis vertical decrease # Manipulate windows alt + t : komorebic toggle-float alt + shift + f : komorebic toggle-monocle # Window manager options alt + shift + r : komorebic retile alt + p : komorebic toggle-pause # Layouts alt + x : komorebic flip-layout horizontal alt + y : komorebic flip-layout vertical # Workspaces alt + 1 : komorebic focus-workspace 0 alt + 2 : komorebic focus-workspace 1 alt + 3 : komorebic focus-workspace 2 alt + 4 : komorebic focus-workspace 3 alt + 5 : komorebic focus-workspace 4 alt + 6 : komorebic focus-workspace 5 alt + 7 : komorebic focus-workspace 6 alt + 8 : komorebic focus-workspace 7 # Move windows across workspaces alt + shift + 1 : komorebic move-to-workspace 0 alt + shift + 2 : komorebic move-to-workspace 1 alt + shift + 3 : komorebic move-to-workspace 2 alt + shift + 4 : komorebic move-to-workspace 3 alt + shift + 5 : komorebic move-to-workspace 4 alt + shift + 6 : komorebic move-to-workspace 5 alt + shift + 7 : komorebic move-to-workspace 6 alt + shift + 8 : komorebic move-to-workspace 7 ``` ### Output of komorebic check ``` No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\Paul Looking for configuration files in C:\Users\Paul Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\Paul\.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 bug label 2026-01-05 14:52:03 +01:00
adam closed this issue 2026-01-05 14:52:04 +01:00
Author
Owner

@CtByte commented on GitHub (May 23, 2025):

This has come up a few times and I have been suspicious of the network widget. Try to disable the default interface or if that does not work, the entire network widget.

    {
      "Network": {
        "enable": true,
        "show_default_interface": false, // <--
        "show_total_activity": false,
        "show_activity": true
      }
    },
@CtByte commented on GitHub (May 23, 2025): This has come up a few times and I have been suspicious of the network widget. Try to disable the default interface or if that does not work, the entire network widget. ```json { "Network": { "enable": true, "show_default_interface": false, // <-- "show_total_activity": false, "show_activity": true } }, ```
Author
Owner

@DeveloperPaul123 commented on GitHub (May 24, 2025):

This has come up a few times and I have been suspicious of the network widget. Try to disable the default interface or if that does not work, the entire network widget.

{
  "Network": {
    "enable": true,
    "show_default_interface": false, // <--
    "show_total_activity": false,
    "show_activity": true
  }
},

Thanks! I'll give this a try and report back.

@DeveloperPaul123 commented on GitHub (May 24, 2025): > This has come up a few times and I have been suspicious of the network widget. Try to disable the default interface or if that does not work, the entire network widget. > > { > "Network": { > "enable": true, > "show_default_interface": false, // <-- > "show_total_activity": false, > "show_activity": true > } > }, Thanks! I'll give this a try and report back.
Author
Owner

@DeveloperPaul123 commented on GitHub (May 27, 2025):

So after completely disabling the Network widget, I have seen some improvement, but I do still see the "loading" mouse icon when hovering over stacked tabs at times - but the crashes have mostly gone away.

@DeveloperPaul123 commented on GitHub (May 27, 2025): So after completely disabling the Network widget, I have seen some improvement, but I do still see the "loading" mouse icon when hovering over stacked tabs at times - but the crashes have mostly gone away.
Author
Owner

@LGUG2Z commented on GitHub (May 27, 2025):

The stackbar feature isn't receiving updates (from me) anymore - if it's not already marked EOL in the schema I'll make sure it's marked for the next release

The "official" recommendation is to use a status bar since all the major ones (komorebi, yasb, zebar) support stacked containers

If someone wants to submit a patch to improve any current issues they are welcome

@LGUG2Z commented on GitHub (May 27, 2025): The stackbar feature isn't receiving updates (from me) anymore - if it's not already marked EOL in the schema I'll make sure it's marked for the next release The "official" recommendation is to use a status bar since all the major ones (komorebi, yasb, zebar) support stacked containers If someone wants to submit a patch to improve any current issues they are welcome
Author
Owner

@CtByte commented on GitHub (May 27, 2025):

I have been planning to change the network widget somehow, but I have no free time whatsoever lately.
So that will come at some point. 🤞

@CtByte commented on GitHub (May 27, 2025): I have been planning to change the network widget somehow, but I have no free time whatsoever lately. So that will come at some point. 🤞
Author
Owner

@LGUG2Z commented on GitHub (May 27, 2025):

Just pushed one commit which should resolve the loading mouse icon on hover 🤞

@LGUG2Z commented on GitHub (May 27, 2025): Just pushed one commit which should resolve the loading mouse icon on hover 🤞
Author
Owner

@DeveloperPaul123 commented on GitHub (May 27, 2025):

Just pushed one commit which should resolve the loading mouse icon on hover 🤞

Thanks! I'm currently not building from master but can give that a try

@DeveloperPaul123 commented on GitHub (May 27, 2025): > Just pushed one commit which should resolve the loading mouse icon on hover 🤞 Thanks! I'm currently not building from master but can give that a try
Author
Owner

@DeveloperPaul123 commented on GitHub (Jul 30, 2025):

I haven't been able to test from main - will the loading mouse icon fix be included in a future release?

@DeveloperPaul123 commented on GitHub (Jul 30, 2025): I haven't been able to test from `main` - will the loading mouse icon fix be included in a future release?
Author
Owner

@CtByte commented on GitHub (Jul 31, 2025):

You can try to install the nightly release for now.

Things will start picking up after the summer, including a new release.

@CtByte commented on GitHub (Jul 31, 2025): You can try to install the [nightly](https://github.com/LGUG2Z/komorebi/releases/tag/nightly) release for now. Things will start picking up after the summer, including a new release.
Author
Owner

@DeveloperPaul123 commented on GitHub (Jul 31, 2025):

You can try to install the nightly release for now.

Things will start picking up after the summer, including a new release.

Thanks, the nightly release seems to have fixed the loading mouse icon issue. Also I've noticed fewer crashes overall now that I have disabled the network widget.

@DeveloperPaul123 commented on GitHub (Jul 31, 2025): > You can try to install the [nightly](https://github.com/LGUG2Z/komorebi/releases/tag/nightly) release for now. > > Things will start picking up after the summer, including a new release. Thanks, the nightly release seems to have fixed the loading mouse icon issue. Also I've noticed fewer crashes overall now that I have disabled the network widget.
Author
Owner

@LGUG2Z commented on GitHub (Aug 1, 2025):

Since this is fixed on the master branch I'm going to close this issue - keep an eye out for the next release later in the summer!

@LGUG2Z commented on GitHub (Aug 1, 2025): Since this is fixed on the master branch I'm going to close this issue - keep an eye out for the next release later in the summer!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#626