1. IDE crash working with ListViews

Hi Judith,

I hope you are reading the forum and open to a request for a bug fix. I'm using
IDE 1.0.3b which is bound against win32lib v0.70.4. I've been getting fairly
regular crashes whilst working with ListViews, the crash displays the following
error:

	Error code 472
	getRect:GetWindowRect failed

	Win32Lib v0.70.4 15-Mar-2008Runtime error (Traceback unavailable)

I've not figured out the exact sequence of events that lead to this crash,
however I have found a reproducible sequence of events that leads to a similar
crash. Here are the steps:

 1) Open the IDE (i.e. New Project)
 2) Using the Toolbar choose Selection -> Listview
 3) Click inside Window1 to create ListView2
 4) Right click on ListView2 -> List View Styles Explorer
 5) Tick Single Select
 6) Tick Single Click Activate
 7) Click "Transfer to Properties"
 8) Right click on ListView2 -> List View Styles Explorer
	NOTE: "Single Click Activate" is no longer ticked
 9) Tick Single Click Activate
10) Click "Transfer to Properties"
11) Right click on ListView2 -> List View Styles Explorer
	NOTE: "Single Click Activate" is no longer ticked
12) Untick "Single Select"
13) Click "Transfer to Properties"
14) Right click -> List View Styles Explorer
15) Tick Single Click Activate
16) Click "Transfer to Properties"
17) The IDE now crashes with 
	Error code 477
	destroy:Menu failed

	Win32Lib v0.70.4 15-Mar-2008


So there's a bug here with remembering the "Single Click Activate" setting as
well as the two types of crash.

Please let me know if I can provide any further information.

Cheers,
Mark

new topic     » topic index » view message » categorize

2. Re: IDE crash working with ListViews

marky1124 wrote:
> 
> Hi Judith,
> 
> I hope you are reading the forum and open to a request for a bug fix. I'm
> using
> IDE 1.0.3b which is bound against win32lib v0.70.4. I've been getting fairly
> regular crashes whilst working with ListViews, the crash displays the
> following
> error:
> 
> 	Error code 472
> 	getRect:GetWindowRect failed
> 
> 	Win32Lib v0.70.4 15-Mar-2008Runtime error (Traceback unavailable)
> 
> 
> So there's a bug here with remembering the "Single Click Activate" setting as
> well as the two types of crash.
> 
> Please let me know if I can provide any further information.
> 
> Cheers,
> Mark

Yes, there are windows in IDE that are crashing with getRect:GetWindowRect
failed. What is happening is that I thought I was being clever to destroy and
recreate windows. What I did is at the top of many window's createEx statements I
added a statement "if 'name of window' = -1 then" followed by the createEx
statments and end if. Later when the user closed the window I destroyed it and
set the 'name of window' to -1. This has turned out to be not suce a bright idea
and I am gradually changing IDE. What I have been doing is removing the if
'window name' = -1 statements and finding the associated destroy statement and
removing it as well as the following 'window name' = -1 statement.

I was hoping to have everything ready to release in May except there is an
enhancement to Code Editor that does not play with the test version of Win32lib
but does work fine with the Mar-15 version. Until that is worked out I can not
release IDE unless I temporarily remove the new feature which I don't want to do.
I don't know what change from the Mar 15 win32lib to the testing Win32lib may be
affecting the feature.

I didn't know about the bug remembering the "Single Click Activate" setting.
I'll fix that as well; thanks.

What I am leading up to is I have no idea when IDE will be next released.

judith

new topic     » goto parent     » topic index » view message » categorize

3. Re: IDE crash working with ListViews

Judith Evans wrote:
> 
> marky1124 wrote:
> > 
> > Hi Judith,
> > 
> > I hope you are reading the forum and open to a request for a bug fix. I'm
> > using
> > IDE 1.0.3b which is bound against win32lib v0.70.4. I've been getting fairly
> > regular crashes whilst working with ListViews, the crash displays the
> > following
> > error:
> > 
> > 	Error code 472
> > 	getRect:GetWindowRect failed
> > 
> > 	Win32Lib v0.70.4 15-Mar-2008Runtime error (Traceback unavailable)
> > 
> > 
> > So there's a bug here with remembering the "Single Click Activate" setting
> > as
> > well as the two types of crash.
> > 
> > Please let me know if I can provide any further information.
> > 
> > Cheers,
> > Mark
> 
> Yes, there are windows in IDE that are crashing with getRect:GetWindowRect
> failed.
> What is happening is that I thought I was being clever to destroy and recreate
> windows. What I did is at the top of many window's createEx statements I added
> a statement "if 'name of window' = -1 then" followed by the createEx statments
> and end if. Later when the user closed the window I destroyed it and set the
> 'name of window' to -1. This has turned out to be not suce a bright idea and
> I am gradually changing IDE. What I have been doing is removing the if 'window
> name' = -1 statements and finding the associated destroy statement and
> removing
> it as well as the following 'window name' = -1 statement.
> 
> I was hoping to have everything ready to release in May except there is an
> enhancement
> to Code Editor that does not play with the test version of Win32lib but does
> work fine with the Mar-15 version. Until that is worked out I can not release
> IDE unless I temporarily remove the new feature which I don't want to do. I
> don't know what change from the Mar 15 win32lib to the testing Win32lib may
> be affecting the feature.
> 
> I didn't know about the bug remembering the "Single Click Activate" setting.
> I'll fix that as well; thanks.
> 
> What I am leading up to is I have no idea when IDE will be next released.
> 
> judith

I expect to release 70.4a around june 15 or 20, after the current work on 4.0
pre alpha is done. This will give me a chance to look into this and Andy's FList
issue. There seems to be an urgency to get the alpha out, so it is currently
getting top priority after RL.

Judith: Could you email the problem to cchris005 hat fastmail doubt fm ? My
usual addr is choking full with the devlist activity, guess I'll have to change
my SF address binding.

CChris

new topic     » goto parent     » topic index » view message » categorize

4. Re: IDE crash working with ListViews

Thank you very much Judith for all the information and the fixed version of
IDE_ListViewStyles.ew. It's certainly fixed the bug linked to remembering the
"Single Click Activate" setting, and I've been unable to reproduce the crash, so
that's looking very hopeful.

That's amazingly quick work thank you very much.

I do have a 2nd potential bug, although it may be a restriction, with the the
ListView functionality. I'll start another thread to discuss.

Cheers,
Mark

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu