Thread: Proportional font in messages tab on OSX

Proportional font in messages tab on OSX

From
Thom Brown
Date:
Hi,

I notice that on OSX using PgAdmin 1.14 beta 2 the messages tab are
showing in a proportional font if an error occurs more than once.  The
first time it displays in monospace.  The main problem with this is
that error messages which attempt to use a carat to point to a
position in the statement where the error occurs ends up pointing to
the wrong location.

Also, I originally thought this might be a setting in the preferences
(as I thought it was always showing incorrectly rather than just
beyond the first time), so I went to the Preferences tab in
preferences, clicked on the font option, and for a fraction of a
second a font selection window appears, but then immediately
disappears again.  The same issue on the Query Tool tab in
preferences, where the window disappears immediately after clicking on
the font option.  Incidentally the font on this tab shows as "Monaco,
12", and on the preferences tab it shows as "Lucida Grande, 11".

The query I've been using to force an error is just:

SELECT DELETE;

Thanks

Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Proportional font in messages tab on OSX

From
Dave Page
Date:
On Fri, Jul 1, 2011 at 1:28 AM, Thom Brown <thom@linux.com> wrote:
> Hi,
>
> I notice that on OSX using PgAdmin 1.14 beta 2 the messages tab are
> showing in a proportional font if an error occurs more than once.  The
> first time it displays in monospace.  The main problem with this is
> that error messages which attempt to use a carat to point to a
> position in the statement where the error occurs ends up pointing to
> the wrong location.

Thanks, fixed.

> Also, I originally thought this might be a setting in the preferences
> (as I thought it was always showing incorrectly rather than just
> beyond the first time), so I went to the Preferences tab in
> preferences, clicked on the font option, and for a fraction of a
> second a font selection window appears, but then immediately
> disappears again.  The same issue on the Query Tool tab in
> preferences, where the window disappears immediately after clicking on
> the font option.  Incidentally the font on this tab shows as "Monaco,
> 12", and on the preferences tab it shows as "Lucida Grande, 11".

That's a wxWidgets bug, which has been fixed. Unfortunately it looks
like we missed that upgrade on one of the build machines. Will
correct.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Proportional font in messages tab on OSX

From
Thom Brown
Date:
On 1 July 2011 12:06, Dave Page <dpage@pgadmin.org> wrote:
> On Fri, Jul 1, 2011 at 1:28 AM, Thom Brown <thom@linux.com> wrote:
>> Hi,
>>
>> I notice that on OSX using PgAdmin 1.14 beta 2 the messages tab are
>> showing in a proportional font if an error occurs more than once.  The
>> first time it displays in monospace.  The main problem with this is
>> that error messages which attempt to use a carat to point to a
>> position in the statement where the error occurs ends up pointing to
>> the wrong location.
>
> Thanks, fixed.
>
>> Also, I originally thought this might be a setting in the preferences
>> (as I thought it was always showing incorrectly rather than just
>> beyond the first time), so I went to the Preferences tab in
>> preferences, clicked on the font option, and for a fraction of a
>> second a font selection window appears, but then immediately
>> disappears again.  The same issue on the Query Tool tab in
>> preferences, where the window disappears immediately after clicking on
>> the font option.  Incidentally the font on this tab shows as "Monaco,
>> 12", and on the preferences tab it shows as "Lucida Grande, 11".
>
> That's a wxWidgets bug, which has been fixed. Unfortunately it looks
> like we missed that upgrade on one of the build machines. Will
> correct.

Excellent, thanks. :)
--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company