Johan Vromans wrote:
Hi,
Someone informed me that my wxperl application wxKeyring misbehaves on
Mac OSX. According to the report, the app does not show a title and
menu bar and doesn't get focus.
Could anyone with some Mac OSX knowledge and a couple of minutes spare
time please take a look?
http://johan.vromans.org/software/sw_palmkeyring.html
A sample keyring can be found (temporarily) on
http://www.squirrel.nl/pub/xfer/wxkeyring.pdb
Its password is secret
Thanks,
-- Johan
On OSX wxperl apps need to be run with wxPerl (instead of perl)
Not getting the focus is a known (and yet unsolved) issue.
I spoke with the person who informed you and he already confirmed using
"wxPerl" makes a difference.
I tried your application too but unfortunately on my system it crashes
when fetching the password:
huub-peterss-macbook:wxkeyring-0.94 hpeters$ wxPerl /usr/local/bin/wxkeyring
Use of uninitialized value in pattern match (m//) at
/Library/Perl/5.8.8/Palm/Keyring.pm line 71.
Can't locate object method "UsePrimarySelection" via package
"Wx::Clipboard" at /usr/local/bin/wxkeyring line 519.
My version (on perl 5.8.8):
huub-peterss-macbook:~ hpeters$ perl -MWx -le'print "Wx Version:
$Wx::VERSION " . Wx::wxVERSION_STRING()'
On Mac OS X please run scripts with the 'wxPerl' interpreter
Wx Version: 0.86 wxWidgets 2.8.8
Cheers,
Huub Peters