From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | PgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Bug: recent files reset |
Date: | 2010-03-21 07:20:54 |
Message-ID: | 4BA5C8D6.5070805@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
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?
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Ripal Shah | 2010-03-21 07:46:27 | Unsubscribe |
Previous Message | Craig Ringer | 2010-03-20 04:02:10 | Re: [GENERAL] MS Access 2007 update write conflict problem & resolution |