Hi Nicholas,
sorry for my English, maybe a missunderstanding here, so, please, read carefully and forgive me:
1 - When the Restoration begin I have to click on "Run the site restoration script" or I can accidentally click on "Control Panel" (a mistake, it happened to me hahaha ) - image 1
2 - Clicking "Run the site restoration script", the normal way, we are agree, a new browser window is opened and when the restoration has finished I have to close that window and delete the installation files in the old window - image 2
3 - If I accidentally click, a mistake, on "Control Panel" (this should be valid for any button) the restoration start on the same browser window and at the end of the process I have the "Remove the installation directory" green button on the bottom - image 3
A - Now, my first suggestion was/is to have the same behaviour, pages, buttons, process on both cases (2 and 3), I mean: b]the restoration start on the same browser window[/b] or the restoration start opening a new browser window.
B - I think we are agree that a "binary" (software) process have to be always most safer as possible, something like stupid-proof (in this case I'm been the stupid).
So, following the normal way (case 2) a new browser window is opened and it mean that during the Restoration process I can always click and surf on the first joomla broswer window tab and click on "Finalise the Restoration" (that should "Remove the installation Directory").
I made some tests creating this unlikely, but possible, situation: clicking on "Finalise the Restoration" in the first window browser tab during the "Database Restoration" in the second window browser tab. The result:
The first browser window tab, the Joomla one, always logout me from the administrator backend, but logically only a part of the Database has been yet overwritten = not all DB datas are Restored.
On one test Admin Tools loose all its configurations like if it was a new installation.
While the "Database Restoration" second browser windowtab simply show the error messsage:
HTTP Request Error
HTTP Status: 500 (Internal Server Error)
Internal status: error
XHR ReadyState: 4
Raw server response:
My second suggestion would be to start the restoration on the same browser window also for the case 2, the normal way, like it happen yet in the case 3.