New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

App behaves strangely when double-clicked vs command-line

Post Reply New Thread Subscribe

Thread Tools

Member Since: Oct 26, 2010
Posts: 1
matt_d is on a distinguished road

matt_d is offline
I'm currently re-branding and customizing the SeaMonkey browser. None of that is really important except for the fact that I see different behavior in how I run the program: double-clicking the icon vs running from command-line.

Basically, I've created my own binary executable that starts the browser with command-line arguments. If I run the binary executable which is the file that is referenced by "Executable file" in Info.plist at the command-line, my browser starts perfect every time (./foomozlauncher).

However, if I run my browser by double-clicking the icon it sometimes starts in a strange state where I can't focus or type in any textboxes in the browser. I can make this consistently happen if I wipe the profile cache and upon the first start up (via double-clicking) it enters the messed-up state and every subsequent start-up works fine as if I had run it via command-line. If I run via command-line the browser starts *perfectly* no matter whether I've wiped the profile cache or not.

So what I need to know is where the problem lies via double-clicking. I thought running the same "Executable file" at the command line was identical to running the app via double-clicking the icon. Doesn't double-clicking in effect just run the binary executable identified by the "Executable file" field in Info.plist? If so why does running that same binary at the command-line always work but double-clicking the app icon create the strange behavior?

I will attach my Info.plist and maybe someone might see something missing that I need. I do know that the SeaMonkey browser uses Rosetta which I've already installed if that makes any difference.
Attached Files
File Type: txt Info.plist.txt (6.1 KB, 1 views)
QUOTE Thanks

Post Reply New Thread Subscribe

« Record Amplitude Readout | Best Interface Builder Tool For The Job »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
New Apple App - "Shopping" the8thark Apple Rumors and Reports 2 05-29-2010 04:40 AM
Best Location-aware app?? elsworth864 iOS and Apps 0 02-24-2010 04:56 PM
Mail behaves very very strangely... 24z Switcher Hangout 3 01-23-2008 04:42 AM
double clicked dmg file, spinning wheel won't stop bduenskie Switcher Hangout 3 10-11-2006 11:32 AM
Changing the default app. when file is clicked marin.mac OS X - Apps and Games 2 10-03-2005 11:17 PM

All times are GMT -4. The time now is 03:44 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?