Re: Behavioral issues in data grid: unsaved data, sort/filter

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Behavioral issues in data grid: unsaved data, sort/filter
Дата
Msg-id 937d27e10805020403s26340a4eva705ea53253cd22a@mail.gmail.com
обсуждение исходный текст
Ответ на Behavioral issues in data grid: unsaved data, sort/filter  (Erwin Brandstetter <brandstetter@falter.at>)
Ответы Re: Behavioral issues in data grid: unsaved data, sort/filter  (Erwin Brandstetter <brandstetter@falter.at>)
Список pgadmin-hackers
Hi Erwin,

On Fri, Apr 25, 2008 at 8:51 PM, Erwin Brandstetter
<brandstetter@falter.at> wrote:
> - Do not warn, if data has not changed

OK, that's the hard one. I don't know how we can do that without some
fairly extensive work. I'll add it to the todo list. On the plus side,
that's an annoyance, not a data loss bug.

> - Do warn, if data has changed. Not only at attempts to close the window,
> but also on any attempt to requery, including sort/filter.

I've committed a patch that should fix this.

>  While being at it, requery _every_ time [OK] is clicked - as opposed to
> [Cancel] - in the sort/filter dialog.
>   It is futile to check for changes in filter/sort, as the underlying data
> may have changed, and it is confusing if a meaningless whitespace makes all
> the difference.
>   The user can always click [Cancel] if he does not want to requery.

That's more of a debatable change but I think you're correct and have
committed the change.

Thanks, Dave.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

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

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7265 - in branches/REL-1_8_0_EDB/pgadmin3: . pgadmin/frm pgadmin/include/frm
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7266 - in trunk/pgadmin3: . pgadmin/dlg