Re: Mac OS Experience - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Mac OS Experience
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B83AF0AC@mail.vale-housing.co.uk
Whole thread Raw
Responses Re: Mac OS Experience  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
List pgadmin-hackers
I'm Ccing this to the list as it does look like the emails are getting
there, just not back out again (yet)!

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 19 May 2003 14:42
> To: Dave Page
> Subject: Mac OS Experience
>
>
> So I've resolved all the issues that I encountered in my previous
> e-mails, and pgAdmin3 now compiles and links on Mac OS X.  I had to
> change two calls to Show() to Show(true) and added the
> changes detailed
> in my pgSequence.cpp patch.  Also, I changed some compile flags based
> on Apple recommendations for porting programs to Mac OS X.
> The changes
> are in the latest autoconf code that Dave has (is going to?) put into
> CVS.  Now, however, when I run the program, the following happens:

Has. Did it last night.

> 1) A while box the same size as the splash screen on linux
> and Windows
> appears, but is empty.  This is obviously the splash page, but it's
> empty.

We originally had that issue on Windows/Unix. The xpm format we now use
worked the best. Can you get an XPM to display in a simple test program?

> 2) The tip of the day box appears, filled in with a tip.
>
> That's all the happens.  I *can not* click any of the buttons of the
> checkbox in the tip of the day dialog.  There is no icon in the dock
> bar.  There is no application menu.  I cannot select the
> window or exit
> the program without using 'kill' from the command-line.
>
> Any ideas?  Perhaps my changes did this, but I would doubt it.

Can you see from the log where it gets to in the code? It may be useful
to add some logging calls (feel free to send a patch to add them to CVS
if you think they may have future value) to locate what bits work and
what doesn't.

<shouts across the office to Mark>

Mark seems to recall having seen something similar happen on Linux,
possible around the time we were experimenting with the splash screen.
Can't remember what it was though...

What happens if you comment out the splash screen so it never loads?
Maybe OS-X doesn't like the way it's trying to draw the picture.

Regards, Dave.

pgadmin-hackers by date:

Previous
From: Adam H.Pendleton
Date:
Subject: cvs and autoconf
Next
From: Adam H.Pendleton
Date:
Subject: pgSequence.cpp patch