New topic: 

Bouncing Icon

<http://forums.realsoftware.com/viewtopic.php?t=46590>

         Page 1 of 1
   [ 7 posts ]                 Previous topic | Next topic          Author  
Message        DaveS          Post subject: Bouncing IconPosted: Thu Jan 17, 
2013 9:34 am                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4423
Location: San Diego, CA                I have an app I wrote back in RS2010 or 
so..... and have a few customers around the world using it with no problem.

One such customer is in Poland.... and he suggested some feature 
enhancements.... so I decided to implement them.

In doing so, I brought the code up to RS2012r2, and tested everything on my two 
computers under LION (10.7.5) and Mt.Lion (10.8.2) with absolutly no problems.

I shipped a copy to him.  and he indicates that only two things happen when he 
launchs.

1) the appropriate menubar appears at the top of the screen
2) the dock icon.. bounces.. and bounces.

Since this is a situation I cannot duplcate... does anyone have ANY idea how I 
can figure out WHY it doesn't work for him (he too is running 10.8.2)      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                DaveS          Post subject: 
Re: Bouncing IconPosted: Thu Jan 17, 2013 10:19 am                              
   
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4423
Location: San Diego, CA                Customer has indicated that the app 
finally starts after bouncing for two minutes... and runs fine after that... 
but takes 1-2 minutes to shut down as well  (on my machine it starts in 3 
seconds, and shuts down even quicker)

He send me a "HangReport.pdf"... I do not know what he used to extract it, and 
have NO idea what it means.... but if it might help anyone here with resolving 
this .. I'd appreciate it.      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                kermit          Post subject: 
Re: Bouncing IconPosted: Thu Jan 17, 2013 11:56 am                         
Joined: Mon May 30, 2011 12:56 am
Posts: 592                Its all to do with whats in the Open event.
Are you creating a file/database?
trying to access a web site for registration?
Its probably struggling to connect...   
                             Top                DaveS          Post subject: 
Re: Bouncing IconPosted: Thu Jan 17, 2013 12:02 pm                              
   
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4423
Location: San Diego, CA                The open sequence is quite simple

It checks to see if a particular file exists on their computer (for later use 
in a SHELL command)... sets a flag true or false
Looks for a local registration file
If found, reads it, if not creates it

Thats pretty much it...

The only thing that changed from the previous version to new version (at least 
as far as open event is concerned). it the registration file.... It was a 
convoluted mess of encrypted files across the HD, now it is one clear text 
file.... 

On my own machines... the program activates in 1.2 seconds. doing all the same 
things

here is a log on my machine (customer does not have this logging feature)

0.000 : Start logging ......
0.002 : ENTER : Application : OPEN EVENT
0.003 : ENTER : Search for SIPS
0.003 : EXIT: SIPS Search : png,jpg,bmp,gif,tiff
0.004 : ENTER: Load Options
0.127 :   ENTER : WinMain OPEN
0.129 :   EXIT : WinMain Open
0.131 :   ENTER: GET REG INFO
0.628 :   EXIT : GET REG INFO
0.629 : EXIT : Load Options
1.045 : EXIT : Application : OPEN EVENT
1.220 : Enter WINMAIN Activate
1.221 : EXIT WINMAIN Activate
      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind      

    Last edited by DaveS on Thu Jan 17, 2013 3:55 pm, edited 1 time in total.   
                             Top                doofus          Post subject: 
Re: Bouncing IconPosted: Thu Jan 17, 2013 2:19 pm                               
  
Joined: Thu Sep 10, 2009 2:50 am
Posts: 336
Location: Santa Cruz, CA, USA                I once made a program to crawl all 
the files on my hd, it went through files fast but locked up occasionally. I 
tracked this down to a handful of files that just getting their folderitem 
would try to contact a server or something. Never figured out exactly what it 
was doing but even in the OS trying to GetInfo it it'd be a minute wait. So 
anyways, maybe this user has a file like that in their SIPS folder. Can't you 
send them a logging version of your app?   
                             Top                elChupete          Post 
subject: Re: Bouncing IconPosted: Thu Jan 17, 2013 2:26 pm                      
           
Joined: Fri Jun 05, 2009 11:50 am
Posts: 330
Location: Hamburg, Germany                ship a version with logging feature 
to customer and ask customer to return log. So you can see where time 
consumption goes up.

Then you can further analyze.      
_________________
Best regards

Stefan

Mac OSX 10.8.1 on a MacBook Pro 2.66 GHz Intel Core i7/ RB Professional 2011 
Release 3  
                             Top                DaveS          Post subject: 
Re: Bouncing IconPosted: Thu Jan 17, 2013 3:54 pm                               
  
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4423
Location: San Diego, CA                elChupete wrote:ship a version with 
logging feature to customer and ask customer to return log. So you can see 
where time consumption goes up.

Then you can further analyze.


That is exactly my plan...  

Thanks      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 7 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to