[BUG]: Workspace indicator not working properly #555

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

Originally created by @Ashikaga1974 on GitHub (Jan 3, 2025).

Summary

I have 5 workspaces, workspace 1 has the name “Work”, workspace 2 has the name “Mail”. I start Outlook and Teams with one rule:

  “workspaces": [
    {
      “name": ‘Work’,
      “layout": ”UltrawideVerticalStack”
    },
    {
      “name": ‘Mail’,
      “layout": ‘UltrawideVerticalStack’,
      “initial_workspace_rules": [
        {
          “kind": ‘Exe’,
          “id": ”OUTLOOK.EXE”
        },
        {
          “kind": ‘Exe’,
          “id": ”ms-teams.exe”
        }
      ]
    },
    {
      “name": ‘III’,
      “layout": ”UltrawideVerticalStack”
    },
    {
      “name": ‘IV’,
      “layout": ”UltrawideVerticalStack”
    },
    {
      “name": ‘V’,
      “layout": ”Rows”
    }
  ]

If I am on workspace 1, then click on the open Outlook, komorebi switches to Outlook, but the workspace indicator of the Bar stays on workspace 1 and does not switch to workspace 2

Version Information

W10 or Win11 doesn't matter...

komorebic 0.1.32
tag:v0.1.32
commit_hash:4b9d8114
build_time:2025-01-01 19:37:02 +00:00
build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc

Komorebi Configuration

Komorebi.json:

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.json",
  "app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME/applications.json",
  "animation": {
    "enabled": false,
    "duration": 200,
    "style": "Linear",
    "fps": 120 
  },
  "border": true,
  "border_width": 3,
  "border_offset": -1,
  "cross_monitor_move_behaviour": "Insert",
  "default_workspace_padding": 5,
  "default_container_padding": 5,
  "mouse_follows_focus": false,
  "monitors": [
    {
      "work_area_offset": {
        "left": 0,
        "top": 45,
        "right": 0,
        "bottom": 40
      },
      "workspaces": [
        {
          "name": "Work",
          "layout": "UltrawideVerticalStack"
        },
        {
          "name": "Mail",
          "layout": "UltrawideVerticalStack",
          "initial_workspace_rules": [
            {
              "kind": "Exe",
              "id": "OUTLOOK.EXE"
            },
            {
              "kind": "Exe",
              "id": "ms-teams.exe"
            }
          ]
        },
        {
          "name": "III",
          "layout": "UltrawideVerticalStack"
        },
        {
          "name": "IV",
          "layout": "UltrawideVerticalStack"
        },
        {
          "name": "V",
          "layout": "Rows"
        }
      ]
    }
  ],
  "resize_delta": 100,
  "theme": {
    "palette": "Base16",
    "name": "GoogleLight",
    "unfocused_border": "Base01",
    "bar_accent": "Base0D"
  },
  "stackbar": {
    "height": 40,
    "mode": "OnStack",
    "tabs": {
      "width": 300
    }
  },
  "transparency": true,
  "transparency_alpha": 240,
  "transparency_ignore_rules": [
    {
      "kind": "Exe",
      "id": "komorebi-bar.exe",
      "matching_strategy": "Equals"
    }
  ],
  "window_hiding_behaviour": "Cloak",
  "manage_rules": [
    {
      "kind": "Exe",
      "id": "RemoteDesktopManager.exe",
      "matching_strategy": "Contains"
    }
  ]
}

Bar.json:
{

  "_comment": "JSON File for KOMOREBI-BAR",

  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.bar.json",

  "center_widgets": [
    {
      "Date": {
        "enable": true,
        "format": "DateMonthYear"
      }
    },
    {
      "Time": {
        "enable": true,
        "format": "TwentyFourHour"
      }
    }
  ],

  "font_family": "JetBrains Mono",

  "grouping" :{
    "kind": "Alignment",
    "rounding": 5,
    "style":"Default",
    "transparency_alpha": 255
  },

  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": false
        },
        "layout": {
          "enable": true
        },
        "focused_window": {
          "enable": true,
          "show_icon": true
        }
      }
    }
  ],

  "monitor": {
    "index": 0,
    "work_area_offset": {
      "left": 0,
      "top": 40,
      "right": 0,
      "bottom": 40
    }
  },

  "right_widgets": [
    {
      "Media": {
        "enable": true
      }
    },
    {
      "Storage": {
        "enable": false,
        "label_prefix": "Icon"
      }
    },
    {
      "Cpu": {
        "enable": true,
        "data_refresh_interval": 5,
        "label_prefix": "Icon"
      }
    },    
    {
      "Memory": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Network": {
        "enable": true,
        "show_total_data_transmitted": true,
        "show_network_activity": true,
        "show_default_interface": false
      }
    }
  ],

  "transparency_alpha": 0
}

Hotkey Configuration

default

Output of komorebic check

KOMOREBI_CONFIG_HOME detected: C:\Users\xxxxxxxxx.config\komorebi

Looking for configuration files in C:\Users\xxxxxxxxxxx.config\komorebi

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

Found C:\Users\xxxxxxxxxxxxxxx.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 @Ashikaga1974 on GitHub (Jan 3, 2025). ### Summary I have 5 workspaces, workspace 1 has the name “Work”, workspace 2 has the name “Mail”. I start Outlook and Teams with one rule: “workspaces": [ { “name": ‘Work’, “layout": ”UltrawideVerticalStack” }, { “name": ‘Mail’, “layout": ‘UltrawideVerticalStack’, “initial_workspace_rules": [ { “kind": ‘Exe’, “id": ”OUTLOOK.EXE” }, { “kind": ‘Exe’, “id": ”ms-teams.exe” } ] }, { “name": ‘III’, “layout": ”UltrawideVerticalStack” }, { “name": ‘IV’, “layout": ”UltrawideVerticalStack” }, { “name": ‘V’, “layout": ”Rows” } ] If I am on workspace 1, then click on the open Outlook, komorebi switches to Outlook, but the workspace indicator of the Bar stays on workspace 1 and does not switch to workspace 2 ### Version Information W10 or Win11 doesn't matter... komorebic 0.1.32 tag:v0.1.32 commit_hash:4b9d8114 build_time:2025-01-01 19:37:02 +00:00 build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc ### Komorebi Configuration ```json Komorebi.json: { "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.json", "app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME/applications.json", "animation": { "enabled": false, "duration": 200, "style": "Linear", "fps": 120 }, "border": true, "border_width": 3, "border_offset": -1, "cross_monitor_move_behaviour": "Insert", "default_workspace_padding": 5, "default_container_padding": 5, "mouse_follows_focus": false, "monitors": [ { "work_area_offset": { "left": 0, "top": 45, "right": 0, "bottom": 40 }, "workspaces": [ { "name": "Work", "layout": "UltrawideVerticalStack" }, { "name": "Mail", "layout": "UltrawideVerticalStack", "initial_workspace_rules": [ { "kind": "Exe", "id": "OUTLOOK.EXE" }, { "kind": "Exe", "id": "ms-teams.exe" } ] }, { "name": "III", "layout": "UltrawideVerticalStack" }, { "name": "IV", "layout": "UltrawideVerticalStack" }, { "name": "V", "layout": "Rows" } ] } ], "resize_delta": 100, "theme": { "palette": "Base16", "name": "GoogleLight", "unfocused_border": "Base01", "bar_accent": "Base0D" }, "stackbar": { "height": 40, "mode": "OnStack", "tabs": { "width": 300 } }, "transparency": true, "transparency_alpha": 240, "transparency_ignore_rules": [ { "kind": "Exe", "id": "komorebi-bar.exe", "matching_strategy": "Equals" } ], "window_hiding_behaviour": "Cloak", "manage_rules": [ { "kind": "Exe", "id": "RemoteDesktopManager.exe", "matching_strategy": "Contains" } ] } Bar.json: { "_comment": "JSON File for KOMOREBI-BAR", "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.bar.json", "center_widgets": [ { "Date": { "enable": true, "format": "DateMonthYear" } }, { "Time": { "enable": true, "format": "TwentyFourHour" } } ], "font_family": "JetBrains Mono", "grouping" :{ "kind": "Alignment", "rounding": 5, "style":"Default", "transparency_alpha": 255 }, "left_widgets": [ { "Komorebi": { "workspaces": { "enable": true, "hide_empty_workspaces": false }, "layout": { "enable": true }, "focused_window": { "enable": true, "show_icon": true } } } ], "monitor": { "index": 0, "work_area_offset": { "left": 0, "top": 40, "right": 0, "bottom": 40 } }, "right_widgets": [ { "Media": { "enable": true } }, { "Storage": { "enable": false, "label_prefix": "Icon" } }, { "Cpu": { "enable": true, "data_refresh_interval": 5, "label_prefix": "Icon" } }, { "Memory": { "enable": true, "label_prefix": "Icon" } }, { "Network": { "enable": true, "show_total_data_transmitted": true, "show_network_activity": true, "show_default_interface": false } } ], "transparency_alpha": 0 } ``` ### Hotkey Configuration default ### Output of komorebic check KOMOREBI_CONFIG_HOME detected: C:\Users\xxxxxxxxx\.config\komorebi Looking for configuration files in C:\Users\xxxxxxxxxxx\.config\komorebi Found komorebi.json; this file can be passed to the start command with the --config flag Found C:\Users\xxxxxxxxxxxxxxx\.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:51:30 +01:00
adam closed this issue 2026-01-05 14:51:30 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Jan 4, 2025):

then click on the open Outlook

Where are you clicking to trigger the focus change? 👀

@LGUG2Z commented on GitHub (Jan 4, 2025): > then click on the open Outlook Where are you clicking to trigger the focus change? 👀
Author
Owner

@LGUG2Z commented on GitHub (Jan 4, 2025):

Should be fixed in the next nightly tagged release tonight

@LGUG2Z commented on GitHub (Jan 4, 2025): Should be fixed in the next `nightly` tagged release tonight
Author
Owner

@Ashikaga1974 commented on GitHub (Jan 6, 2025):

Works with Version:

komorebic 0.1.33
branch:master
commit_hash:b5a40a7a
build_time:2025-01-05 03:30:32 +00:00
build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc

Thank you very much :)

@Ashikaga1974 commented on GitHub (Jan 6, 2025): Works with Version: komorebic 0.1.33 branch:master commit_hash:b5a40a7a build_time:2025-01-05 03:30:32 +00:00 build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc Thank you very much :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#555