Fruchtzwerg94 / PlantUmlViewer

A Notepad++ plugin to generate, view and export PlantUML diagrams
MIT License
83 stars 9 forks source link

[BUG] Plugin breaks npp 8.5.5 #13

Closed DenoBeno closed 1 year ago

DenoBeno commented 1 year ago

Description After installing the plantUML plugin, npp 8.5.5 doesn't start.

Reproduction Steps to reproduce the behavior:

  1. Install npp 8.5.5
  2. install plantUML plugin

Expected behavior After the plugin installation notepad++ doesn't start anymore

Screenshots not applicable. notebook++simply doesn't start at all

Environment

Additional information

The problem is related to java path. I was able to resolve it by instaling npp8.5.4. Installing plantUML viewer doesn't break this version of notepad++ After configuring the javapath in plantUML viewer plugin, I was able to upgrade npp to version 8.5.5 (currently the latest one) and everything still works. Hope this helps.

Fruchtzwerg94 commented 1 year ago

Hi @DenoBeno

sorry to hear that you are facing some troubles with the plugin and thanks for your very detailed bug report. I've tried to reproduce your issue by doing the following steps on Win10:

  1. Downloaded, extracted and started the latest version of Notepad++ portable
  2. Installed the plugin via the Plugin manager
  3. Restarted Notepad++

Unfortunately, I was not able to reproduce the issue doing these steps.

After that, I've stepped over to a Win11 machine where the error seems to occur. Intresting ... But I am going to have a look at it.

BR, Philipp

Fruchtzwerg94 commented 1 year ago

After investigation of the issue, I was able to track the problem down to an activated safety feature in Notepad++ which mainly impacts Windows 11 devices.

See the following discussions for detailed information and background:

Finally, this Notepad++ commit was created to fix this issue in further Notepad++ versions.

Thanks @DenoBeno for reporting this problem and your valuable details about it.