Re: User friendly messages in output pane

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: User friendly messages in output pane
Дата
Msg-id 46C020D2.3080909@postgresql.org
обсуждение исходный текст
Ответ на User friendly messages in output pane  (Erwin Brandstetter <brandstetter@falter.at>)
Ответы Re: User friendly messages in output pane  (Erwin Brandstetter <brandstetter@falter.at>)
Список pgadmin-hackers
Erwin Brandstetter wrote:
> Hi developers!
>
> Testing the pgAdmin III 1.8.0  Beta 3 (Aug 10 2007, rev: 6546M). Client
> Win XP, host: Debian Etch / PG 8.2.4 and Debian Sarge / PG 8.1.8
>
> Concerning In the SQL window:
>
> If output is too long for the various tabs in the output pane, the
> scroll bar is activated. The expected behaviour would be to have the
> scrollbar at the top and cut text at the bottom. (Who starts reading
> messages from the bottom?) And that is what happens, most of the time.
> The various tabs seem to remember their respective current position when
> switching between them, and that is a good thing, too.
>
> However, in case of an error on execution pgadmin goes to the _end_ of
> the text in the "Messages" tab. That's inconvenient, even more so, as
> there are (superfluous?) blank lines at the end of error messages. It's
> a bit of a trap, too, if the message makes (misleading) sense when read
> from somewhere in the middle. Fooled me a couple of times.
>
> Also, the "History" tab seems to get confused after some time. The
> scrollbar goes to the top at first, but after a couple of executions it
> choses a (random?) position in the text. Could not uncover the
> systematic behind it.
>
>
> Maybe there is a fix to go to the _top_ of the message per default all
> the time?

We don't explicitly position those text boxes, but I've added a couple
of lines of code to send them to the top of the text at the end of every
query.

Thanks, Dave

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

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r6555 - trunk/pgadmin3/pgadmin/frm
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r6556 - trunk/www/download