Re: Bug: recent files reset

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-25 22:15:23
Message-ID: 4BABE07B.8080200@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.org
http://dalibo.com

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2010-03-25 23:13:17 Re: "Use Replication" label/field bug in Column Create/Edit Dialog
Previous Message Guillaume Lelarge 2010-03-25 22:13:17 Re: pgAdmin Graphical Query Tool Crashes on Mac