On Sun, 2011-07-24 at 13:23 +0200, Guillaume Lelarge wrote:
> On Sun, 2011-07-24 at 12:32 +0300, Bogdan Timofte wrote:
> > Hello,
> > Pgadmin3 crashes after the object browser is refreshed in certain
> > circumstances
> >
> > How to reproduce:
> > pgAdmin III Version: 1.14.0-beta3 3
> > Operating System: Linux / Windows
> > Step 1: Right click on a stored function in Object Browser, then properties
> > Step 2: Right click "Functions" in Object Browser, then refresh
> > Step 3: Click on the "Code" and change something.
> > Step 4: Click Apply
>
> Yes, this is a known bug. Refreshing an object or a parent of this
> object should not be done when the properties dialog of this object is
> open. Just like you shouldn't drop an object while its properties dialog
> is open and then change its properties. Sure crash.
>
> Noone's been bothered enough with this to actually work on fixing it.
>
> Guess I should do something about it. Will start a thread on the hackers
> list to find a good way to fix it.
>
Should be fixed now. It will prevent someone to close connection on a
database which has an open properties dialog on one of its object, to
drop an object whose properties dialog is already opened, and to refresh
an object whose properties dialog is already opened. And when someone
tries to open a properties dialog for an object that already has its
properties dialog opened, it won't display a new one, but raised upfront
the previous one.
Unfortunately, it's 1.16 material (which is expected to be released in a
year...).
--
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com