Re: Beta 3 crashing reproducably - Mailing list pgadmin-support

From Dave Page
Subject Re: Beta 3 crashing reproducably
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D610@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Beta 3 crashing reproducably  (Erwin Brandstetter <brandstetter@falter.at>)
Responses Re: Beta 3 crashing reproducably  (Erwin Brandstetter <brandstetter@falter.at>)
Re: Beta 3 crashing reproducably  (Erwin Brandstetter <brandstetter@falter.at>)
List pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Erwin Brandstetter
> Sent: 16 October 2006 02:08
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Beta 3 crashing reproducably
>
> Hi developers!
>
> I am testing pgAdmin III Beta 3 (Oct 12 2006, re: 5475) on Windows XP
> (German, latest patch level).
>
> In the SQL dialogue wndow, when I move the output pane so it
> becomes a
> window of its own and then try to mark text  (or anything) with the
> mouse (point and drag), pgAdmin crashes instantly.
> Further testing has shown that clicking in the window is
> enough to crash
> pgAdmin.
> Reproducible every time.

This is a complex one :-(. When the frames get floated, they are turned
into wxFloatingPane objects by the display manager, thus many of the
objects in their original frmQuery class are no longer accessible. In
this case, the crash happens when it tries to update the menus on the
main query form. I've modified the code to stop it trying if the 'this'
pointer is of type wxFloatingPane (it doesn't make sense to have the
buttons/menus reflecting the status of the floating window anyway), and
added a ctrl-c shortcut to the edit grid control so data can be copied
out when it's floating.

As there are potentially other bugs caused by this mod, would you mind
if I mailed you an updated .exe for testing?

Regards, Dave.


pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Minor bug: Refreshing type in object orowser fails
Next
From: Erwin Brandstetter
Date:
Subject: Re: Beta 3 crashing reproducably