vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
812 stars 129 forks source link

Java Chromium Embedded render failure due to spaces in path #896

Open d108 opened 3 years ago

d108 commented 3 years ago

Problem description

With Markdown Navigator Enhanced v3.0.202.112 on macOS, files containing spaces in their paths either do not render or render as plain text using the Java Chromium Embedded (JCEF) preview browser.

Additionally, enabling JCEF previews in the plugin somehow breaks the color selecting control used throughout the IDE. When choosing a color, it starts flashing and then disappears. This problem happens while previewing a file containing spaces in its path.

Steps to reproduce

  1. Set the preview browser to Java Chromium Embedded.
  2. Preview a file having spaces in its path.
  3. Attempt to change a color under Color Scheme.

Expected result

Previews render correctly, and color selection is unaffected.

dodocoera commented 3 years ago

Preview a file having Chinese in its path also show nothing

"example_中文.md"

if no Chinese in its path, but having in content, it will display garbled code. so sad.

rhacer63 commented 3 years ago

I'm so glad to see this issue. I was trying to figure out why Chromium Embedded was working so well with one of my documents and completely failing on another.

interfrastic commented 3 years ago

Spaces and non-ASCII characters in paths are fairly common on macOS…is this going to be fixed any time soon? Normally I would not ask these kinds of questions about an open-source project unless I had a pull request of my own to submit, but as a paying subscription customer I had somewhat higher expectations for maintenance and support.