On Thu, Mar 22, 2018 at 4:28 PM, Dave Page <dp...@pgadmin.org> 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