Page 1 of 1

Smart client UI troubles with 2021.12

PostPosted: Thu Jan 13, 2022 5:53 pm
by omar
Hi Guys,

I upgraded two NG-client projects without issues from 2021.9 to 2021.12. However after upgrading my Smart Client project the UI only partially paints the controls. On some forms some controls are missing and on others the whole screen stays blank. This is the case on both my Mac and my Windows laptop. There is no logging of interest in the servoy logfile. Does anybody else have the same issue? Reverting to 2021.9 fixes it but I like to keep up. Can I still download the 2021.9 windows installer anywhere?

Any help is appreciated!

Re: Smart client UI troubles with 2021.12

PostPosted: Thu Jan 13, 2022 6:18 pm
by jcompagner
thats is really weird because code wise smartclient isn't really changed for a long time.
Are you sure there is nothing else? like a different java that is running the smart client? or some 3rd party plugins?
al the logging stuff is in our default install not really affected as far as i know (log4j is not used in smart client, but it could be by other plugins)

Re: Smart client UI troubles with 2021.12

PostPosted: Fri Jan 14, 2022 12:02 pm
by omar
Hi Johan,

I fixed it by using OpenJDK 11. Don't know what the problem is with Java 17 that ships with Servoy?

Re: Smart client UI troubles with 2021.12

PostPosted: Fri Jan 21, 2022 3:27 pm
by alk
Hi Omar,
I do have the same problem....
Can you give me short description how
+ to install OpenJDK 11
+ what I have to change in Servoy configuration

Thanks,
Greetings from Berlin
Ralf

Re: Smart client UI troubles with 2021.12

PostPosted: Fri Jan 21, 2022 4:16 pm
by omar
Hi Ralf,

Sure, you can download the OpenJDK 11 from https://jdk.java.net/archive. Unzip the jarfile or zipfile and place the jdk folder in a location of your choice. Then edit the Servoy.ini file and locate the line with -vm and change it as follows (assuming JDK 11.0.2):

Windows:
-vm <your path>/jdk-11.0.2/bin/server/jvm.dll

Mac:
-vm <your path>/jdk-11.0.2.jdk/Contents/Home/lib/jli/libjli.dylib

Re: Smart client UI troubles with 2021.12

PostPosted: Fri Jan 21, 2022 7:28 pm
by alk
Perfect !
it worked andf I am realy happy

Nice weekend
Ralf