I see the user interface issues: the double Help menu, the application
name in the menu bar says "Python" when it should be "peppy", and
errors showing up in the keyboard handling.
I also noticed that the filename completion wouldn't work because
wx.PopupWindow throws a NotImplementedError. Is there a workaround
for Macs to implement popups?
Rob
Great news -- I'm looking forward to it.
> I think the OS said it was 10.4.8.
You should be able to upgrade it for free (and automatically, I think)
to 10.4.11, though I have no idea what any of the changes are.
> I see the user interface issues: the double Help menu,
It looks like you've go this fixed -- yeah!
> the application
> name in the menu bar says "Python" when it should be "peppy",
The only way I know to fix this is to put it in an application bundle,
with the correct "info.plist". You do that with py2app. I think I"ve
committed the required files to SVN. py2app can be run in "Alias" mode,
in which case, it soft-links to your source code, so that changes are
reflected immediately, rather than having to re-build. IN fact, that's
the only way I've build Peppy so far.
Welcome to the wonderful world of OS-X!
> I also noticed that the filename completion wouldn't work because
> wx.PopupWindow throws a NotImplementedError. Is there a workaround
> for Macs to implement popups?
I have no idea, but I can poke around for you...
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Unfortunately, it's not mine full-time. :( I have the opportunity to
borrow an OSX laptop irregularly, but despite that limitation I've
made much better progress than trying to debug Mac specific code on
linux. :)
> It looks like you've go this fixed -- yeah!
What was efficient on GTK and MSW turned out to foil OSX. I was
reusing the same wx.MenuBar and only changing the components that
needed to be updated, so now only on OSX I recreate the entire menubar
from scratch. If I do that on other platforms it flickers a lot, but
it doesn't seem to on the Mac.
> The only way I know to fix this is to put it in an application bundle,
> with the correct "info.plist". You do that with py2app. I think I"ve
> committed the required files to SVN. py2app can be run in "Alias" mode,
> in which case, it soft-links to your source code, so that changes are
> reflected immediately, rather than having to re-build. IN fact, that's
> the only way I've build Peppy so far.
Right, I do recall you mentioning the application bundle before, now
that you mention it. IIRC, that also gives you the icon onto which
you can drop files, etc.
> Welcome to the wonderful world of OS-X!
It's purty, that's for sure. The last time I used a Mac was back on
System 7 when it was a bit more plain. I still have a bit of a phobia
about the single menubar at the top of the screen, but it's growing on
me. If I had a 1920x1200 monitor I might think different(ly), but on
a small laptop screen it's not too far to travel.
Took me a bit to figure out how to make my custom dvorak keyboard
layout, but that was pretty easy once I was pointed to a website that
generated most of the XML for me.
> > I also noticed that the filename completion wouldn't work because
> > wx.PopupWindow throws a NotImplementedError. Is there a workaround
> > for Macs to implement popups?
>
> I have no idea, but I can poke around for you...
I found an old message in the wxpython users list implementing a fake
popup using the wx.MiniFrame, but I can't get it to stop stealing
focus from the text entry control after typing a single character that
causes an item to be matched and selected from the popup's list. My
latest changes are in svn, you can run a standalone example by:
python peppy/lib/textctrl_autocomplete.py
that has my hacks on top of the hack that is TextCtrlAutoComplete from
the wxpython wiki.
Rob