Today I posted a reply to a thread by Krystof Jurecka created May 11 but I decided to repost a new thread with a better title in hopes of some feedback.
I have an app that uses several WebDialogs as Modal forms for data input on an SSL protected site. I have at least one user that cannot see most of the labels on any of the WebDialogs. The user says sometimes the labels appear the first time or two the WebDialogs are displayed then they simply show up as blank. She says that it happens on Chrome and Firefox on a Windows machine.
I have repeatedly tried to reproduce the problem but I cannot. Some labels have styles associated with them to change font sizes and colors and some are the default style of NONE. These all have the same problem and disappear (display as blank).
It seems if the Multiline property for a label is ON it works correctly all of the time. That could be a workaround but it does shift the label alignment some and I would have to adjust possibly 75 labels or more.
Because this one user is remote I cannot easily look at their machine.
Based on what I know it does appear to be client machine specific since most of the 20+ different users don’t report any problems to me.
Any suggestions on how to fix and/or debug what is really happening? I am not sure posting a bug report would help since I cannot reproduce the problem.
I have seen this issue too in 2015 R2.x which is why I kept a project at 2014 R2. I have not had a chance to verify or debug it. If I have time tomorrow I will do so.
Well I am not using any 2015 features on this project so I will make a copy and down grade it back to 2014 R2 and see what happens. At least that may be a quick workaround.
Bob, thanks for the tip.
I just tried a very basic test program with Palette and Sheet dialog with one label on it in Chrome, Safari, Safari iOS, Android default browser, Windows Internet Explorer, Edge, Opera. Each time the label displays fine.
Given the apparently very elusive nature of the issue, that one will not be easy to corner. Unless it would be due to some plugin in the user machine…
This issue is all the more surprising because Label is the simplest of HTML :
[code]
[/code]
I downgraded the project to use 2014r2.1 and the problem appears to have disappeared.
Now … how to track it down.
Ug. I just tried to reproduce this issue in 2015 R2.2 with a project I know exhibited this behavior a few weeks ago. Can’t reproduce it in a simple project either.
One thing you might try is clearing the Xojo cache and restarting. I’ve had some odd things mysteriously get fixed by doing that.
For now a recompile with the old version of XOJO has solved the problem but this does NOT correct the root cause of the issue.
OK … how do you clear the XOJO cache?
On the Mac it’s under ~user/Library/Caches/Xojo. Quit Xojo. Delete the entire directory and restart the computer. Technically the restart shouldn’t do anything but I’ve seen it clear a weird situation or two so I recommend that you do it.
Not sure under Windows.
I have just run into the problem.
Xojo 2015r2.2 on OS X 10.10.3
I can reproduce it consistently. I have two Web Pages: Main and Search, and one WebDialog
- Open Main Page. Click Main.Button1 to open WebDialog with labels.
- Close WebDialog.
- Click Main.Button2 to perform Search.Show.
- Click Search.button1 in Search to perform Main.Show.
- Click Main.Button1 to open WebDialog. Labels gone.
On my project I can reproduce 100% of the time.
[quote=197828:@Jeffry Walsh]I have just run into the problem.
Xojo 2015r2.2 on OS X 10.10.3
I can reproduce it consistently. I have two Web Pages: Main and Search, and one WebDialog
- Open Main Page. Click Main.Button1 to open WebDialog with labels.
- Close WebDialog.
- Click Main.Button2 to perform Search.Show.
- Click Search.button1 in Search to perform Main.Show.
- Click Main.Button1 to open WebDialog. Labels gone.
On my project I can reproduce 100% of the time.[/quote]
Apparently the issue is fixed, according to the status of <https://xojo.com/issue/38655> . Now we have to wait for the next release.
Yuck. That might be a while.