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 1hnna8-0008Df-9X for pgadmin-hackers@arkaria.postgresql.org; Wed, 17 Jul 2019 17:19:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hnna7-0005tB-2n for pgadmin-hackers@arkaria.postgresql.org; Wed, 17 Jul 2019 17:19:07 +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 1hnna6-0005pS-No for pgadmin-hackers@lists.postgresql.org; Wed, 17 Jul 2019 17:19:06 +0000 Received: from mail-yw1-xc32.google.com ([2607:f8b0:4864:20::c32]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnna4-0003cs-KL for pgadmin-hackers@postgresql.org; Wed, 17 Jul 2019 17:19:06 +0000 Received: by mail-yw1-xc32.google.com with SMTP id l124so11006207ywd.0 for ; Wed, 17 Jul 2019 10:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=n1n5aOqTzUgymaLpgco6pTDa87FaXllyk+m4MzepEkI=; b=CaxE+FYjqPYug2+jSgF+NfiTA5ynnatIOP4NV7Vlex5SN1lPkPghS030xATWEZcyz7 hANBBMkMzh0iL/IV08itg49AwiuBsxFTEs4hXftxsjYpuA40mibOspQmalpsEtIrL4YZ xsxisfjtXLRFUe0Qe5RzaZZaHgb9Q4CeHFbOnPmx7VFCjF6g33af5z6JPQa9j/lNcMAy 0BctvzbQ+1vq5sH3O7ecqMbkk6KXoCjAmfn8pgC7EdSwylsf2cYhuC89V0md5YS0rLTx 0aGGGx9Brr6zci76TdpgB7rRLu7Y84UTBXQTZjQUQT2swzokXRhyOM8UOcnO5K7pwFFc P7hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=n1n5aOqTzUgymaLpgco6pTDa87FaXllyk+m4MzepEkI=; b=gBK+Fla+qO//eTTr49Tpbtot05t+hvpslWiwZQAJcLq5LwZErh+kC0RVzn8cIdxybY 0ERclKGBVobtZuK2eOjBft2SJosKIgKHXGDl8B2LoyBj6OmaqmkCOPZcxYlelfIb4GV0 aWCn9RTqPSjDDWzEAnIcuFzh3SMJcDbYiYMMsCGmMZOTGabEopKE2+Nuhz7rDtU+ZkEy Qx2TkLZddeuVdO1xNwJ7ffiy8yzBgkBYwaxosN16lFCXMksHXwzoxFYxaRFrwdp7Nx35 7BIyaduZwWIuGNWfg5R5l+qz/I6J4h41ToWVk+SXWhpvO3SB0k5k6lotnmUeCA4TbxgD jMKg== X-Gm-Message-State: APjAAAUQg9DQVc9H00Q4Cwn2srZK/3ag+pb9gTLvjlRnGbx7u4RDXK7j mb2DBkWW34Ktk2gx/V1prLKlir4VEpTibFxg1O8= X-Google-Smtp-Source: APXvYqz8/m44C90ZBchRImIUe5G8jULpb2cimEM47qXwLAjV3q1YHTOplUg5NQ7r8IruNNDACnyJAV4V6/OB05yY5f8= X-Received: by 2002:a81:9987:: with SMTP id q129mr24110445ywg.190.1563383942058; Wed, 17 Jul 2019 10:19:02 -0700 (PDT) MIME-Version: 1.0 From: Yosry Muhammad Date: Wed, 17 Jul 2019 19:18:50 +0200 Message-ID: Subject: Bug in Database Nodes in the Tree To: Khushboo Vashi Cc: Dave Page , pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000839a2d058de3b01a" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000839a2d058de3b01a Content-Type: text/plain; charset="UTF-8" Hi Khushboo, There's a minor bug that I noticed a while back that when you right click a disconnected database (to drop it for example) it automatically connects to the database and expands the node. This behaviour is a little annoying to users (me too), I am trying to fix it. I looked around the code in the browser module (node.js, database.js, menu.js) and I couldn't find a way to modify this behaviour. Is this handled internally by jQuery? Is modifying this behaviour feasible? I think the problem is that the right click event triggers the left event click too. Am I correct? Thanks! --000000000000839a2d058de3b01a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Khushboo,

There's a minor bug that I noticed a while back that when you right cl= ick a disconnected database (to drop it for example) it automatically conne= cts to the database and expands the node. This behaviour is a little annoyi= ng to users (me too), I am trying to fix it.

I looked around the code in the browser module (node.j= s, database.js, menu.js) and I couldn't find a way to modify this behav= iour. Is this handled internally by jQuery? Is modifying this behaviour fea= sible?

I think the probl= em is that the right click event triggers the left event click too. Am I co= rrect?

Thanks!
--000000000000839a2d058de3b01a--