microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
https://microsoft.github.io/XmlNotepad/
MIT License
966 stars 206 forks source link

Sugg: Clear message for long XSLT-Transform #382

Closed Pierre-de-la-Verre closed 2 months ago

Pierre-de-la-Verre commented 2 months ago

When I start a XSLT-transform with e.g. 50MB input, then I see ..

So if you add a message / dialogue / status bar info or something else with " Started transformation on 11:34:23, wait until final message" .... the user will now what is going on.

Chris - have a fine weekend!

lovettchris commented 2 months ago

Great suggestion, thanks.

lovettchris commented 2 months ago

I added a progress dialog with a cancel button in these commits and this one in case you want to try it:

image

The progress only pops up if it takes more than 1 second and the cancel is not perfect, the cancel can only cancel when the transform starts reading input or writing output, but I notice some transforms spend a lot of time doing calculations internally before writing anything so you can still see a pause between the time you try and cancel and when it actually cancels.

lovettchris commented 2 months ago

Fixed in https://github.com/microsoft/XmlNotepad/releases/tag/2.9.0.9