Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKlfO-0006tS-H4 for pgadmin-hackers@arkaria.postgresql.org; Wed, 06 Jul 2016 12:10:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bKlfN-0003kA-RF for pgadmin-hackers@arkaria.postgresql.org; Wed, 06 Jul 2016 12:10:57 +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 1bKlfA-0003Vq-N1 for pgadmin-hackers@postgresql.org; Wed, 06 Jul 2016 12:10:44 +0000 Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bKlf3-0003jw-A2 for pgadmin-hackers@postgresql.org; Wed, 06 Jul 2016 12:10:43 +0000 Received: by mail-it0-x22a.google.com with SMTP id h190so105910677ith.1 for ; Wed, 06 Jul 2016 05:10:36 -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:content-transfer-encoding; bh=q4IGqbs6R7mSrS/A6Co/AErEX5nH1f9db+0JwxzFZAo=; b=ZD0qjtKtyKunxBWLTRx5M2qS744lkUMPTVdlwbLkZ8VrS1FkaJCWL6hSah73dS43dn zjkrtE6mlgzagZPCEwWN/0hiBTv86eZd0v4sW1A8E3fS9VLhYLdSGiDpNmiKPsqxvpQV ZXvw9dhzNq5RpV5Q4Be+LQn7SieJFWTB+67Gg05KjVRiUeKNEdco+BjvWaa4yH2p+muK RJV0epSO1FP0nWVBrKyjsDuadtk9yROApXCbGEZZRP+qlN3/UYXHAxMIEVfg5AGNYWKA viLBP2wIxg2SHddSCG1X2ehjl9ugtSyf8LvpZXcRYMJc3hyha7FSeuOBsWY0wzxRDo1Q y+YA== 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:content-transfer-encoding; bh=q4IGqbs6R7mSrS/A6Co/AErEX5nH1f9db+0JwxzFZAo=; b=LY93+6FeQxhqNqVYUyyNvPPZE/0TDmSGEKdR53uGlWVsPUbHkMBOTjyDo6psxqlLh7 HmvFHWXmUGHTd1rkc5ZOdNXSbnkzQwJn6L5tWBaaygABob9ClMg9NQmvZqfAmtpBy1vi lJeGPH17ew1FbIlNoEpo/BKG7Oc3s5NwMm1uFhq9BA/IC3aqotYBwrygGVySqBeDlgpb SztRAXkITqcjMwBrnOlnAb1WtpfUnyMZf6P7leGyyh63K2iYUHBgLezJsGWovCeaOZEX 9Kwr7TtdCzJcMNR1c4Y7ZX0irZacyHHqwZAtgU9CRUHtd6Dagzupzf6gR/9unvrkuZhe JRVg== X-Gm-Message-State: ALyK8tKiyFGRE8VHW4BLvWccDV/zFh9eDnCYCE9RVk+OWuRnvN4VHTlyF4T0s/zkcps0H5y3S1SXsxZUooJvYA== X-Received: by 10.36.22.195 with SMTP id a186mr20321312ita.37.1467807036082; Wed, 06 Jul 2016 05:10:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.208 with HTTP; Wed, 6 Jul 2016 05:10:35 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Wed, 6 Jul 2016 13:10:35 +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 Content-Transfer-Encoding: quoted-printable 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, I think we need more changes than just that; - The path at the top should not be editable (it should be greyed in fact) - The path at the top should only show the directory path. The filename should never be appended. - 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). - 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. On Wed, Jul 6, 2016 at 10:42 AM, Surinder Kumar wrote: > Hi > > Please find the patch with issue fixed: > File Browser - File does not exist error >> >> it is due to wrong path formation. strip the leftmost slash only from the >> file name selected not from the full path. > > > Please review. > > Reply to the comments: > The file browser is virtually unreadable (see screen shot), it does not w= ork > like Mac app > It seems to be font issue to me. I will fix it and send a patch. > > When I click on the folder name, it offers to change the folder name inst= ead > of opening it (opening works when I click on the folder logo) > we are performing two operations on double click: > 1) Navigate inside the folder > double clicking on folder icon allows to navigate inside the folder. > 2) Rename folder > double clicking on folder name allows to rename the file/folder. > > When I manage to navigate to the right file and want to open it, I get a = red > message =E2=80=98File does not exist=E2=80=99. That message disappears af= ter 2-3 seconds > attached a patch with fix. > > Thanks, > Surinder Kumar > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers