Bug Reports for 17.0beta3 (and some from 16.0.4 and prior)

Sometimes, when creating new templates in the floating tab group, the mouse cursor will get stuck in the Text Select cursor while hovering over dock windows like Inspector and Variables. This seems to happen randomly?

In the floating tab groups title bar, you can no longer select the middle of it to drag/minimize/maximize the window, only the left and right.

This template causes 010 Editor to immediately crash:

const int32 Parameters[2] = {1, 2};
struct Structure(int32 parameters[2] = Parameters) {
	local int32 value0 = parameters[0];
	local int32 value1 = parameters[1];
} structure;

I was also able to crash by spamming F5 to continuously run a template while on the Inspector window. Not sure if this is because of a custom inspector template, but it does not happen on 16.0.4.

And as for some stuff that has existed since 16.0.4 and prior:
This template does nothing:

struct Structure {
	local int32 value = 0;
} structure();

It executes sucessfully, but nothing shows up in the Variables window. There should probably be a warning or error shown in this scenario?

For some reason, the dock windows will sometimes decide to change position, and attempting to reposition them will not save and will revert to the old position upon restarting 010 Editor.

Additionally, sometimes the dock windows that have been enabled will reset. I typically only keep the Inspector, Variables and Output windows enabled, but occassionally find that they have all been enabled again when starting 010 Editor. This might be caused by a crash?

Can you confirm which operating system version you are using?

Graeme
SweetScape Software

Windows 10 21H2, using the 64-bit Portable version of 010 Editor.

The crash in the default arguments should be fixed now in v17.0 beta4 which is available here: 010 Editor - Beta Release. The problem with the template that does not create a variable is much trickier to fix because the ‘structure()’ statement is confusing our parser. We will get this fixed up, but it make take a little while. We tried to replicate the other issues you mentioned with the mouse cursor, spamming F5, and dock windows changing positions, but so far we haven’t been able to replicate any of them. Can you take a look and see if you can give us any steps to get any of these problems? Can you check if they only happen with certain files?

Graeme
SweetScape Software

For the F5 issue, I can reproduce it consistently by doing:

  • Set the custom inspector template to the default one that comes with the Portable version at AppData\Data\Inspector.bt.
  • Press Ctrl + Shift + N to open an empty hex file.
  • Press Templates -> New Template, and then write local int32 value = 0;.
  • Open the Inspector window and select one of the cells. (Column Display Format -> Select by is set to Cells, if that matters)
  • Run the template with F5.

This causes 010 Editor to crash immediately, not even needing to spam F5.

As for the problem with the dock windows changing positions, I unfortunately don’t know how to reproduce it. It always just seems to happen randomly. I also can’t seem to reproduce the mouse cursor issue, though that issue also seemed quite random.

EDIT: I can somewhat consistently get the mouse cursor issue by creating an empty hex file with Ctrl + Shift + N, making a new template, selecting and deleting the auto-generated comments, pasting in the previously crashing template code that was fixed in 17.0beta4, and then running the template. The mouse cursor is then stuck in the Text Select mode when navigating the Variables window.

Can you check if the F5 crash is fixed in v17.0beta5: 010 Editor - Beta Release. We still can’t seem to replicate the mouse cursor issue but we’ll keep trying on some different computers.

Graeme
SweetScape Software

Yes, it seems to be fixed.