Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIXuH-00074D-V1 for pgadmin-hackers@arkaria.postgresql.org; Thu, 30 Jun 2016 09:05:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bIXuH-0003KE-Am for pgadmin-hackers@arkaria.postgresql.org; Thu, 30 Jun 2016 09:05:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bIXuG-0003Jd-NJ for pgadmin-hackers@postgresql.org; Thu, 30 Jun 2016 09:05:08 +0000 Received: from mail-io0-x22d.google.com ([2607:f8b0:4001:c06::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bIXu4-0005w6-VV for pgadmin-hackers@postgresql.org; Thu, 30 Jun 2016 09:05:07 +0000 Received: by mail-io0-x22d.google.com with SMTP id t74so66120712ioi.0 for ; Thu, 30 Jun 2016 02:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fHpO3dCL2cFUp15a3Nz6aB08xhV27+ruOGDdYe9uB+s=; b=Va4vbcaUK7GC5OGS2JkHh/z4Wo2+AbZPtMWomAa2ri6YqPh1OcIGNZpFFGs8ohwWZX 1OS+XRZFgI9JILONC/8VgS9PDCb9AUMA7pSndqwR4J5UR0ieo4Pm+VPYVzWV0hqwfKJw CHYkM45qbEUjL35Cc5IllnLGXVfmM2lqa7OIj4PuPfeBTYxOP6HeAUjVYo6cchiAOG18 3End99ZFDpigGm3NvNkjAWyDA+rWgjZcb019Fie4PvqyFTC7fqTLbyupdusulYoWl3k2 LvTUVfmah+UEpyiciHJV2ZF027Bu/18cbuQ8za+FROHuS1UkfN7JZKr82xa8OgKieNRw tl3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fHpO3dCL2cFUp15a3Nz6aB08xhV27+ruOGDdYe9uB+s=; b=EVDymc9a85+TmqzvwlURUlMp3cUo6PiktU9P3GhtVeakR0oKspHStrc6eVj7dwSbQp +ppDISnyAaj74ArPPlgCgxfc17p6u9I8tYCngv1yZTqGpy8DncaIwvrx5ED+xQviSzn3 ZUTSM0fI86j+37NCetp12WZO9HYKLhtGthE9fS45hjHcn84q0T6XAfCspzbAiuVQGXgR eCobKec8CA0Okcoh/BXcJE1moPoJN/cGQ7HFEbvaT7YTvl/rBEZm2dmMHnsW0IlsCS+J hMdOGtXffowcoavtoSviTWkFvQ7spTdShDyri6au6eOCzeCtaJZVBhcXZzAGzHp057jC H1pQ== X-Gm-Message-State: ALyK8tJvr3lywOqfVLeSAvawCbdIGl/7r1+Aa0aLuaF1pEzxS+/K097FQApLJ2rvoDb5S+BTLWeBxpE0f6Ccpw== X-Received: by 10.107.175.83 with SMTP id y80mr14133813ioe.70.1467277496091; Thu, 30 Jun 2016 02:04:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.233 with HTTP; Thu, 30 Jun 2016 02:04:55 -0700 (PDT) In-Reply-To: References: <5767F4E1.6020308@kingston.net> From: Dave Page Date: Thu, 30 Jun 2016 10:04:55 +0100 Message-ID: Subject: Re: Fix for issue RM1336 [pgadmin4] To: Harshal Dhumal Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi Harshal, On Thu, Jun 30, 2016 at 7:59 AM, Harshal Dhumal wrote: > Hi Dave, > > Somehow control key is mapped to Command key in Mac. So on Mac shortcuts are > Shift+Command+E, Shift+Command+X, Shift+Command+A OK, those work, but I think we need to take a step back here (partly because Cmd+Shift+A seems to be Select All in CodeMirror on Mac). I've committed the patch now, but changed Ctrl+Shift+A to Ctrl+Shift+N. Can you please work on the following: 1) Create a table of shortcuts from our runtime, our web app, and CodeMirror. This should list: Component (e.g. runtime, CodeMirror, Query Tool) Standard shortcut (e.g. Ctrl+Shift+A) Mac shortcut (e.g. Cmd+Shift+A) Function (e.g. Explain Analyze or Select All) Let's make this as complete and accurate as possible, so it can be included in the documentation, and used by us to select or de-duplicate shortcuts. 2) Confirm that the shortcuts we're using in our runtime and web application don't conflict with any in CodeMirror (or web browsers, in the case of the web app). 3) Update the web application so the shortcuts are correctly displayed on Mac automatically - e.g. the tooltips and menus should show Cmd+Shift not Ctrl+Shift 4) Investigate #1360, and ensure that the CodeMirror shortcuts work consistently between the runtime and browsers on all platforms. 5) Investigate any remaining shortcuts that don't work as expected. Thanks, Dave. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers