Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ez3YB-00053d-W5 for pgadmin-hackers@arkaria.postgresql.org; Thu, 22 Mar 2018 16:58:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ez3YA-0005ur-UI for pgadmin-hackers@arkaria.postgresql.org; Thu, 22 Mar 2018 16:58:50 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1ez3YA-0005uh-Oc for pgadmin-hackers@lists.postgresql.org; Thu, 22 Mar 2018 16:58:50 +0000 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ez3Y7-0004Uc-Vb for pgadmin-hackers@postgresql.org; Thu, 22 Mar 2018 16:58:50 +0000 Received: by mail-wr0-x231.google.com with SMTP id c24so9425350wrc.6 for ; Thu, 22 Mar 2018 09:58:47 -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=8ucg70ioe5OmpxoJ7JMaukwpB+pU3XpP+zvDQE7GKC8=; b=RiLiamxVaWhGKYfxfxuBlJDAGTsvv7YqY5TPZvL1JUZVLc3K8L/XfMKa5cIGsspxie B0QELoUs7y+otUaiMF6f5LR9aaeEHZ1SofcQ+YvaDBQweHYyiQXthMSohPp+6/QDI6ta FmGxQq6EJ2+8bJTQhtXsQJ/3NBGkK0FEKDl+gjJ/AOE6HJnIgGM+dZGh0OyvM9Po08E2 9aTYNsDBSMJTcW9+fzWx27Xya1/CHx8Fuy6MTHDVzBpvuGY8GQt+yy/pHMJfnw7urjcz cVbljaG4tLxBfSecr1pCC4CDkuwXHs5OKjQpd9hJKTGWmxrI5eapaPjLqJoKolg/vdVd 86pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8ucg70ioe5OmpxoJ7JMaukwpB+pU3XpP+zvDQE7GKC8=; b=WyD0hbY9KXhTTFz94jEYhOiV3ggtj+5HpaAwIro5FO74uVF1Go3L0hgOvm8f4+eAA3 n9OkmU1fPuWLnM9X8njEQUc8jqyiA2XeK0W0tgjdXc4dxu2wSfb3GDUSFQlrWkQRiwdW AotEMhglsSOoG4dwOdRO60nFgg3G1L9RStp8Eddt9OidA/z+/p5lNFLRsSzwBcZyg7Nb SmAEI5m21a+RFZF0fwAk91vC++rAZbb1K9cCYEcxBnorKBP37iiOeep5EH+AkqzH60xQ Be6YDn8EM2wbPEpPdnmiBgMTX5ip2h0tp87Jx6fxJrE0z/ZA610qHIKTHGR8T3GJoa8+ bBhg== X-Gm-Message-State: AElRT7Fi5DUnkEldtTqUfIJ6XEQ1jkPecLAuXeN1hMAdigT/sn83bVDc LKEjQUuaEdL4F/s+49Pqch9BL9+IbB7XVr3ejTQ1KQ== X-Google-Smtp-Source: AG47ELv85JRI63XS1qNkgds8BdBHhQTITuQEdGxOBqwzzicMv4GhBNeyOMqUXAxce2zKvbBx/JvPWNWELE4er/7eGfk= X-Received: by 10.223.195.124 with SMTP id e57mr19060300wrg.135.1521737927363; Thu, 22 Mar 2018 09:58:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.69.220 with HTTP; Thu, 22 Mar 2018 09:58:46 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 22 Mar 2018 16:58:46 +0000 Message-ID: Subject: Re: Showstopper desktop runtime issue To: Magnus Hagander Cc: Joao De Almeida Pereira , Murtuza Zabuawala , pgadmin-hackers , Akshay Joshi , Neel Patel , Ashesh Vashi , Robert Eckhardt Content-Type: multipart/alternative; boundary="f403045c4e229a277805680338e9" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --f403045c4e229a277805680338e9 Content-Type: text/plain; charset="UTF-8" On Thu, Mar 22, 2018 at 4:28 PM, Dave Page wrote: > > 2) This option is not very appealing to me, because we would be pilling >>> code into the QT portion of the application, that I hope we remove in the >>> future, that currently is untested to solve a problem caused by a Window >>> Manager...... >>> I would be more in favor of creating a Application Indicator that would >>> support 2 actions, Kill running pgAdmins and launch the browser to access >>> them. There is a lot of interesting websites that talk about this, and how >>> to develop. I had to download one to have a docker indicator..... But as I >>> said in a previous thread, I believe that this should be a 3rd party >>> application and not a first class citizen on pgAdmin, as the majority of >>> the ones that I found are. >>> >> >> I can't comment on the specific ways to sort it out, but I think *basing* >> things in option 2 is by far the best option. If it's just an additional >> add-on that can be made a dependency of the packages it's not a huge >> problem (provided this add-on is available on the major platforms like >> rhel, ubuntu, debian of course) >> > > It would just be a modified version of what we have. Instead of having an > icon in the system tray, we'd probably have multiple Start Menu icons to > replace the tray icon menu. They would have to signal a running instance to > do something, or become a new instance and then do the something if nothing > is running already. > Of course, another option here might be to figure out that we're running under Gnome/GTK at runtime, and if so, create an indicator icon and menu instead of the tray icon. That is, apparently, what Skype and other similar apps do now. The indicator icons go on the right of the top menu bar (kinda like where tray icons go on macOS). -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --f403045c4e229a277805680338e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Mar 22, 2018 at 4:28 PM, Dave Page <dpage@pgadmin.org><= /span> wrote:

2) This option is not very appeali= ng=C2=A0to me, because we would be pilling code into the QT portion of the = application, that I hope we remove in the future, that currently is unteste= d to solve a problem caused by a Window Manager......
I would be more in favor of crea= ting a Application Indicator that would support 2 actions, Kill running pgA= dmins and launch the browser to access them. There is a lot of interesting = websites that talk about this, and how to develop. I had to download one to= have a docker indicator..... But as I said in a previous thread, I believe= that this should be a 3rd party application and not a first class citizen = on pgAdmin, as the majority of the ones that I found are.

I can't comment on the = specific ways to sort it out, but I think *basing* things in option 2 is by= far the best option. If it's just an additional add-on that can be mad= e a dependency of the packages it's not a huge problem (provided this a= dd-on is available on the major platforms like rhel, ubuntu, debian of cour= se)

It would= just be a modified version of what we have. Instead of having an icon in t= he system tray, we'd probably have multiple Start Menu icons to replace= the tray icon menu. They would have to signal a running instance to do som= ething, or become a new instance and then do the something if nothing is ru= nning already.

Of c= ourse, another option here might be to figure out that we're running un= der Gnome/GTK at runtime, and if so, create an indicator icon and menu inst= ead of the tray icon. That is, apparently, what Skype and other similar app= s do now. The indicator icons go on the right of the top menu bar (kinda li= ke where tray icons go on macOS).=C2=A0

<= br>
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

Enterp= riseDB UK: http:/= /www.enterprisedb.com
The Enterprise PostgreSQL Company
--f403045c4e229a277805680338e9--