Re: "Dangerous" hotkey in server status dialog - Mailing list pgadmin-hackers

From Dave Page
Subject Re: "Dangerous" hotkey in server status dialog
Date
Msg-id 937d27e10807310800x269b02f1tf9997bb4076f8be4@mail.gmail.com
Whole thread Raw
In response to "Dangerous" hotkey in server status dialog  (Magnus Hagander <magnus@hagander.net>)
List pgadmin-hackers
On Thu, Jul 31, 2008 at 3:50 PM, Magnus Hagander <magnus@hagander.net> wrote:
> If you select a row in the server status dialog and hit escape, pgadmin
> will ask to cancel the query.
>
> On every platform I've worked on, escape means close the dialog, not
> actually do something.
>
> I think this is becuase we are using wxID_CANCEL, which is the default
> mapping there. I think the proper solution is to invent our own id
> instead. Same for the one under locks. I can't see any reason why we're
> overloading this with the default behaviours.
>
> I'd go as far as calling this a bug and say we should probably backpatch
> a fix ;-)

+1

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

pgadmin-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: "Dangerous" hotkey in server status dialog
Next
From: Magnus Hagander
Date:
Subject: Minimum height of server status dialog