Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYTvz-0004YU-Bz for pgadmin-hackers@arkaria.postgresql.org; Wed, 05 Jun 2019 11:18:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hYTvy-0008LC-6I for pgadmin-hackers@arkaria.postgresql.org; Wed, 05 Jun 2019 11:18:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYTvx-0008L5-VJ for pgadmin-hackers@lists.postgresql.org; Wed, 05 Jun 2019 11:18:22 +0000 Received: from mail-io1-xd44.google.com ([2607:f8b0:4864:20::d44]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYTvv-0007Zc-1Q for pgadmin-hackers@postgresql.org; Wed, 05 Jun 2019 11:18:21 +0000 Received: by mail-io1-xd44.google.com with SMTP id x24so19881028ion.5 for ; Wed, 05 Jun 2019 04:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=esy0pDlRF2LpAnqWUH+sWNWO7Xy7Nl65Lq5LUYQE8nA=; b=ZHwqFTbjAjDHCC7EhkF50mrFxS13dTEJqSnX5sC9yKfUHeF7pEbxBNpOlvnmBsFj9Z g6hCFyB2igv6N3wgdN/M8sdjx2WbFXJ2ZPWhQc4O8++/swOppQ5nD3z81qdCg4c42jk5 kh4F79s9GgdNrTcUwZQdbGUwzrqwPXBXb/VnQ76Yc2KFmqd2e6dQzL6ojXDd2likN2hf vGUvmY78YEsV59R31xj8aGDKaFToWGQsc8F/j6pqlaC7G+Q8QADU4UI7la51EEtb8FTZ r3RoPQuac42hoDBQjWqY+wvxEE6Rd8ZvKN6OKEIw+azSWn/msqX1HXvf/2A+Of8siVeD /AwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=esy0pDlRF2LpAnqWUH+sWNWO7Xy7Nl65Lq5LUYQE8nA=; b=ZtFY8yq7hSlQrFm1HhSaUQdOgazxKIRl6WWp5ESMTMyTySOLREym0qd3Z0VL4S0gsW gvRXnVFSZRhL5SpVEw7ecynoH7wSBcj5fFlC//g+ldvMLCqThaE/bWqNLvrF2HbAs4hm ijmrsk+ZfJqahYuDp3Z1JHxUcpX8ues8aPtwnE4WeEAO9va+muRzgfmZrcPKyGWxx6dP 19yAOcR11kMZSICDLbKS4iS01kc3OHG/W91MKIpM1qwpVktTSClouLTWeXbxQMcLodUL Cn73rKXBm7zip5qjjxP8tJfVBaTF2tieQzRXz25yqyeok3UEOu8B8ONhHE9UetFSc5U9 NNyA== X-Gm-Message-State: APjAAAXq4SaGfexDFjpAAP55jv98hquDrS/PBVafzfss86yzSV1+XxcF Q5cRv5ninf1kCLxG2cj2F9PLToCqC3m0u48bGYZZ9rZ0IeY= X-Google-Smtp-Source: APXvYqzkVv+Azzub2eZwFI4BxXQEjU05DG6YsVXg96gYpq3rT5lPLYItnTfUe4PeI6rMS+htyaJGBEzMQ4SnWG2aWBI= X-Received: by 2002:a5d:9402:: with SMTP id v2mr7776224ion.128.1559733496724; Wed, 05 Jun 2019 04:18:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dave Page Date: Wed, 5 Jun 2019 12:18:03 +0100 Message-ID: Subject: Re: [pgAdmin][RM4310] User can not connect to the Master Password with Enter button To: Aditya Toshniwal Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="0000000000000454f3058a91c1b1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000000454f3058a91c1b1 Content-Type: text/plain; charset="UTF-8" Hi On Wed, Jun 5, 2019 at 8:14 AM Aditya Toshniwal < aditya.toshniwal@enterprisedb.com> wrote: > Hi Hackers, > > Attached is the patch to fix an issue where using browser autofills in > alertify dialogs triggers the help page button (#4317). > A workaround was added to master password dialog to avoid this, but that > in turn disabled the 'OK' button tigger on pressing enter button. This is > also fixed with this patch.(#4310) > This isn't quite right. When the browser auto-fills the password, the OK button remains disabled. I can hit enter though - however, I shouldn't be able to do that when the OK button is disabled (being the default button on the dialogue, it should respond to enter, unless another control which also accepts enter has focus (e.g. a multiline text area). The OK button should be enabled - probably all the time, as the user could have entered a blank password, and most systems won't prevent a user from trying to use such a password. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --0000000000000454f3058a91c1b1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Wed, Jun 5, 2019 at 8:14 AM Aditya Toshniwal <= ;aditya.toshniwal@ente= rprisedb.com> wrote:
= Hi Hackers,

Attached is t= he patch to fix an issue where using browser autofills in alertify dialogs = triggers the help page button (#4317).
A workaround was added to master password dialog to avoid th= is, but that in turn disabled the 'OK' button tigger on pressing en= ter button. This is also fixed with this patch.(#4310)

This isn't quite right. When the browser auto-f= ills the password, the OK button remains disabled. I can hit enter though -= however, I shouldn't be able to do that when the OK button is disabled= (being the default button on the dialogue, it should respond to enter, unl= ess another control which also accepts enter has focus (e.g. a multiline te= xt area).

The OK button should be enabled - probab= ly all the time, as the user could have entered a blank password, and most = systems won't prevent a user from trying to use such a password.
<= /div>

--
Dave = Page
Blog: htt= p://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: <= a href=3D"http://www.enterprisedb.com" target=3D"_blank">http://www.enterpr= isedb.com
The Enterprise PostgreSQL Company
--0000000000000454f3058a91c1b1--