mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Window not becoming opaque when focused with mouse if monocle mode is enabled #592
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LelouBil on GitHub (Mar 27, 2025).
Summary
I have two monitors, and I enabled transparency for unfocused windows.
I am using masir to make the focus follow my mouse.
If I enable monocle mode on my primary monitor, the window is focused and fully opaque.
When I drag my mouse to my second monitor, the window become unfocused and transparent because of masir.
When I drag my mouse back on my primary monitor, the window becomse focused but still transparent
When I use keybinds to switch focus everything works fine.
I tested it with Firefox being the application that was stuck transarent
Version Information
OS name: Microsoft Windows 11 Professionnel
OS version: 10.0.26100 N/A build 26100
komorebic 0.1.35
tag:v0.1.35
commit_hash:992bc2ab
build_time:2025-03-22 17:41:57 +00:00
build_env:rustc 1.85.1 (4eb161250 2025-03-15),stable-x86_64-pc-windows-msvc
Komorebi Configuration
Hotkey Configuration
Output of komorebic check
@LGUG2Z commented on GitHub (Mar 27, 2025):
If this is only happening when using
masirthen this might be a bug in howmasirhandles multi window applications 🤔@LelouBil commented on GitHub (Mar 27, 2025):
I am not sure if the problem is with masir or komorebi, but what made me file the issue for komorebi is the fact that the window is focused when hovering the mouse so it seems that masir is doing its job correctly. It's just that the window is still transparent
@Surnyy commented on GitHub (Apr 3, 2025):
Can confirm, have experienced a similar issue when focusing monocle'd windows with the mouse. They do focus, but stay transparent as if they aren't. Not using masir btw so it's most likely a komorebi issue. Windows focus fine if focused via hotkey.
@LGUG2Z commented on GitHub (Apr 4, 2025):
Next steps would be to keep komorebi running in the foreground (or tail the logs) and share the relevant logs from whenever you see this issue reproduced in the absence of any reproducible repro steps
@LelouBil commented on GitHub (Apr 4, 2025):
I just did it, there are no logs added when focusing a monocle mode window using the mouse, it's like komorebi doesn't know about the focus change at all.
Here are the logs added when focusing a monocle mode window with the mouse :
And here are logs when focusing a monocle mode window with keybindings/komorebic :
@LGUG2Z commented on GitHub (Apr 4, 2025):
I don't see this as something I'll be looking at actively, mainly because I can't reproduce it independently, and also because transparency is not really a Tier 1 feature (i.e. you can just turn it off and you still have full tiling window manager functionality) - but I can help guide an investigation in this thread by anyone who wants to dig deeper, add their own trace logs etc.
@Tharpadarp commented on GitHub (Jul 21, 2025):
I am also having this issue, happens on any program. I have had this with and without using masir, so it's definitely not that. Unless just having it installed messes with it, as I have had it installed ever since I started using komorebi. I suppose I am using Cairo Desktop, though I'm not sure if that would affect anything here. Could this be related to having multiple monitors?