Fruchtzwerg94 / PlantUmlViewer

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

Resizing Viewer causing not responding #11

Closed BHMath closed 1 year ago

BHMath commented 1 year ago

Description When I drag the preview window to detach it from the main window it's ok, but as soon as I try to resize it right after npp is not responding. I can't have on one screen my text and on the oter the preview in fullscreen

Solution npp should not crash

Alternatives I only keep the preview within the main window

Additional information Is there any log somewhere I can give you ? I'm using a Portable version of npp

Fruchtzwerg94 commented 1 year ago

Hi @BHMath ,

definitively not how it should work. Thanks for reporting it. Which version of the plugin are you using?

BHMath commented 1 year ago

I forgot to mention the version. I'm using version 1.5.0.9 so the latest i think

Fruchtzwerg94 commented 1 year ago

This seems to be a tricky one since its related to unexpected behaviour in Windows. It is also mentioned here and affects basically all Notepad++ plugins implemented with .NET and Windows forms.

Anyway, I've found a way to prevent the issue for me, maybe this also works for you. Please try the latest build which includes the fix. Let me know if this solves the issue for you as well.

BR, Philipp

BHMath commented 1 year ago

Nicely done ! it seems to be working indeed. Thanks !

Fruchtzwerg94 commented 1 year ago

Thanks for your response. The change will be part of the next release.