Skip to content

Plugin webview blank after computer wakes up from sleep mode #6110

Closed as not planned

Description

@AfterStories

Before submitting your bug report

Relevant environment info

Win10/mac all have this problem, use intelliJ 2024.1.5

Description

The computer auto into sleep mode when I go to lunch, when I come back, I shake the mouse then screen lights up, continue plugin becomes blank,
(as we all know, if you do not do anything for more than 15 minutes, computer will go into sleep mode.)

content in webview blank under the Continue plugin title

Image

gui react is still running, no any error message in the core dev terminal and the Run Extension terminal

Image

btw, on MacOS, when I drag the intellij window from the laptop screen to the large monitor screen, continue plugin will also become blank.It looks like the IntelliJ window resizes itself when dragged into a monitor with a different resolution, and this behavior causes the WebView to crash.or the JCEF process is stopped when UI reset size ?

I also checked that the OSR setting is enabled by default.

Image

I don't understand kotlin code, but I tried to search code and find the ContinueBrowser.kt file to create the webview ,so are there any related processes that will be stopped when the computer goes to sleep?

When the computer is awakened from sleep mode and the continue button is blank, the IntelliJ log content is as follows:

LOG :
From this log, you can see that at 12:52 noon, I went to have lunch and did not perform any operations, and the computer automatically entered sleep mode
At 13:36, I came back to my computer after lunch, woke it up, and saw that the Continue plugin in IntelliJ was blank.
According to the log content, the UI freezes, and I am prompted to view the log file. However, I find the threadDumps-freeze log path mentioned in the log, which is an empty folder with no content.

2025-07-23 12:52:57,538 [7241337] WARN - #git4idea.branch.GitBranchIncomingOutgoingManager - Can't get outgoing info (git rev-list main failed)
2025-07-23 13:36:25,544 [9849343] INFO - #c.i.d.PerformanceWatcherImpl - UI was frozen for 1569215ms, details saved to C:\Users\hzheng057\Desktop\Code\continue\extensions\intellij\build\idea-sandbox\system\log\threadDumps-freeze-20250723-133619-IC-241.14494.240-1569sec

Activity

  1. added
    ide:jetbrains
    kind:bug
    on Jun 13, 2025
  2. Minishlink commented on Jun 13, 2025

    @Minishlink

    This has been going on for several Continue releases now and is impacting us much. Reproduced in Webstorm 2025.1.2.

  3. AfterStories commented on Jun 16, 2025

    @AfterStories
    Author

    @holger I found someone post same issue about this, FYI
    #5774

  4. AfterStories commented on Jul 23, 2025

    @AfterStories
    Author

    Update

    I encountered this situation again today, and then I checked the run log of IntelliJ ,these are the two most recently generated logs at the log file bottom:

    2025-07-23 12:52:57,538 [7241337] WARN - #git4idea.branch.GitBranchIncomingOutgoingManager - Can't get outgoing info (git rev-list main failed)

    2025-07-23 13:36:25,544 [9849343] INFO - #c.i.d.PerformanceWatcherImpl - UI was frozen for 1569215ms, details saved to C:\Users\hzheng057\Desktop\Code\continue\extensions\intellij\build\idea-sandbox\system\log\threadDumps-freeze-20250723-133619-IC-241.14494.240-1569sec

    From this log, you can see that at 12:52 noon, I went to have lunch and did not perform any operations, and the computer automatically entered sleep mode
    At 13:36, I came back to my computer after lunch, woke it up, and saw that the Continue plugin in IntelliJ was blank.
    According to the log content, the UI was freezes, and it let check the log file threadDumps-freeze. However, I find the threadDumps-freeze log path mentioned in the log, which is an empty folder with no content.

    Image
  5. Patrick-Erichsen commented on Jul 28, 2025

    @Patrick-Erichsen
    Contributor

    Thanks all for the heads up here! cc @exigow

  6. github-actions commented on Oct 27, 2025

    @github-actions
    Contributor

    This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

  7. github-actions commented on Nov 7, 2025

    @github-actions
    Contributor

    This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

  8. AfterStories commented on Feb 3, 2026

    @AfterStories
    Author

    I have to open this issue here, as it was automatically closed due to expiration before.

    Today, I encountered this issue again. I would like to inquire whether anyone from the Continue development team is still monitoring the issues list. If this issue has already been resolved, please inform me of the PR that fixed it or the relevant solution.
    Based on the 1.0.28 version of the continue plugin code, I conducted secondary custom development, solely focusing on adapting the UI to my project without modifying the Kotlin code. However, I frequently encounter this issue: when I minimize the JetBrains IntelliJ IDE window to attend to other matters and do not activate IntelliJ IDE for a period of time (possibly several hours), upon reactivating IntelliJ IDE later, I notice that the continue plugin's webview window changes to blank, with nothing displayed

    I know that version 1.0.28 is from 2025, but I have done a lot of development based on it and cannot directly merge it into the new version. I am also not sure if this issue has been fixed in the new version. If this issue has been noticed and there are any solutions, please kindly inform me. Thank you very much!

    @RomneyDa @Patrick-Erichsen @uinstinct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ide:jetbrainskind:bugstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions