question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JCEF Preview not rendered on Windows 10

See original GitHub issue

The preview is not rendered in real time even for simple asciidoc files. This issue started a few weeks ago, but I can’t be sure if it started right from the 2020.1 release of Intellij or sometime later.

The PDF or HTML export and other functions work just fine, but the preview is never rendered. On the IDE logs (idea.log) I find this line every time I open an adoc file:

2020-09-01 17:08:41,437 [5973502]   WARN - tor.jcef.AsciiDocJCEFHtmlPanel - rendering didn't complete in time, might be slow or broken 

The minimal example is just a new project with an adoc file in it:

image

I have tried multiple things like uninstalling the plugin and cleaning the cache but the problem even persisted after upgrading Intellij from 2020.1 to 2020.2 and currently in 2020.2.1.

AsciiDoc Plugin Version: 0.31.20

IDE Name and Version: IntelliJ IDEA 2020.2.1 (Ultimate Edition) Build #IU-202.6948.69, built on August 24, 2020 Licensed to *************** Subscription is active until **************** Runtime version: 11.0.8+10-b944.31 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1949M Cores: 8 Registry: compiler.automake.allow.when.app.running=true Non-Bundled Plugins: JMeter plugin, Lombook Plugin, net.ashald.envfile, org.sonarlint.idea, MavenRunHelper, ru.adelf.idea.dotenv, org.asciidoctor.intellij.asciidoc

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ahus1commented, Oct 4, 2020

Thank you for testing this again. I promoted 0.31.33 to a regular release and it is now rolling out to all users.

I opened an upstream issue https://youtrack.jetbrains.com/issue/IDEA-252128 as this affects other plugins as well; let’s see how this is handled upstream.

1reaction
ahus1commented, Sep 12, 2020

Thank you for sending the log file. I searched it for clues, but haven’t found a clue yet. I tested it locally with Windows 10, also a second screen, but wasn’t able to reproduce the issue you experienced.

When I run my IDE on windows, I see some JCEF helper processes. Do you see them as well (or do you see error messages related to them)?

image

I noticed that you have a non-ASCII home directory: “C:\Users\AndréGomes”. Now and then I’ve seen errors with JRuby (see here), but this doesn’t affect your preview. And you reported your preview works find with JavaFX.

As you experienced problems with the Markdown plugin, it might suffer the from the same cause. May I suggest you open an issue with JetBrains describing your problems with the Markdown plugin? If there’s a bug within JCEF, and if they find and fix it for Markdown, they will fix it for the AsciiDoc plugin as well. Please post the link to the issue in this ticket so people can upvote it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JCEF preview stays blank when installation folder contains ...
Install IntelliJ in a folder with non-ASCII-characters on a Windows 10 machine; Open a Markdown file. What is the expected result? Preview should...
Read more >
Markdown plugin for IntelliJ not showing preview
This option disables GPU acceleration for the browser component (JCEF) which seems to fail on your hardware for some reason.
Read more >
Markdown plugin (always) crashes on Android Studio 4.1 (as ...
The settings for markdown plugin are available, but states: "There are no available preview providers." and no rendering possible.
Read more >
Blurry preview when using JavaFX - IntelliJ AsciiDoc Plugin
Change to JCEF preview; Configure option sun.java2d. ... Operating System Windows 10, ... For Windows users: Reinstall IDE with JetBrains Runtime 11.
Read more >
Markdown plugin not working : r/IntelliJIDEA - Reddit
md files are displayed as plain text instead of in HTML format. Also the panel is missing to switch between the editor mode...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found