[BUG]: v0.1.40 regression: WindowsTerminal window not handled correctly
bug
### Summary
Can confirm the issue does not exist on v0.1.39, on the same machine with the same configuration
Symptom: when there are multiple WindowsTerminal windows, their handling is somehow messed up:
- sometimes opening a new WT window will cause another WT window in another workspace being focused, switching to the workspace of the previous WT window
- sometimes when switching to the workspace of a WT window, the WT window show up and then immediately disappeared. Then an incorrect workspace with another WT window is focused
Haven't got time to figure out all the details, so the description above may be inaccurate, but obviously there is something going wrong, probably messing up the internal state of the WM. Other, non-WT applications work just fine though. All WT windows share the same PID, not sure if it is related though.
### Version Information
OS version: Windows 11 10.0.26200
Komorebi version: v0.1.40.
### Komorebi Configuration
```json
{
"$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.36/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": 10,
"border": true,
"border_width": 6,
"border_offset": -1,
"theme": {
"palette": "Base16",
"name": "Ashes",
"single_border": "Base09",
"floating_border": "Base0B",
"unfocused_border": "Base03",
"bar_accent": "Base0D"
},
"toggle-float-placement": "None",
"monitors": [
{
"workspaces": [
{
"name": ...,
"layout": "VerticalStack",
},
...
]
}
],
"manage_rules": [
[
{
"kind": "Exe",
"id": "WindowsTerminal.exe",
"matching_strategy": "Equals"
}
]
],
"floating_applications": [
[
{
"kind": "Exe",
"id": "WindowsTerminal.exe",
"matching_strategy": "Equals"
},
{
"kind": "Title",
"id": "ArchLinux",
"matching_strategy": "DoesNotEqual"
},
{
"kind": "Title",
"id": "Windows PowerShell",
"matching_strategy": "DoesNotEqual"
}
],
[
{
"kind": "Exe",
"id": "WindowsTerminal.exe",
"matching_strategy": "DoesNotEqual"
},
{
"kind": "Exe",
"id": "firefox.exe",
"matching_strategy": "DoesNotEqual"
}
]
]
}
```
### Hotkey Configuration
```shell
none. I use AHK for hotkeys
```
### Output of komorebic check
```shell
no error or warning spotted, just the usual output. I have already downgraded to v0.1.39 so the exact output is currently not available.
```
5 条评论