microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.

Home Page:https://microsoft.github.io/XmlNotepad/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sugg: Clear message for long XSLT-Transform

Pierre-de-la-Verre opened this issue · comments

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

  • at first nothing
  • then a turning sandclock
  • "(not responding)" as additional information in the program title
  • heavy load on my CPU-monitor
    and I don't know if the software is dead or not ...

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!

Great suggestion, thanks.

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.