Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Nov 17, 2019 2:14 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Application crashes (freeze) on dialog boxes
PostPosted: Fri Jan 11, 2013 5:21 pm 
Offline

Joined: Fri Dec 01, 2006 9:39 pm
Posts: 180
Some of my users are reporting that the application freeze as soon as a dialog window opens. (like OpenDialog or SaveAsDialog)
I told them to deactivate all third party items at the System Preferences, but without any luck.
I can not reproduce this behavior. Only a few user has got this problem...

Anybody heard of this?


Top
 Profile  
Reply with quote  
 Post subject: Re: Application crashes (freeze) on dialog boxes
PostPosted: Fri Jan 11, 2013 6:58 pm 
Offline

Joined: Fri Dec 01, 2006 9:39 pm
Posts: 180
The App freeze only with:
dim d As New OpenDialog
dim f As FolderItem
f = d.ShowModalWithin( window1 )


This works just fine:
dim d As New OpenDialog
dim f As FolderItem
f = d.ShowModal( window1 )


So the Problem is ShowModalWithin!

But why? :roll:

Mac OSX 10.8.2
RealStudio 2011 r4.3


Top
 Profile  
Reply with quote  
 Post subject: Re: Application crashes (freeze) on dialog boxes
PostPosted: Sat Jan 12, 2013 12:44 am 
Offline

Joined: Mon Jul 24, 2006 4:06 am
Posts: 274
Carbon or Cocoa? Main thread or another thread?

_________________
Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals


Top
 Profile  
Reply with quote  
 Post subject: Re: Application crashes (freeze) on dialog boxes
PostPosted: Sat Jan 12, 2013 12:58 am 
Offline

Joined: Fri Dec 01, 2006 9:39 pm
Posts: 180
Beatrix Willius wrote:
Carbon or Cocoa? Main thread or another thread?

Carbon!

I made a test application by creating a new project in REALStudio,
placed a BevelButton onto window1 and entered this code into its ActionEvent:
dim d As New OpenDialog
dim f As FolderItem
f = d.ShowModalWithin( window1 )


And even this Application freezes as soon the BevelButton is clicked. Said the user.
:?


Top
 Profile  
Reply with quote  
 Post subject: Re: Application crashes (freeze) on dialog boxes
PostPosted: Sat Jan 12, 2013 1:52 am 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
Location: Portland, OR USA
The difference between ShowModal and ShowModalWithin is that ShowModalWithin shows the dialog as a Sheet window. Don't know if that is at all helpful, but it does point to a possible culprit. Can't imagine what it might be about the user's system.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group