Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Jun 20, 2019 3:56 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Ubuntu 9.10 and Selectfolder in a Thread
PostPosted: Sat Apr 10, 2010 6:49 am 
Offline

Joined: Sun Oct 08, 2006 3:12 pm
Posts: 58
Location: Scotland
Further oddities noted with RB apps and Ubuntu 9.10 - (but not Ubuntu 8).

Using SelectFolder does not work (App silently quits) but only if it is in a thread.

I will try and make a quick test for a bug report.

_________________
- David


Top
 Profile  
Reply with quote  
 Post subject: Re: Ubuntu 9.10 and Selectfolder in a Thread
PostPosted: Sat Apr 10, 2010 8:05 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
No surprise. GUI in a thread is not allowed.

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Ubuntu 9.10 and Selectfolder in a Thread
PostPosted: Sat Apr 10, 2010 8:21 am 
Offline

Joined: Sun Oct 08, 2006 3:12 pm
Posts: 58
Location: Scotland
MonkeybreadSoftware wrote:
No surprise. GUI in a thread is not allowed.

Greetings
Christian



Interesting, same code works in Mac, Windows and Ubuntu 8. I will shift the open dialog outside the thread - thanks.

I still cannot get OpenPrinter to work (not in a thread) in one of my other programs in Ubuntu 9.10, yet I think it works in a simple test program, I need to make further tests, I got sidetracked with this thread problem.

Incidentally the Language Reference still makes no mention of the GUI in a Thread problem, in fact it gives an example of using threads for that.

Evidently Ubuntu 9.10 is more particular than the other platforms I have used regarding this.

_________________
- David


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group