Comments (8)
I tried following these instructions step by step but I was not able to reproduce. alt + shift + l
on ws2 triggers a noop error because it's the only window on that workspace, and then the switch back to ws1 succeeds:
2024-05-27T16:42:32.988895Z INFO process_command{MoveWindow(Right)}:move_container_in_direction{direction=Right}: komorebi::window_manager: moving container
2024-05-27T16:42:32.989375Z ERROR komorebi::process_command: there is no container or monitor in this direction
2024-05-27T16:42:36.877954Z INFO process_command{FocusWorkspaceNumber(0)}:focus_monitor{idx=0}: komorebi::window_manager: focusing monitor
2024-05-27T16:42:36.878710Z INFO process_command{FocusWorkspaceNumber(0)}:focus_workspace{idx=0}: komorebi::window_manager: focusing workspace
2024-05-27T16:42:36.879230Z INFO process_command{FocusWorkspaceNumber(0)}:focus_workspace{idx=0}:focus_workspace{idx=0}: komorebi::monitor: focusing workspace
2024-05-27T16:42:36.887953Z INFO process_command{FocusWorkspaceNumber(0)}:focus_workspace{idx=0}:focus_window{idx=0}: komorebi::container: focusing window
2024-05-27T16:42:36.901505Z INFO process_command{FocusWorkspaceNumber(0)}:focus_workspace{idx=0}:update_focused_workspace{follow_focus=false trigger_focus=true}: komorebi::window_manager: updating
2024-05-27T16:42:36.925552Z INFO process_command{FocusWorkspaceNumber(0)}: komorebi::process_command: processed
from komorebi.
I tried again on my laptop with a fresh install. I closed all the apps from the task manager and I tried again. The same issue happens and my cursor starts flickering. Also, I noticed that all the shortcuts stop working not just ALT + N.
from komorebi.
Error from the log:
2024-05-27T19:22:10.778018Z ERROR process_command{MoveWindow(Right)}:move_container_in_direction{direction=Right}: komorebi: panicked at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6\library\alloc\src\collections\vec_deque\mod.rs:732:9:
assertion failed: j < self.len() panic.file="/rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6\\library\\alloc\\src\\collections\\vec_deque\\mod.rs" panic.line=732 panic.column=9
from komorebi.
After playing around with it I figured out the constraints of the bug.
- Only the second workspace causes the bug, other workspaces work fine.
- The workspace should have only one program.
- Only push to the right produces the bug (ALT + SHIFT + L)
Update:
Third space produces the bug when ALT + SHIFT + J is pressed
from komorebi.
I'm still not able to reproduce this, it looks like your desktop thinks there is another window in that workspace, or a window on a monitor in the selected direction.
Post your config file and an output of komorebic state
immediately before triggering the panic, let's see if there are any clues in there
from komorebi.
Config
{
"$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.25/schema.json",
"app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml",
"window_hiding_behaviour": "Cloak",
"cross_monitor_move_behaviour": "Insert",
"default_workspace_padding": 20,
"default_container_padding": 20,
"border": true,
"border_width": 8,
"border_offset": -1,
"border_colours": {
"single": "#42a5f5",
"stack": "#00a542",
"monocle": "#ff3399",
"unfocused": "#808080"
},
"stackbar": {
"height": 40,
"mode": "OnStack",
"tabs": {
"width": 300,
"focused_text": "#00a542",
"unfocused_text": "#b3b3b3",
"background": "#141414"
}
},
"monitors": [
{
"workspaces": [
{
"name": "I",
"layout": "BSP"
},
{
"name": "II",
"layout": "VerticalStack"
},
{
"name": "III",
"layout": "HorizontalStack"
},
{
"name": "IV",
"layout": "UltrawideVerticalStack"
},
{
"name": "V",
"layout": "Rows"
},
{
"name": "VI",
"layout": "Grid"
},
{
"name": "VII",
"layout": "RightMainVerticalStack"
}
]
}
]
}
State
{
"monitors": {
"elements": [
{
"id": 65537,
"name": "DISPLAY1",
"device": "BOE0BB2",
"device_id": "BOE0BB2-4&29af062b&0&UID8388688",
"size": {
"left": 0,
"top": 0,
"right": 1920,
"bottom": 1200
},
"work_area_size": {
"left": 0,
"top": 0,
"right": 1920,
"bottom": 1200
},
"work_area_offset": null,
"window_based_work_area_offset": null,
"window_based_work_area_offset_limit": 1,
"workspaces": {
"elements": [
{
"name": "I",
"containers": {
"elements": [
{
"id": "p2dnhYZZYvpk0IpOn0tQY",
"windows": {
"elements": [
{
"hwnd": 1051030,
"title": "Quran Tab and 24 more pages - Personal - MicrosoftÔÇï Edge",
"exe": "msedge.exe",
"class": "Chrome_WidgetWin_1",
"rect": {
"left": 47,
"top": 47,
"right": 886,
"bottom": 1106
}
}
],
"focused": 0
}
},
{
"id": "4D5MgGGYRbusueGDxcogF",
"windows": {
"elements": [
{
"hwnd": 67300,
"title": "omar_7ioo@omar7ioo: ~/code/github/toplu-ekle-cli",
"exe": "WindowsTerminal.exe",
"class": "CASCADIA_HOSTING_WINDOW_CLASS",
"rect": {
"left": 987,
"top": 47,
"right": 886,
"bottom": 1106
}
}
],
"focused": 0
}
}
],
"focused": 1
},
"monocle_container": null,
"maximized_window": null,
"floating_windows": [],
"layout": {
"Default": "BSP"
},
"layout_rules": [],
"layout_flip": null,
"workspace_padding": 20,
"container_padding": 20,
"latest_layout": [
{
"left": 47,
"top": 47,
"right": 886,
"bottom": 1106
},
{
"left": 987,
"top": 47,
"right": 886,
"bottom": 1106
}
],
"resize_dimensions": [
null,
null
],
"tile": true
},
{
"name": "II",
"containers": {
"elements": [
{
"id": "Bw0KQwmrdgh_BLofFoc1z",
"windows": {
"elements": [
{
"hwnd": 396142,
"title": "Windows PowerShell",
"exe": "WindowsTerminal.exe",
"class": "CASCADIA_HOSTING_WINDOW_CLASS",
"rect": {
"left": 47,
"top": 47,
"right": 1826,
"bottom": 1106
}
}
],
"focused": 0
}
}
],
"focused": 0
},
"monocle_container": null,
"maximized_window": null,
"floating_windows": [],
"layout": {
"Default": "VerticalStack"
},
"layout_rules": [],
"layout_flip": null,
"workspace_padding": 20,
"container_padding": 20,
"latest_layout": [
{
"left": 47,
"top": 47,
"right": 1826,
"bottom": 1106
}
],
"resize_dimensions": [
null
],
"tile": true
},
{
"name": "III",
"containers": {
"elements": [
{
"id": "D0PPnTdIXWVhM6UPhh50f",
"windows": {
"elements": [
{
"hwnd": 196864,
"title": "Chrome Remote Desktop - Remote Access - Chrome Remote Desktop",
"exe": "msedge.exe",
"class": "Chrome_WidgetWin_1",
"rect": {
"left": 47,
"top": 47,
"right": 1826,
"bottom": 1106
}
}
],
"focused": 0
}
}
],
"focused": 0
},
"monocle_container": null,
"maximized_window": null,
"floating_windows": [],
"layout": {
"Default": "HorizontalStack"
},
"layout_rules": [],
"layout_flip": null,
"workspace_padding": 20,
"container_padding": 20,
"latest_layout": [
{
"left": 47,
"top": 47,
"right": 1826,
"bottom": 1106
}
],
"resize_dimensions": [
null
],
"tile": true
},
{
"name": "IV",
"containers": {
"elements": [
{
"id": "qkHtC9Jul8hq9zK-0oPXk",
"windows": {
"elements": [
{
"hwnd": 68318,
"title": "Training Program",
"exe": "Notion.exe",
"class": "Chrome_WidgetWin_1",
"rect": {
"left": 47,
"top": 47,
"right": 1826,
"bottom": 1106
}
}
],
"focused": 0
}
}
],
"focused": 0
},
"monocle_container": null,
"maximized_window": null,
"floating_windows": [],
"layout": {
"Default": "UltrawideVerticalStack"
},
"layout_rules": [],
"layout_flip": null,
"workspace_padding": 20,
"container_padding": 20,
"latest_layout": [
{
"left": 47,
"top": 47,
"right": 1826,
"bottom": 1106
}
],
"resize_dimensions": [
null
],
"tile": true
},
{
"name": "V",
"containers": {
"elements": [],
"focused": 0
},
"monocle_container": null,
"maximized_window": null,
"floating_windows": [],
"layout": {
"Default": "Rows"
},
"layout_rules": [],
"layout_flip": null,
"workspace_padding": 20,
"container_padding": 20,
"latest_layout": [],
"resize_dimensions": [],
"tile": true
},
{
"name": "VI",
"containers": {
"elements": [],
"focused": 0
},
"monocle_container": null,
"maximized_window": null,
"floating_windows": [],
"layout": {
"Default": "Grid"
},
"layout_rules": [],
"layout_flip": null,
"workspace_padding": 20,
"container_padding": 20,
"latest_layout": [],
"resize_dimensions": [],
"tile": true
},
{
"name": "VII",
"containers": {
"elements": [],
"focused": 0
},
"monocle_container": null,
"maximized_window": null,
"floating_windows": [],
"layout": {
"Default": "RightMainVerticalStack"
},
"layout_rules": [],
"layout_flip": null,
"workspace_padding": 20,
"container_padding": 20,
"latest_layout": [],
"resize_dimensions": [],
"tile": true
}
],
"focused": 1
},
"last_focused_workspace": 0,
"workspace_names": {}
}
],
"focused": 0
},
"is_paused": false,
"resize_delta": 50,
"new_window_behaviour": "Create",
"cross_monitor_move_behaviour": "Insert",
"unmanaged_window_operation_behaviour": "Op",
"work_area_offset": null,
"focus_follows_mouse": null,
"mouse_follows_focus": true,
"has_pending_raise_op": false
}
from komorebi.
New constraint:
VerticalStack -> ALT + SHIFT + l breaks it
HorizontalStack -> ALT + SHIFT + j breaks it
from komorebi.
Should be fixed here ^
from komorebi.
Related Issues (20)
- [FEAT]: Dynamic `window_container_behaviour` support?
- [BUG]: `toggle-maximize` cannot return to stacked list
- [BUG]: Sometimes `whkd` is broken
- Using the same shortcut for 'focus right window' and 'focus next workspace' if there is no right window to focus to HOT 2
- [whkd]: whkd automatic stop when used in auto-enable for an hour of usage
- [BUG]: border not visible with cli commands
- [BUG]: Border appears on top of popups and other windows HOT 1
- [FEAT]: Single Window is Stretched Too Wide to be easy to use HOT 3
- [BUG]: display_index_preferences prevents komorebi from starting HOT 7
- [FEAT]: Ability to customize background color per workspace / monitor
- [BUG]: Container persists after minimizing window with minimum_window_height set
- [BUG]: Documented layout behavior doesn't match actual behavior HOT 1
- [BUG]: focus follows mouse breaks append container behaviour
- [BUG]: `alt + q` on desktop will cause a serious bug HOT 2
- [BUG]: Alt+Tab to bring up a minimised window gives it a border but not focus
- Cisco Secure Endpoint alarms about access to lsass.exe HOT 3
- [FEAT]: Allow changing of window position in stack
- [BUG]: Floating Winodow Loses Focus upon Return To Workspace
- Komorebi fails on start if any window with administrative rights is running
- [FEAT]: Remember a window's workspace and monitor when the monitor configuration is changed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komorebi.