PB Crash while editing Form or Gadget Properties in Form Designer

Post bugs related to the IDE here
Andrew_Owens
New User
New User
Posts: 1
Joined: Tue Aug 09, 2022 12:57 pm

PB Crash while editing Form or Gadget Properties in Form Designer

Post 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.
User avatar
Kiffi
Addict
Addict
Posts: 1347
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

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

Post by Kiffi »

Confirmed
Hygge
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

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

Post 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:
User avatar
Kiffi
Addict
Addict
Posts: 1347
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

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

Post by Kiffi »

@Marc56us: I disagree that this is not a bug. The IDE should not crash.
Hygge
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

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

Post 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.
Post Reply