Form elements disappear sometimes

Questions, answers, tips and ideas on Servoy Client

Form elements disappear sometimes

Postby Bernd.N » Wed Apr 29, 2015 12:05 pm

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).
Last edited by Bernd.N on Sat Aug 01, 2015 4:37 pm, edited 1 time in total.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Form elements disappear sometimes

Postby Bernd.N » Sat Aug 01, 2015 4:36 pm

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.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Form elements disappear sometimes

Postby joe26 » Tue Aug 04, 2015 5:14 pm

We see that during Citrix GoToAssist sessions as well. No resolution yet. Perhaps due to some VM glitch in Java?
joe26
 
Posts: 172
Joined: Wed Jun 19, 2013 10:30 pm

Re: Form elements disappear sometimes

Postby Bernd.N » Fri Oct 30, 2015 5:10 pm

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.
Attachments
form problem.jpg
form problem.jpg (317.82 KiB) Viewed 10369 times
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Form elements disappear sometimes

Postby Andrei Costescu » Fri Oct 30, 2015 5:33 pm

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.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Form elements disappear sometimes

Postby Andrei Costescu » Fri Oct 30, 2015 5:42 pm

A support case was created for this as well: SVY-9039
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Form elements disappear sometimes

Postby Bernd.N » Fri Oct 30, 2015 6:22 pm

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.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Form elements disappear sometimes

Postby joe26 » Fri Dec 09, 2016 12:42 am

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.
joe26
 
Posts: 172
Joined: Wed Jun 19, 2013 10:30 pm

Re: Form elements disappear sometimes

Postby developers10 » Thu Mar 30, 2017 3:23 pm

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
developers10
 
Posts: 31
Joined: Thu Feb 23, 2017 5:33 pm

Re: Form elements disappear sometimes

Postby patrick » Fri Mar 31, 2017 11:07 am

I guess you can add them to the servoy.vmClientArgs setting in servoy-admin
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests

cron