Hi!
I get a weid behaviour in Linux when I use the application.showFormInDialog() function… If the form I show in the dialog has a tab inside, all fields ‘seem’ to be not editable when the dialog is showed… Well, I said ‘seem’ because if I click in other window (not Servoy window) and I get back in dialog (the dialog and main form lose focus and get focus one more time), fields are editable… However, if the form doesn’t a tab, the behaviour is the expected (fields are editable immediately)
I only get this behaviour in Linux (Ubuntu)… Nobody gets same problem?
do you really use Suns java or OpenJDK?
there are some problems with OpenJDK i believe.
jcompagner:
do you really use Suns java or OpenJDK?
there are some problems with OpenJDK i believe.
Yes, I saw several post regarding “errors” with OpenJDK, but I use Sun’s Java…
Hi!
Nobody gets the same behaviour?
In the attachment, a simple solution with this behaviour (this solution uses Servoy sample ‘udm’ server)
How to use:
- click in “Open Form in Dialog” > in dialog is showed a form with all fields (but “product id”) editable;
- click in “Open Form in Dialog - with tab” > in dialog is showed a form with all fields not editable > click in other window not the main solution window > get back in dialog > fields (but “product id”) are editable
More data:
Ubuntu version: 10.04 LTS
java -version output:
java version “1.6.0_20”
Java™ SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot™ Client VM (build 16.3-b01, mixed mode, sharing)
Thanks in advance!
my_sample_solution.servoy (284 KB)
Gerardo,
I can reproduce this with my linux.
Please create a case in our crm with the sample attached.
Rob