Page 1 of 1

PB Crash while editing Form or Gadget Properties in Form Designer

Posted: Tue Aug 09, 2022 2:29 pm
by Andrew_Owens
I was tweaking the positioning of the gadgets on a form to get it to look nice when everything disappeared, unfortunately! :cry:

System: Windows 7 Ultimate (still get security updates) i7-4820K, PureBasic 6.00 LTS (Windows - x64)

PureBasic verson & error:
"An Error has been detected in the IDE! Error: Invalid memory access"
IDE build on 06/24/2022 [15:21] by Fred
Branch: v6.00 Revision: 0777fa758318

This Bug does not require any code. To replicate it:

1. From the drop down menu, select "New Form". (Note: There was no other code associated with the Form.)
2. Place Gadget(s) on the form, or use just a blank Form. (Tested this with Forms, & several gadgets. It probably occurs with all gadgets.)
3. Place the cursor in any of the Properties or Layout edit boxes. (Especially, but not necessarily if there is a "selection".)
4. Press F5 to view your Form (window). Close the window.
5. Typing a number or any text will cause an Exception! (Hmm.. "space bar" doesn't seem to be a problem.)

I've tried this 50 times or more with the same result...
Please comment if you can verify this.. Thanks.

Re: PB Crash while editing Form or Gadget Properties in Form Designer

Posted: Tue Aug 09, 2022 3:35 pm
by Kiffi
Confirmed

Re: PB Crash while editing Form or Gadget Properties in Form Designer

Posted: Tue Aug 09, 2022 3:57 pm
by Marc56us
Yes,
But this problem (not a bug) is well known and has been discussed for a long time (as well as its solution)

When you start to edit a value (or simply place the cursor on a field (right column)), you must then validate before previewing (F5)

To validate, just click on any label (left column)

The FD switches between reading and writing the code to fill/read Properties, manually (by menu) or by F5
An input field must not remain locked in edit mode during this time (i.e. the cursor must not remain on it (right column of Properties))

:wink:

Re: PB Crash while editing Form or Gadget Properties in Form Designer

Posted: Tue Aug 09, 2022 4:03 pm
by Kiffi
@Marc56us: I disagree that this is not a bug. The IDE should not crash.

Re: PB Crash while editing Form or Gadget Properties in Form Designer

Posted: Wed Aug 10, 2022 3:04 am
by Rinzwind
Obviously it is a crashing bug. Any user inout should not be able to crash the program, even more so in a dev environment.