Re: Bug: recent files reset - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Bug: recent files reset
Date
Msg-id 4BABE07B.8080200@lelarge.info
Whole thread Raw
In response to Re: Bug: recent files reset  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Bug: recent files reset
List pgadmin-support
Le 21/03/2010 08:20, Guillaume Lelarge a écrit :
> Le 15/03/2010 23:33, Guillaume Lelarge a écrit :
>> Le 15/03/2010 23:16, Josh Berkus a écrit :
>>> Version: 1.10.1
>>> Platform: OSX 10.5
>>> Severity: Annoyance
>>> Reproduceable: sometimes
>>> Description:
>>>
>>> 1) have a bunch of query windows for saved SQL files open (call them
>>> files 1,2,3,4,5 and 6 in order in which they are opened).
>>> 2) save file #1 and close it.
>>> 3) In another, the query window for #5 pick file #1 from the "recent
>>> files" list in the menu.
>>> 4) File #2 will actually open.
>>>
>>> What happened: until File #1 was closed and saved, it was at the bottom
>>> of the recent files list.  Closing it and saving it will have bumped it
>>> up to the top of the recent files list.  However, the query window for
>>> query #5 will not show this change until *after* you attempt to access a
>>> file from that list, which is why it gives you the wrong file.
>>>
>>
>> You're right. I added a ticket on our trac system
>> (http://code.pgadmin.org/trac/ticket/149), so that we remember to work
>> on it ASAP.
>>
>>
> 
> Took a look at it today. The only way to get rid of it easily would be
> to update the file only when we quit the query tool. Which means that a
> window will first see the files that were recorded in the history, will
> update its menu (but not the prefs file) when the user opens files,
> won't get updates from other query window, and will push its history in
> the prefs file when the user closes the query window. Whichs also means
> that when a user quits pgAdmin, only one history will remain, the one of
> the last query tool closed.
> 
> Comments?
> 
> 

No comments on that one?


-- 
Guillaume.http://www.postgresqlfr.orghttp://dalibo.com


pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: pgAdmin Graphical Query Tool Crashes on Mac
Next
From: Guillaume Lelarge
Date:
Subject: Re: "Use Replication" label/field bug in Column Create/Edit Dialog