mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: JetBrains IDE contents get offset until hovered over when running Komorebi #349
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 @Insprill on GitHub (Apr 23, 2024).
Describe the bug
When a JetBrains IDE is tiled with Komorebi, the contents will randomly get offset a few pixels to the left, making editing difficult as code doesn't line up, and characters will sometimes get visually duplicated until the UI updates.
This issue is present in 2023 and 2024 edition IDEs and has been reproducible with IntelliJ and Rider.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
IDE contents should be rendered correctly.
Screenshots and Videos
https://github.com/LGUG2Z/komorebi/assets/52843537/81b57552-d417-4238-a0b8-831c0262b6b3
Operating System
komorebic checkOutputAdditional Context
Possibly related to #781.
@LGUG2Z commented on GitHub (Apr 23, 2024):
I've been dealing with this for as long as I can remember with JetBrains IDEs and komorebi, I'm not 100% sure what triggers it, but lately I've noticed that this almost always starts happening whenever the border hwnd breaks. My own personal workaround for this is unfortunately just
komorebic stop; komorebic start😞@allora commented on GitHub (Apr 24, 2024):
I use multiple displays are different orientations/sizes and its pretty much guaranteed that jetbrains IDEs (notably rider in my case) consistently just get drawn offset and then fix themselves as you use them. This specifically even happens if i dont change workspaces on a monitor, and just navigate between monitors using hot keys.
I have also seen it where my border just eventually vanishes .. turning white first before it does.
Sometimes it comes back tho.
Regardless of border drawing though, rider is always offset if i navigate away from it and back.
@mystery4f commented on GitHub (Apr 24, 2024):
Hello, can you tell me how to make komorebi recognize Intellij? My computer cannot recognize it.
@Insprill @LGUG2Z @allora
@LGUG2Z commented on GitHub (May 13, 2024):
This may possibly improve the content offsets as well:
54c58be858@Insprill commented on GitHub (May 14, 2024):
I had to wait for the border to break to test this, and it just did.
All contents are staying in place! I also tested it with a different runtime, and the contents are no longer getting vertically offset, either.Edit: I spoke too soon. It's better now, but it still happens sometimes. I think it's related to switching workspaces, but I haven't narrowed it down yet.
@Insprill commented on GitHub (May 15, 2024):
After testing this more, switching workspaces is the only time I've seen it happen.
@Insprill commented on GitHub (Jun 19, 2024):
With the recent fixes, I haven't had the border break even once over the last couple of days. Since that was the only time this happened, I'd say this could be closed ❤️