Thread: Bug: title bar goes away

Bug: title bar goes away

From
Josh Berkus
Date:
All,

I'm having a recurring issue that sometimes I will start up pgadmin and
the title bar (the one which says "pgadmin", and which you need to grab
in order to move pgadmin around the screen) has vanished, and pgadmin is
"glued" to the top of the screen.

The only way to cure this seems to be to wipe out my pgadmin profile,
and start over.  As you can imagine, this is annoying.

Not sure if this is wxwindows or pgadmin, but the fact that I can fix it
by deleting the configuration profile suggests the latter.

Platform is OSX 10.5.  Version 1.10.1

--Josh Berkus


Re: Bug: title bar goes away

From
Dave Page
Date:
On Wed, Mar 3, 2010 at 1:54 AM, Josh Berkus <josh@agliodbs.com> wrote:
> All,
>
> I'm having a recurring issue that sometimes I will start up pgadmin and
> the title bar (the one which says "pgadmin", and which you need to grab
> in order to move pgadmin around the screen) has vanished, and pgadmin is
> "glued" to the top of the screen.
>
> The only way to cure this seems to be to wipe out my pgadmin profile,
> and start over.  As you can imagine, this is annoying.

Never seen that myself, despite a Mac being my primary machine. Can
you narrow down what setting(s) are causing it? I would imagine it's
something in the frmMain section of the file. I'd start with the
Perspective string.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PG East Conference: http://www.enterprisedb.com/community/nav-pg-east-2010.do


Re: Bug: title bar goes away

From
Josh Berkus
Date:
> Never seen that myself, despite a Mac being my primary machine. Can
> you narrow down what setting(s) are causing it? I would imagine it's
> something in the frmMain section of the file. I'd start with the
> Perspective string.

I don't know this data well enough to diagnose it, so here it is:

Perspective-7758=layout2|name=objectBrowser;caption=Object

browser;state=16779260;dir=4;layer=1;row=0;pos=0;prop=100000;bestw=200;besth=450;minw=100;minh=200;maxw=-1;maxh=-1;floatx=236;floaty=222;floatw=-1;floath=-1|name=listViews;caption=Info

pane;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=400;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sqlPane;caption=SQL

pane;state=16779260;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=400;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=toolBar;caption=Tool

bar;state=16788208;dir=1;layer=10;row=0;pos=0;prop=100000;bestw=520;besth=39;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(5,0,0)=202|dock_size(3,0,0)=611|dock_size(1,10,0)=41|dock_size(4,1,0)=435|
Left=0
Top=0
Width=1226
Height=800



Re: Bug: title bar goes away

From
Josh Berkus
Date:
Dave,

Oh, one more thing which might bear on this: this particular machine is
frequently connected and disconnected to a 2nd monitor while pgAdmin is
running.  However, there is not a direct cause-and-effect sequence
there; last time I lost the title bar, pgadmin was not running.

--Josh Berkus



Re: Bug: title bar goes away

From
Dave Page
Date:
Sorry - i meant does the problem go away if u remove just that line
(or any other) rather than the whole file?

On 3/3/10, Josh Berkus <josh@agliodbs.com> wrote:
>
>> Never seen that myself, despite a Mac being my primary machine. Can
>> you narrow down what setting(s) are causing it? I would imagine it's
>> something in the frmMain section of the file. I'd start with the
>> Perspective string.
>
> I don't know this data well enough to diagnose it, so here it is:
>
> Perspective-7758=layout2|name=objectBrowser;caption=Object
>
browser;state=16779260;dir=4;layer=1;row=0;pos=0;prop=100000;bestw=200;besth=450;minw=100;minh=200;maxw=-1;maxh=-1;floatx=236;floaty=222;floatw=-1;floath=-1|name=listViews;caption=Info
>
pane;state=1020;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=400;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=sqlPane;caption=SQL
>
pane;state=16779260;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=400;besth=200;minw=200;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=toolBar;caption=Tool
>
bar;state=16788208;dir=1;layer=10;row=0;pos=0;prop=100000;bestw=520;besth=39;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(5,0,0)=202|dock_size(3,0,0)=611|dock_size(1,10,0)=41|dock_size(4,1,0)=435|
> Left=0
> Top=0
> Width=1226
> Height=800
>
>


-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PG East Conference: http://www.enterprisedb.com/community/nav-pg-east-2010.do


Re: Bug: title bar goes away

From
Dave Page
Date:
My machine is used in a similar way.

On 3/3/10, Josh Berkus <josh@agliodbs.com> wrote:
> Dave,
>
> Oh, one more thing which might bear on this: this particular machine is
> frequently connected and disconnected to a 2nd monitor while pgAdmin is
> running.  However, there is not a direct cause-and-effect sequence
> there; last time I lost the title bar, pgadmin was not running.
>
> --Josh Berkus
>
>


-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PG East Conference: http://www.enterprisedb.com/community/nav-pg-east-2010.do


Re: Bug: title bar goes away

From
Josh Berkus
Date:
On 3/3/10 11:28 AM, Dave Page wrote:
> Sorry - i meant does the problem go away if u remove just that line
> (or any other) rather than the whole file?

Yes, it does.

--Josh Berkus



Re: Bug: title bar goes away

From
Dave Page
Date:
Ok, instead of restarting,please try the 'default layout' option (or
whatever its called) on the view menu.

On 3/3/10, Josh Berkus <josh@agliodbs.com> wrote:
> On 3/3/10 11:28 AM, Dave Page wrote:
>> Sorry - i meant does the problem go away if u remove just that line
>> (or any other) rather than the whole file?
>
> Yes, it does.
>
> --Josh Berkus
>
>


-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PG East Conference: http://www.enterprisedb.com/community/nav-pg-east-2010.do


Re: Bug: title bar goes away

From
Josh Berkus
Date:
Dave,

I'm still getting this, except that now I'm getting it intermittently on
query windows.  Using "default view" and/or "Zoom" makes the title bar
accessible again.

I think that this is probably a wxWindows bug.  How do I check my
wxWindows version on Mac?

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


Re: Bug: title bar goes away

From
Dave Page
Date:
On Mon, Mar 15, 2010 at 10:37 PM, Josh Berkus <josh@agliodbs.com> wrote:
> Dave,
>
> I'm still getting this, except that now I'm getting it intermittently on
> query windows.  Using "default view" and/or "Zoom" makes the title bar
> accessible again.

Hmm, default view I can understand, but Zoom is a Mac feature. I
wonder what it's doing...

> I think that this is probably a wxWindows bug.  How do I check my
> wxWindows version on Mac?

If you built pgAdmin yourself, then use /path/to/wx-config --version.
If you're using the packages we provide, then you're using 2.8.9 which
we use for all the Mac builds of pgAdmin and the one-click installer.


--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PG East Conference: http://www.enterprisedb.com/community/nav-pg-east-2010.do