Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMb0C-0001RM-V8 for pgadmin-hackers@arkaria.postgresql.org; Mon, 11 Jul 2016 13:12:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bMb0C-0002gx-Bd for pgadmin-hackers@arkaria.postgresql.org; Mon, 11 Jul 2016 13:12:00 +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 1bMazy-0002DL-UF for pgadmin-hackers@postgresql.org; Mon, 11 Jul 2016 13:11:47 +0000 Received: from mail-io0-x22a.google.com ([2607:f8b0:4001:c06::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bMazv-0003mW-Sz for pgadmin-hackers@postgresql.org; Mon, 11 Jul 2016 13:11:45 +0000 Received: by mail-io0-x22a.google.com with SMTP id m101so21851423ioi.2 for ; Mon, 11 Jul 2016 06:11:43 -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=7IUrzLg9D3aY3GDIvgyXQGpNnYT3QhUe8i1D5JXcCBQ=; b=UGqZBpm9xngH/HKbuLL6nkCEj8gLG9G7FSzf8DdSpHi1SyRJ98mJMCJa5963+jmJP3 LhMXUKizaExIoZLX66cPogYiter4TrnKWjUP7LWkI/yl6M+3PrGsnJSwpZOROmL4OS0x RZUcIPUoME/6Jar6i3ppwlgx7oWB2nAbGRdNPli3HYQMRTa28QHjeUQzY6GKK6PTguk9 l/PjP36UjPk3Eq5PINaHsSijQmM5IX9RWWKj5svXjc1lwwrmjZ7GafAsSTeEZKhAz2Pj rlb9bZxFfaSwwmiT4meRBh2RLw4KZZIitjphTceyoMbsQ4QfZ8ZUG/QREoadpE1QuU/5 uLvw== 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=7IUrzLg9D3aY3GDIvgyXQGpNnYT3QhUe8i1D5JXcCBQ=; b=en6XU7hhKFLrBkmFGpBSJBch+5jtv2Dr6LVAe5zeXIHSMpXWWZX0EJjgv7O5MCMBRW 6DqUIaZabYZ95/t+I8fXD2NlHqYiie0K4n6N8DuqEw7wFuAWlGG9kj2DzFp0mE8L/vBz RWuneHbHFMRe6U7IHKcVwB/j9oK1Ev/VBGgy36i9aj8MlYksQ4XFCi9OdwQyUK9d+WIY vLf8jxXku5OtMmSQilOe6PueMe8lE47erGIRYwMetNVFun0JpZzH7idCN42xGNUdDyqj TOoRFZ/DHOhD7iOAqkT20u/cDI85aBRZoIu+VQn+a+qn1EOBeFZtVtmCHxMmoYVVTaGI M3MA== X-Gm-Message-State: ALyK8tJzE2HnPtz1nY5fL/622UQcwH2AiAoV0LbDZrkCIx0T+lTVk1l3ipSZl6KwoosIHaLoUDqFF8RZqQlDZg== X-Received: by 10.107.205.129 with SMTP id d123mr20075680iog.70.1468242702850; Mon, 11 Jul 2016 06:11:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.208.97 with HTTP; Mon, 11 Jul 2016 06:11:42 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Mon, 11 Jul 2016 14:11:42 +0100 Message-ID: Subject: Re: [pgAdmin4][Patch]: RM#1432 - File Browser - File does not exist error To: Surinder Kumar Cc: Marc Linster , 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 On Thu, Jul 7, 2016 at 1:50 PM, Surinder Kumar wrote: > On Wed, Jul 6, 2016 at 7:02 PM, Surinder Kumar > wrote: >> >> On Wed, Jul 6, 2016 at 5:40 PM, Dave Page wrote: >>> >>> Hi, >>> >>> I think we need more changes than just that; >>> >>> - The path at the top should not be editable (it should be greyed in >>> fact) >> >> Ok >>> >>> >>> - The path at the top should only show the directory path. The >>> filename should never be appended. >> >> Ok >>> >>> >>> - The CSS needs to be fixed so the filename textbox at the bottom is >>> never hidden (as it is now if the dialogue opens at a small size). >> >> Ok >>> >>> >>> - Double-click to navigate vs. rename should be modified to work in >>> part like it does on Mac - Double-click on either the icon or the name >>> should open the item (browser into a folder, or select and "OK" on a >>> file), and Click then Enter should rename. I'm hesitant to try to >>> implement "slow double click to rename" as that would likely need to >>> be tunable for accessibility reasons. >> >> Ok, I will fix it. > > In the current scenario, the Enter Key is bound to the OK button by default > in Alertify dialog which servers the purpose of closing the dialog. > Should we de-attach Enter Key event bound to OK button and use it for rename > file? > please suggest what should I do? Hmm, good point. How hard would it be to look for 2 consecutive single-clicks (but not a double-click) for rename? If we can do that, it avoids timing considerations for double-clicks (which would be defined by the OS). -- 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