maestrith / AHK-Studio

Created with AHK Studio
http://www.maestrith.com
363 stars 68 forks source link

If windows inside AHK Studio are moved, all windows of the application become intangible and error is thrown on next start #231

Closed Gewerd-Strauss closed 3 years ago

Gewerd-Strauss commented 3 years ago

Hello maestrith,

I've now encountered the problem I've mentioned in my last reply on the issue of "Notify". The exact error message is displayed below

WhatsApp Image 2021-03-27 at 10 28 12 Some context now: I usually split my Editor window into two, next to each other, just to have a second file to look up code. Below that, the debug window is located, below which the notes window is located. This is a bad description, so here is a screenshot: https://drive.google.com/file/d/1Q3msT9tTaxHONOihzduWm8yT8M_2qwtq/view?usp=sharing

Now, if one wants to resize the width of the two file-editing windows above the debug window**, it can happen that afterwards, the line to grab both windows becomes intangible. One can then not resize these windows anymore. If one then restarts AHK Studio***, an error is thrown (I think regarding scilexer, but I will give an update containing a direct screenshot once it happens again). Afterwards, it becomes impossible to launch this version of AHK Studio. one cannot replace the ahk-file itself, one cannot replace the scilexer file itself. The only method I have found is to do a complete reinstall of ahk-studio, by removing the entire folder and unzipping the downloaded zip again.

Thank you, ~Gw

maestrith commented 3 years ago

This is caused by an error in the Lib\gui.xml file. There should be a history under Lib\XML Backup\Gui that can get you back up and running. Choose the most recent and if you still get the error go back through the list. If that still doesn't work sadly just delete the file Lib\gui.xml and it will return to stock

Gewerd-Strauss commented 3 years ago

Oh, good to know, thank you. I'll keep that in mind once it happens again. I assume I'll need to rename the backup to remove the timestring before I move it, right?