Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNznB-0000rj-OQ for pgadmin-hackers@arkaria.postgresql.org; Fri, 15 Jul 2016 09:52:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bNznB-0007Cz-BW for pgadmin-hackers@arkaria.postgresql.org; Fri, 15 Jul 2016 09:52:21 +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 1bNzmy-0006zD-CR for pgadmin-hackers@postgresql.org; Fri, 15 Jul 2016 09:52: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 1bNzmv-0003Mg-6q for pgadmin-hackers@postgresql.org; Fri, 15 Jul 2016 09:52:07 +0000 Received: by mail-io0-x22d.google.com with SMTP id m101so99511057ioi.2 for ; Fri, 15 Jul 2016 02:52:04 -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=1HnCI/yOP+KnDotMWdHoTnH0JfCnen9D1mTHoVckQ90=; b=bK+T8Q9A7rT9gh2YGhJgK8gFjGuAl9RJLo4FNICvK3dyvteJqozH+bYCh3guiUP7Qf EixciuMLGZniV1bwkWZAT2VUncWpJmoBGTe+Xa/M9rBGaod8X175QnTUCBMtankVfCpj pK5jrmNEni+3D1h5etAnaYzd9lxqP8XIbOVlADofFLlLhXxvdpvDLPcUKU1rtTdrJhl2 wLl1Tunt1+4irYoPy/ofluSm7UGuOkupxWvC06nCCCZqjEKa0afvA+jwBwhLLRTymkbY lai7xM4tf7j4SOmBtMPl6RACA1B4mMdhc0oF3Fjaz3nM4lhYXxyTRtJOWWyjmhyAfY5y mLvg== 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=1HnCI/yOP+KnDotMWdHoTnH0JfCnen9D1mTHoVckQ90=; b=HUQmw9IKrnhSoHRlhim51yZZqTDPrJ9BfCN7Y3UCu0yGe/lXZb7gEJQNlza01nh1jD EcZAXxTWBO518m3odCB97tBNtl2rYCkRB77xkBsEnn/fu4ymxBXMKSmXD4H/jDEuh0BA sE1N3GCyACiRBAV4DP/sljCc2GEfBRKIADsk6zkFiXtMm9WhYLfkQza6/anpwSieSKOp hHQd04D8bTbGsrNEgGDp5x8CuAAJHHymsN8jir8ych42d9schyDfZKxGjco+sCsXZynP AAu0C1JS0jUOSftukEaJQPqoW/D+J57rWy5fMDulHPubI6NfuLkHQYfteC/JpczKtA0M UTpA== X-Gm-Message-State: ALyK8tJU6XNkx2Jx/E9gOnXSLWGdqgjlqaBU77nkbe0IXuwNF/FHkLqqd6fL+U7G9Wo0atKmnC69TaBo1OL5YA== X-Received: by 10.107.205.129 with SMTP id d123mr20335133iog.70.1468576324080; Fri, 15 Jul 2016 02:52:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.208.97 with HTTP; Fri, 15 Jul 2016 02:52:03 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Fri, 15 Jul 2016 10:52:03 +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 Thanks Surinder, patch applied. I suspect the font rendering issue is related to others we've seen, where the solution is to ensure the -webkit-transform CSS attribute is set to none. Can you have a poke around with it please? On Wed, Jul 13, 2016 at 2:58 PM, Surinder Kumar wrote: > Please find updated patch. > This patch also includes the fix for issue "File Browser - File does not > exist error". > > On Wed, Jul 13, 2016 at 7:23 PM, Surinder Kumar > wrote: >> >> I forgot to merge the fix for issue "File Browser - File does not exist >> error" in the patch. >> Please ignore this patch. >> >> On Wed, Jul 13, 2016 at 7:20 PM, Surinder Kumar >> wrote: >>> >>> Please find updated patch with following changes/enhancements: >>> >>> Double click on file/folder icon or name will navigate to the >>> folder/file. >>> Selected file/folder can be renamed by Rename button only. Double click >>> rename is removed. >>> Filename text box will not hide on smaller screen. Setting minimum width >>> of File Browser fixed it. >>> Path at top will only show directory name, not the file name and it is >>> greyed out. >>> >>> Issue not fixed: >>> Icons and fonts of Query tool and File Browser looks blurred in Runtime >>> environment. >>> I tried debugging it. while debugging, It gets fixed on my ubuntu >>> runtime. but I don't know how it gets fixed without changing css styles. It >>> needs more time to debug. >>> >>> Please review. >>> >>> On Wed, Jul 13, 2016 at 5:15 PM, Dave Page wrote: >>>> >>>> On Tue, Jul 12, 2016 at 7:10 AM, Surinder Kumar >>>> wrote: >>>> > On Mon, Jul 11, 2016 at 6:41 PM, Dave Page wrote: >>>> >> >>>> >> 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). >>>> > >>>> > >>>> > I tried to implement slow double click, here is Fiddle >>>> > There are two events 1) double click (it will be used for folder >>>> > navigation) >>>> > 2) Slow double click(For rename), It is a simple click event, when >>>> > clicked >>>> > twice after delay we consider it a slow double click. >>>> > >>>> > But it is not working smoothly, double click and single click events >>>> > are >>>> > conflicting. >>>> >>>> Yeah, so I see. >>>> >>>> > Also, we have rename button in navigation for rename operation, >>>> > Can we skip slow double click because it is very confusing? >>>> >>>> OK, I must have been having a brain failure moment or something. Yes, >>>> skip it - we obviously don't need it with the rename button. >>>> >>>> So we have: >>>> >>>> - Click to select >>>> - Double click to open a folder >>>> - Button to rename the select file/folder >>>> >>>> Sorry! >>>> >>>> -- >>>> Dave Page >>>> Blog: http://pgsnake.blogspot.com >>>> Twitter: @pgsnake >>>> >>>> EnterpriseDB UK: http://www.enterprisedb.com >>>> The Enterprise PostgreSQL Company >>> >>> >> > -- 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