Current line goes black
Answered
I have a specific problem with all JetBrains products. Until now I've tried PyCharm, PHPStorm, IntelliJ IDEA. When program starts everything works OK, but suddenly this happens:

I don't know what triggers it.
And same thing goes for Android Studio.
I would like to know what causes this problem and how to fix it, obliviously I cannot use any JetBrains product or even any product that is somehow related to JetBrains for some reason...
Please sign in to leave a comment.
What is your OS and Java version which IDE uses to run (can be seen in About dialog)? Could relate to issue with video driver. Have you made any upgrades recently? What is your monitor configuration? Attach idea.log after issue happens.
Try switching JDK IDE uses to run (try latest 1.8 locally installed Oracle JDK).
I'm on my laptop. OS is Windows 7. I've downloaded JDK from Oracle as you suggested but it happened again.
idea.log file content
I don't think that there was a time when I didn't have this problem, and I have it with JetBrains products in general.
Looks like I'm not the only one. I've installed IntelliJ today, didn't import any settings. I don't know steps to reproduce this problem, it just happens at random.
Do you use any custom plugins? Have you modified Editor | Color Scheme settings?
No, its fresh install. I just switched from Darcula to IntelliJ theme. Currently I'm updating my drivers...
Right now I'm working on some project in Android Studio, and it happened again.
idea.log
There are like a lot of threadDumps-freeze folders, I don't know if that is relevant.
I'm experiencing same issue when using Darcula.
Why is this marked as answered?
At the moment I do not have specific ideas. For some reason the current caret row (color for which is configured under Color Scheme | General -> Caret row or Default text - btw what do you see there?) UI rendering breaks. What IDEs version do you use? As I understand it happens with any language you are working with (PHP, Python, Java)?
>There are like a lot of threadDumps-freeze folders, I don't know if that is relevant.
Could you please upload them somewhere zipped with all the logs (in IDE log folder) and your File | Export settings... jar? You can use our upload server. Thanks.
Uploaded as "CurrentLineGoesBlack.zip".
I've cleared my log folder this morning, so there isn't too much to see right now.
In the zip file there are
> color for which is configured under Color Scheme | General -> Caret row or Default text - btw what do you see there?
Caret Row: FFFAE3 (Background)
Default Text: Nothing
Problem exists when I use any color theme (Darcula, IntelliJ or Windows). It affects all text fields in the IDE, not just code editor.
> What IDEs version do you use?
IntelliJ IDEA 2018.1.2
> As I understand it happens with any language you are working with (PHP, Python, Java)?
Just name any JetBrains IDE, or any product related to any JetBrains IDE (like Android Studio).
IDEA-191039 or IDEA-105408 may be related. Do you see it only if there are errors on the line (or in the file)?
It doesn't necessarily happens after the build, sometimes it happens a few seconds after program starts. Also, if you look carefully (when "Process finished..." is printed), you may notice that output window is also affected. Now it disappeared after just few seconds, but sometimes I have to restart the program...
If you need more info on my laptop, CPU-Z report: https://pastebin.com/vHT13mGD
Deleting application folder from C:\Users\ and starting fresh doesn't help. Same thing goes for using JDK downloaded from Oracle site.
Such issues are related to lower level (OS) functionality, than IDE itself. It is something between Java and OS graphics. E.g. some video driver or OS update or some new installed application could have triggered the issue. Can you check it with other Java swing apps like NetBeans or JEdit?