Обсуждение: 1.14b1 doesn't do OSX alerts

Поиск
Список
Период
Сортировка

1.14b1 doesn't do OSX alerts

От
Josh Berkus
Дата:
Dave,

Minor issue with 1.14b1 (compared to the crashing): when a query
completes, 1.14b1 no longer alerts me by having the pgadmin icon bounce
in the Dock.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


Re: 1.14b1 doesn't do OSX alerts

От
Dave Page
Дата:
On Thu, Jun 30, 2011 at 7:35 PM, Josh Berkus <josh@agliodbs.com> wrote:
> Dave,
>
> Minor issue with 1.14b1 (compared to the crashing): when a query
> completes, 1.14b1 no longer alerts me by having the pgadmin icon bounce
> in the Dock.

Spent a couple of hours(!) trying to figure this out, and no joy so
far. It appears that wxTopLevelWindow::IsActive() doesn't work when
wxAuiNotebooks are in use, but I haven't figured out why yet.

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

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


Re: 1.14b1 doesn't do OSX alerts

От
Josh Berkus
Дата:
> Spent a couple of hours(!) trying to figure this out, and no joy so
> far. It appears that wxTopLevelWindow::IsActive() doesn't work when
> wxAuiNotebooks are in use, but I haven't figured out why yet.

Odd, it worked perfectly in 1.12.  Well, it worked OK.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


Re: 1.14b1 doesn't do OSX alerts

От
Dave Page
Дата:
On Wed, Jul 6, 2011 at 3:13 AM, Josh Berkus <josh@agliodbs.com> wrote:
>
>> Spent a couple of hours(!) trying to figure this out, and no joy so
>> far. It appears that wxTopLevelWindow::IsActive() doesn't work when
>> wxAuiNotebooks are in use, but I haven't figured out why yet.
>
> Odd, it worked perfectly in 1.12.  Well, it worked OK.

Yeah, but that version didn't use wxAuiNotebooks there. I've committed
a change which should at least fire the alert when the window is
minimised, but I've yet to find a full workaround for the IsActive()
failure.

I also notice that even with 1.12, the alert only seems to fire once.
That seems to be a wxWidgets issue.

Further investigation needed, but not today.

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

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