[PyQt] Mac OS-X 10.5 "two icons bouncing in the dock" problem

Hans-Peter Jansen hpj at urpla.net
Thu Aug 13 12:30:25 BST 2009


[Sorry for cross-posting]

Hi,

attached script demonstrates an ugly issue, I'm fighting with since a couple 
of days.

Issue:
when starting the app via double click, single click on dock icon, dropping 
a plain/text file on dock or application icon, all actions lead to two 
icons bouncing. 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 it behaves well, up to the point 
of being terminated, then the game starts again.

It's not depending on the arch, but on OS-X 10.5. It does not happen with 
10.4. It is 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 -release

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 to solve the problem are highly appreciated.

Thanks,
Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: launchprob.tar.gz
Type: application/x-tgz
Size: 3766 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090813/3d4bed9c/launchprob.tar.bin


More information about the PyQt mailing list