7.2 SmartClient on_close handler issue

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

7.2 SmartClient on_close handler issue

Postby swingman » Tue Nov 19, 2013 2:34 pm

Hi all,

We are on Servoy smart client 7.2.0 on Java7u45 on Mac, Mavericks and Mac OS X 10.8.5, PostgreSQL as backend.
We have had a few strange issues, but most have been due to problems in my code. One last issue remains:

I have an on_close handler in solution, it pops up a plugins.dialogs.showQuestionDialog to ask if the user wants to check in any documents they have checked out to their local hard drive for editing.

One user reported that the dialog box was coming up but it froze before displaying the text of the dialog box (a plain text message). The user had to quit Servoy again to get rid of the box. I adjusted the code and added a databaseManager.saveData() at the top of the on_close handler. This made Servoy exit without displaying any dialog at all. Took away the save, and Servoy now quits without appearing to executing the on_close handler at all.

Have anyone seen any similar problems? Any ideas?

Christian
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 3 guests

cron