Re: How to enable PgAdmin Query Tool Favorites

From: "J(dot)F(dot) Oster" <jinfroster(at)mail(dot)ru>
To: Vahdet Mert <vahdet(dot)mert(at)hotmail(dot)com>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: How to enable PgAdmin Query Tool Favorites
Date: 2015-09-18 04:04:00
Message-ID: 1836339565.20150918070400@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
margin: 5px 5px 5px 5px;
background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
font-size: 9pt;
font-family: 'Courier New';
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
span.rvts1 /* Heading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #0000ff;
}
span.rvts2 /* Subheading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #000080;
}
span.rvts3 /* Keywords */
{
font-size: 10pt;
font-family: 'Arial';
font-style: italic;
color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
span.rvts6
{
font-size: 11pt;
font-family: 'tahoma';
font-weight: bold;
color: #ffffff;
background-color: #0000ff;
}
span.rvts7
{
font-size: 11pt;
font-family: 'tahoma';
}
span.rvts8
{
font-size: 8pt;
font-family: 'tahoma';
}
a.rvts9, span.rvts9
{
font-size: 8pt;
font-family: 'tahoma';
color: #0000ff;
text-decoration: underline;
}
span.rvts10
{
font-size: 8pt;
font-family: 'arial';
font-style: italic;
color: #c0c0c0;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
text-align: left;
text-indent: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
text-align: center;
}
--></style>
</head>
<body>

<p>Hi!</p>
<p><br></p>
<p>I've noticed this too but had no time to research.</p>
<p>If I recall it correctly, there shows up some difference in events order when building the menu.</p>
<p>May be, in buggy scenario, pgAdmin first checks the number of menu items (0) and decides to disable, later the menu is filled with items.</p>
<p><br></p>
<p>If You are on Ubuntu, could you try with another desktop environment? (KDE or Gnome instead of default Unity).</p>
<p>I remember that the bug shows up with Unity only.</p>
<p><br></p>
<p><br></p>
<p><br></p>
<p>Thursday, September 17, 2015, 4:18:34 AM, you wrote:</p>
<p><br></p>
<div><a name="stopSpelling"></a>
<table border=0 cellpadding=1 cellspacing=2>
<tr valign=top>
<td width=13 style="background-color: #0000ff;">
<p><span class=rvts6>&gt;</span></p>
</td>
<td width=1124 style="background-color: #ffffff;">
<p><br></p>
<p><br></p>
<p><span class=rvts7>Hi Colin,</span></p>
<p><span class=rvts7>Thanks for the feedback. I have also pgAdmin III installed on my Windows 7 workstation and I can observe there the exact behaviour that you are explaining:&nbsp;</span></p>
<p><span class=rvts7>- add favorite remains greyed out until there is actually something in the query box to save</span></p>
<p><span class=rvts7>- manage favs remains greyed out until there is something to manage</span></p>
<p><span class=rvts7>But on my Ubuntu 14.04 laptop, the &#8216;Add favourite&#8230;&#8217; and &#8216;Manage favourites&#8230;&#8217; are greyed out all the time.</span></p>
<p><span class=rvts7>I have text entered in the query box and the &#8216;Add favourite&#8230;&#8217; is still grey.</span></p>
<p><span class=rvts7>Regards,</span></p>
<p><span class=rvts7>Vahdet</span></p>
<p><br></p>
<p><span class=rvts7>&nbsp;</span></p>
<p><br></p>
<hr noshade size=2>
<p><span class=rvts7>Subject: Re: [pgadmin-support] How to enable PgAdmin Query Tool Favorites</span></p>
<p><span class=rvts7>To: vahdet(dot)mert(at)hotmail(dot)com; pgadmin-support(at)postgresql(dot)org</span></p>
<p><span class=rvts7>From: colbec(at)kingston(dot)net</span></p>
<p><span class=rvts7>Date: Wed, 16 Sep 2015 05:12:33 -0400</span></p>
<p><br></p>
<p><span class=rvts7>On 15/09/15 10:46 PM, Vahdet Mert wrote:</span></p>
<p><br></p>
</td>
</tr>
</table>
</div>
<p><span class=rvts8>Hi PGAdmin Support,</span></p>
<p><span class=rvts8>&nbsp;</span></p>
<p><span class=rvts8>On 2 Sep, I sent message to&nbsp;</span><a class=rvts9 href="mailto:pgsql-bugs(at)postgresql(dot)org">pgsql-bugs(at)postgresql(dot)org</a><span class=rvts8>&nbsp;asking for help with PgAdmin Query Tool Favorites. I havent received any reply and I hope this group will be more helpful:</span></p>
<p><span class=rvts8>&nbsp;</span></p>
<p><span class=rvts8>Bug reference: 13605</span></p>
<p><span class=rvts8>Logged by: Vahdet Mert</span></p>
<p><span class=rvts8>Email address:&nbsp;</span><a class=rvts9 href="mailto:vahdet(dot)mert(at)hotmail(dot)com">vahdet(dot)mert(at)hotmail(dot)com</a></p>
<p><span class=rvts8>PostgreSQL version: 9.3.9</span></p>
<p><span class=rvts8>Operating system: ubuntu 14.04</span></p>
<p><span class=rvts8>Description:&nbsp;</span></p>
<p><br></p>
<p><span class=rvts8>I use pgAdmin extensively but cannot get the Query Tool favorites to work.</span></p>
<p><span class=rvts8>The Add Favourite and Manage Favourite menu options are greyed out.</span></p>
<p><br></p>
<p><span class=rvts8>I have a valid .pgadminfavorites xml file as I can edit the xml directly and</span></p>
<p><span class=rvts8>see the resulting favorites queries under the Favorites menu. But I just</span></p>
<p><span class=rvts8>cannot add new favorites or manage existing through the pgadmin interface.</span></p>
<p><br></p>
<p><span class=rvts8>Running Ubuntu 14.04 and pgAdmin 1.18.1</span></p>
<p><br></p>
<p><span class=rvts8>Thanks,</span></p>
<p><span class=rvts8>Vahdet</span></p>
<p><span class=rvts8>&nbsp;</span></p>
<p><span class=rvts8>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></p>
<p><span class=rvts8>As feedback, works for me. I'm on openSUSE 13.2 latest pgadmin and I can save and retrieve queries. Note that the add favorite remains greyed out until there is actually something in the query box to save. As soon as a query is saved as a favourite, when you click the menu item the fav appears at the bottom of the list of options and a click on that brings it back. Manage favs remains greyed out until there is something to manage.</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts10>--&nbsp;</span></p>
<p><span class=rvts10>Best regards,</span></p>
<p><span class=rvts10>&nbsp;J.F.</span></p>

</body></html>

Attachment Content-Type Size
unknown_filename text/html 6.3 KB

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Ashesh Vashi 2015-09-22 05:36:01 Re: Possible Bug: pgAdmin3 , OSX multi monitor quirk.
Previous Message Vahdet Mert 2015-09-17 01:18:34 Re: How to enable PgAdmin Query Tool Favorites