Comments (6)
Seems perfect to me. Problem fixed!
from komorebi.
Thank you for this detailed report! I have just spent some time trying to reproduce this issue but I have not been successful.
Could you please share the komorebi.ahk
you are using and also your Windows version (Get-ComputerInfo | select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer
)?
From the logs, I have traced down the Access is denied
error to here, which is called when trying to focus the special Desktop Window when a workspace is empty. I have pushed a branch that addresses this error; it would be great if you could try that and see if it changes the behaviour you are experiencing.
from komorebi.
I think I found the panic 🎉
Message: attempt to divide by zero
Location: komorebi-core\src\layout.rs:144
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 9 frames hidden ⋮
10: core::panicking::panic<unknown>
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633\/library\core\src\panicking.rs:50
11: komorebi_core::layout::Layout::calculate::ha406458b4d9a304c
at <unknown source file>:<unknown line>
12: komorebi::workspace::Workspace::update::h65bf8870d2c92ead
at <unknown source file>:<unknown line>
13: komorebi::window_manager::WindowManager::init::h07c7d42875dc4c52
at <unknown source file>:<unknown line>
14: komorebi::window_manager::WindowManager::restore_all_windows::h6966c89d55a8aaff
at <unknown source file>:<unknown line>
15: tracing_core::event::Event::metadata::h548cc0816da38c47
at <unknown source file>:<unknown line>
16: komorebi::process_command::<impl komorebi::window_manager::WindowManager>::read_commands::h9a03c573b27a0fe7
at <unknown source file>:<unknown line>
17: std::sys_common::backtrace::__rust_begin_short_backtrace::h225ab8fda49906c4
at <unknown source file>:<unknown line>
18: <&T as core::fmt::Debug>::fmt::hf247fbb9ac06d8b6
at <unknown source file>:<unknown line>
19: alloc::boxed::{{impl}}::call_once<unknown>
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633\library\alloc\src\boxed.rs:1575
20: alloc::boxed::{{impl}}::call_once<unknown>
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633\library\alloc\src\boxed.rs:1575
21: std::sys::windows::thread::{{impl}}::new::thread_start<unknown>
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633\/library\std\src\sys\windows\thread.rs:56
22: BaseThreadInitThunk<unknown>
at <unknown source file>:<unknown line>
23: RtlUserThreadStart<unknown>
at <unknown source file>:<unknown line>
@crosstyan Don't worry about trying out that branch that I linked, it won't do anything for this issue. I will work on a separate fix for this.
from komorebi.
My output from Get-ComputerInfo | select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer
WindowsProductName WindowsVersion OsHardwareAbstractionLayer
------------------ -------------- --------------------------
Windows 10 Pro 2009 10.0.22000.1
the ahk
file is the same as this sample.
By the way, I'm using a desktop organize software called fences, which I think is related to the problem.
Thank you again for helping solve this problem.
from komorebi.
I confirmed that Stardock Fences caused that problem. When I disable Fences, everything runs smoothly.
I have to admit compatibility is tricky to deal with, but maybe it's still worth investigating what caused that incompatibility.
Update: the problem is still existing, but I can switch to an empty workspace and switch back now, but moving to a workspace still cause the problem. (still using the old commit)
from komorebi.
@crosstyan I believe this bug should now be fixed with this commit: a53b2cc
Please pull the latest commit on master
(which also now includes panic messages in the logs!) and try it out. I hope it fixes the issue for you 🤞 .
from komorebi.
Related Issues (20)
- [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 7
- [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
- BUG? Microsoft Outlook, "Reminders Window" HOT 3
- [BUG]: StartsWith Matching_Strategy breaks but only on Twitter.com HOT 2
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.