[Pythonmac-SIG] Mac OS-X 10.5 and "two icons bouncing in the dock" problem

Hans-Peter Jansen hpj at urpla.net
Fri Aug 14 17:27:09 CEST 2009


Hi,

attached PyQt script demonstrates an ugly issue, I'm desperately fighting 
with since a couple of days :-(.

Issue:
when starting the app via double click or single click on dock icon or 
dropping a plain/text file on dock or application icon, all actions lead to 
two bouncing icons. 

The one with the blue spot is the good one, that stops bouncing after 
start-up. The bad one will stop bouncing eventually, and shows "Application 
not responding" in its context menu then. As long as the bad one exists, 
dropping files on the good one will be ignored. After killing (and 
sometimes removing from the dock is necessary) all is well - one can drop 
files one the good one and on the app icon, all behaves well, up to the 
point of being terminated, then this ugly game starts again.

The issue is not depending on the arch, but on OS-X 10.5. It does not happen 
with 10.4. It may be related to pyinstaller, but since I need to deploy the 
app on arbitrary 10.4 and later systems, omitting it is not an option. 

Pre conditions:
OS-X 10.5(.7/.8) with ppc or x86 arch
Xcode 3.1.3
Python-2.6.2
Qt-4.5.2
sip-4.8.2
PyQt-4.5.4

Build it this way:

tar xvzf launchprob.tar.gz && cd launchprob && ./build.sh -debug

This command will fetch pyinstaller's SVN trunk, build pyinstaller, generate 
the app itself: LaunchProb.app. It can be moved to any system, as long as 
all required packages are cleanly built for both archs(*) and the minimum 
OS-X release is 10.4. 

Any ideas how to solve this issue are greatly appreciated.

Thanks,
Pete

(*) I can provide more details for this on request
-------------- next part --------------
A non-text attachment was scrubbed...
Name: launchprob.tar.gz
Type: application/x-tgz
Size: 2848 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090814/3709f873/attachment.bin>


More information about the Pythonmac-SIG mailing list