Page 1 of 1

Form elements disappear sometimes

PostPosted: Wed Apr 29, 2015 12:05 pm
by Bernd.N
At a WebEx Conferenence with a client who uses a labtop I noticed an extreme flickering of a normal table form. The form even disappeard completely and part of it reappeard when the user went over the form with the mouse.

I suggested to start the labtop new, but even after that it remained.

I guess his labtop has not enough memory, but also would like to ask here if anyone noticed that same problem before, and what to do about it (besides using another pc with more memory).

Form elements disappear sometimes

PostPosted: Sat Aug 01, 2015 4:36 pm
by Bernd.N
I experienced now that a large part of my fields and tables inside a form disappeard, while I was online on my customer's server with a Windows remote desktop connection.

Did anybody else experienced this phenomenon that elements temporarily disappear at runtime in smart client?
I would like to know the root cause and possible countermeasures.

Re: Form elements disappear sometimes

PostPosted: Tue Aug 04, 2015 5:14 pm
by joe26
We see that during Citrix GoToAssist sessions as well. No resolution yet. Perhaps due to some VM glitch in Java?

Re: Form elements disappear sometimes

PostPosted: Fri Oct 30, 2015 5:10 pm
by Bernd.N
I had the problem again today while I was connected with a Cisco AnyConnect VPN client.
It can not be due to memory problems, as only the HR department works with it so far.

I enclose a picture with has the normal appearance of the table on top, and how it looks when some of the elements disappear. Those areas I marked with orange boxes. Sometimes the complete table disappeard, not only parts.
The server is a Windows 2012 server.

Re: Form elements disappear sometimes

PostPosted: Fri Oct 30, 2015 5:33 pm
by Andrei Costescu
All I could say is check for errors in logs and java console (can be enabled from control panel/java/advanced).
If that doesn't help I think this has to become somehow reproducible in order to try to solve it... Although it it sounds kind-of random.

Does this happen only when a specific JVM version runs smart client?
Does this only happen with remote desktop connection like software shows the client? (in the first post it sounded like it was running directly on that laptop) I also saw glitches like that with remote desktop connection software - but in all kinds of running apps.

I guess if you for example resize the client's window it will show correctly again.

Re: Form elements disappear sometimes

PostPosted: Fri Oct 30, 2015 5:42 pm
by Andrei Costescu
A support case was created for this as well: SVY-9039

Re: Form elements disappear sometimes

PostPosted: Fri Oct 30, 2015 6:22 pm
by Bernd.N
Andrei Costescu wrote:Does this happen only when a specific JVM version runs smart client?

I did not try to run other JVM versions so far, but I will do so when users run into it as well.

Andrei Costescu wrote:Does this only happen with remote desktop connection like software shows the client?

In both cases a remote desktop connection was involved, maybe they interfere somehow.

I will try to resize the client's window next time, thanks for the tip.

Re: Form elements disappear sometimes

PostPosted: Fri Dec 09, 2016 12:42 am
by joe26
Recently experienced an issue that may point to hardware acceleration as the problem in missing buttons.

Although I haven't seen a reoccurence of the missing buttons problem. This is at 7.4 after a 7.1 update, move to git from svn, i18n conversion, etc.

The GUI redraws at different origins on just one machine, causing it to look like the entire screen was going bad. This only happened within the Smart Client. On each mouseover, the onRender redrew the screen at a different origin (location of mouse pointer), making the view unusable, but remained responsive to clicks and mouse-overs.

Ran microsoft memory test on boot
ran as Java 32-bit 8u111 jre
ran as Java 64-bit 8u111 sdk
reinstalled Java bu111 sdk
updated video driver from AMD Radeon
stress test of video card
operates correctly from current server from a test machine and a dev machine, fails error machine
garbage collection between each window iteration and still shows corruption
never out-of-memory during test under Java control panel
test as web page, and works through html
onRender actions cause screen refresh, but the origin skews for each update, updatedUI
_JAVA_OPTIONS or JAVA_TOOL_OPTIONS
-Dsun.java2d.opengl=true,-Dsun.java2d.d3d=false,-Dsun.java2d.noddraw=true
Set the environment variable, to no effect
Set environment variable J2D_D3D=false
set JAVA_TOOL_OPTIONS='-Dsun.java2d.opengl=true,-Dsun.java2d.d3d=false,-Dsun.java2d.noddraw=true'
Set _JAVA_OPTIONS='-Dsun.java2d.opengl=true,-Dsun.java2d.d3d=false,-Dsun.java2d.noddraw=true'
These didn't take effect. Set batch file as
export _JAVA_OPTIONS='-Dsun.java2d.opengl=true,-Dsun.java2d.d3d=false,-Dsun.java2d.noddraw=true'
javaws c:\Users\user\Downloads\STS3.jnlp

So far no redraw issues.

Re: Form elements disappear sometimes

PostPosted: Thu Mar 30, 2017 3:23 pm
by developers10
Hi and sorry for replying to this dated thread but is there a way to configure these settings in de admin-page of servoy?
So the jnlp is generated containing these options?
Thx

Re: Form elements disappear sometimes

PostPosted: Fri Mar 31, 2017 11:07 am
by patrick
I guess you can add them to the servoy.vmClientArgs setting in servoy-admin