-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Komorebi causes flickering in 2024 JetBrains IDEs #781
Comments
This is either Windows compositor bug or a JetBrains rendering bug; if you open tickets with either MS or JetBrains please link them here for tracking. |
I don't know enough about the inner workings of these systems to make a proper report to either, so I'll leave that to someone else. Two other things to note are that 2023 and older IDEs are fine, and the flickering isn't as bad in person as they are in the recording (recorded with AMD Adrenalin), but it's still very much present and quite distracting. |
do you get the flicker if you turn off the active window border? |
I do, yes. |
i used to use pycharm and i remember it had flickering issue in some situations (without komorebi). Maybe it is worth it to ask in their community forum too. |
Hi @Insprill, I am sorry to hear that you are dealing with this issue too. My main issue was heavy flickering whenever I opened a context menu or used Ctrl + Tab to switch files. I have been trying a lot of workarounds from other posts on Jetbrains flickering and none of them really worked. However, I found something that for me seems to solve the flickering, hopefully it works for you too. For your info, I am running the following setup:
My solution involved switching to a different Java JDK to run PyCharm. By default, it was running on a bundled version (17). I installed the latest Java JDK from the official website (version 22.0.1) and selected it as follows:
In this window open drop-down Hopefully this process works similarly in other JetBrains IDEs. Note that it is not a perfect fix, at least for me the 'active window border' still flickers whenever I open a context menu or switch files, but at least the main window stays stable (which makes it much less distracting). Please let me know if this works for you. |
Yup, this indeed worked for me! It appears to be an issue with their runtime. I tested with Adoptium and Graal 17 and 22, and it isn't present in either, but it's present in all versions of their runtime listed in the IDE (17 and 21). I created an issue on their runtime repo for it - hopefully, something will come of it. Thank you for the workaround in the meantime! |
Can you link the JetBrains ticket here as well please? 🙏 |
GitHub shows it in the history just above my comment, but here it is as well: |
Ah thanks! I was looking on my phone and all the old comments were folded away 😅 |
I re-created the issue on YouTrack - I'm not sure why they have GitHub issues enabled as it looks like they don't check them. |
54c58be this should also improve the situation |
I tested this all day (since it was committed), and I haven't noticed any flickering! |
Tentatively going to close this as the flickering is gone even without the use of a custom runtime 🤞 |
Tested it too, works perfectly now with the default runtime. Thank you so much! |
Describe the bug
When Komorebi is running, it causes the 2024 edition JetBrains IDEs (reproducible with IntelliJ and Rider) to flicker whenever a window event happens, including to other windows.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should not flicker
Screenshots and Videos
komorebi-jetbrains-flicker.mp4
Operating System
komorebic check
OutputAditional Context
I'm using Komorebi built from 740cb3c
The text was updated successfully, but these errors were encountered: