Blank grey screen covering entire IDE after inactivity

I have an issue where, after a few hours of inactivity and completely randomly (does not always happen), a blank grey screen covers the entire PHPStorm window, including the menus, status bar, etc. However, the editor still works behind this veneer! I can type things, open menus, etc. but blindly. Some of the popup hints work, but not others. Moreover, if multiple project windows are open, only some of them might have this problem.

I have seen similar reports, but apparently on those you could still see the main bar, and resizing the window helped. For me it unfortunately does not. Restarting the IDE helps, but the whole point is that this happens at precisely the most sensitive times, when a restart is painful. Speaking of which, it also happens in Rider, WebStorm and maybe IntelliJ (haven't had it open for long lately). I am on Windows 10.

Using the Dracula theme – it might be the culprit according to some reports, but just wanted to hear some feedback from the team. I cannot reliably reproduce this, because it happens after a while, but it occurs on a daily basis.

7 comments
Comment actions Permalink

Hi there,

Does it happen after your PC comes from sleep?

Right now / at a quick glance it looks similar to https://youtrack.jetbrains.com/issue/JBR-4618 (from https://youtrack.jetbrains.com/issue/WI-68714)

1
Comment actions Permalink

Check if the workaround mentioned there helps: 

Manually resize the IDE window or enter/exit the full screen (View | Appearance | Enter / Exit Full screen).

 

3
Comment actions Permalink

Hi, it could be somehow related to sleep, but if I put my computer to sleep myself, and then come back from sleep a minute later, the issue doesn't happen.
Also: Workarounds like resizing, full screen, etc. don't help. It looks like most of the other reports are on Macs, where the windows work differently.

0
Comment actions Permalink

Could you please run Help > Collect Logs and Diagnostic Data and share resulting archive next time this happens? You can upload it to https://uploads.jetbrains.com/ & let me know the upload ID.

 

0
Comment actions Permalink

enter/exit the full screen (View | Appearance | Enter / Exit Full screen)

This helps in my case! Apple mini M1, PhpStorm 2022.3 EAP. But I had the same problem with 2022.2.

0
Comment actions Permalink

Dmitry Tronin

Just got same problem. Easy to reproduce on Macbook Pro 14 M1, Monterey 12.6:
Enter full screen, wait until macbook goes to sleep -> PhpShtorm with black screen.

Upload id: 2022_10_24_Pvx8Q2mjw3TsNvLbFCS3ET (file: PhpStorm2022.2.zip)

PhpStorm 2022.2.3
Build #PS-222.4345.15, built on October 5, 2022
Runtime version: 17.0.4.1+7-b469.62 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.6
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 8
Metal Rendering is ON
Registry:
    undo.documentUndoLimit=1000
    run.processes.with.pty=TRUE
    debugger.valueTooltipAutoShowOnSelection=true
    ide.balloon.shadow.size=15
    ide.images.show.chessboard=true

Non-Bundled Plugins:
    monokai-pro (1.9)
    intellij.webp (222.4345.15)
    dev.pnbarx.idea.treecolor (1.2.2)
    com.jinsihou.react.snippets (1.1.1)
    com.intellij.plugins.macoskeymap (222.4345.14)
    cat.dcat.jbplug.mactabbing (1.1.0)
    com.kalessil.phpStorm.phpInspectionsEA (4.0.7.1)
    intellij.prettierJS (222.4345.14)
    com.intellij.react.css.modules (1.0.1)
    cn.yiiguxing.plugin.translate (3.3.5)

0
Comment actions Permalink

That appears to be a known issue: https://youtrack.jetbrains.com/issue/JBR-4897. It's fixed and the fix will be included in the next major IDE update. Meanwhile please check if following workarounds help: 

  • manually resize the IDE window;
  • enter/exit the full screen (via IDE main menu View | Appearance | Enter / Exit Full screen);
  • or move the IDE window forth and back between displays to force repainting;
2

Please sign in to leave a comment.