Monday, November 20, 2017

#1 2009-09-10 04:41:05 pm

Markus00000
Member
Registered: 2009-09-10
Posts: 2

App crashes when certain GUI controls are added

Hello everybody,

I am new here, so... Hi!

This problem is really weird. I built a little GUI in Interface Builder. I simulated it. I ran my app from Xcode. Everything fine. Then I added some more GUI controls. Surprisingly, now my app crashes about 100 ms after the GUI is drawn. Simulation still works. When I remove the newly added controls, my app will run again.

Here are some of the "bad setups":
1) Panel -> Tab View -> Box: Will run with box removed.
2) Panel -> Tab View -> Push Button: Will run with button removed.
3) Panel -> Tab View -> Table View: Will run with table removed.

Can anyone confirm this? Is it me? A bug?

A labels-only app is not what I intended to create... smile

Regards, Markus

Offline

 

#2 2009-09-10 05:20:16 pm

Craig Williams
Administrator
From:: Ft. Smith, AR
Registered: 2006-12-07
Posts: 888

Re: App crashes when certain GUI controls are added

Hi Markus and welcome to MacScripter!

It is difficult to tell without seeing the project. Would you mind emailing it
to me?

craigw@macscripter.net

Regards,

Craig

Offline

 

#3 2009-09-12 08:05:31 am

Markus00000
Member
Registered: 2009-09-10
Posts: 2

Re: App crashes when certain GUI controls are added

Hi,

Craig solved this. The disappearing panels were caused by "Hide On Deactivate" being activated.

Now, why do the very same panels hide when the main window displays a file choose dialog and don't reappear after the dialog has been closed?

Regards, Markus

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)