Re: Bug: recent files reset

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Bug: recent files reset
Дата
Msg-id 4BA5C8D6.5070805@lelarge.info
обсуждение исходный текст
Ответ на Re: Bug: recent files reset  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Unsubscribe  (Ripal Shah <rshah@igenesis.co.in>)
Re: Bug: recent files reset  (Guillaume Lelarge <guillaume@lelarge.info>)
Список 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.orghttp://dalibo.com


В списке pgadmin-support по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [GENERAL] MS Access 2007 update write conflict problem & resolution
Следующее
От: Ripal Shah
Дата:
Сообщение: Unsubscribe