google-code-export / smartgwt

Automatically exported from code.google.com/p/smartgwt
1 stars 3 forks source link

Modal problem using Mozilla Firefox 17.0 #691

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Using latest Mozilla Firefox 17.0
2.http://www.smartclient.com/smartgwt/showcase#layout_windows_modality
3.click Show Window button

What is the expected output? 
Modal Windows appears and background container turns light gray.

What do you see instead?
Modal Windows appears and background container turns black.

What version of the product are you using?
SmartGWT 3.0p LGPL 
all latest versions including the latest (/builds/SmartGWT/3.0p/LGPL/2012-11-21)

On what operating system?
Windows System 7 pro

What browser(s) does this happen in?  
Mozilla Firefox 17.0

Are there any browsers where the
issue does not occur?
Google Crome 23.0.1271.64 m 
Mozilla Firefox 16.0 and earlier
Safari 5.1.7
IE 9.0

Please provide any additional information below.
After Firefox update, I noticed this effect in my project, I tried so 
http://www.smartclient.com/smartgwt/showcase#layout_windows_modality with the 
same results.
To be safe I downloaded Firefox again (latest version 17.0) but but without 
improvements.

Regards
Vittorio

Original issue reported on code.google.com by vlui...@tiscali.it on 21 Nov 2012 at 9:58

GoogleCodeExporter commented 9 years ago
Fixed for tomorrow's nightly builds of 3.0, 3.1, 4.0.

Firefox changed the format of "geckoVersion" in the userAgent string so 
workarounds were being applied that are only needed for ancient Firefox/Mozilla 
versions.

Original comment by smartgwt...@gmail.com on 21 Nov 2012 at 3:25

GoogleCodeExporter commented 9 years ago
Thanks for the concern, but after a few attempts using 
/builds/SmartGWT/3.0p/LGPL/2012-11-22 gwt compiler fails, see attached log, I 
tried it on three workstations getting the same failure, ultimately I 
reinstalled /builds/SmartGWT/3.0p/LGPL/2012-11-21.

Regards
Vittorio

Original comment by vlui...@tiscali.it on 22 Nov 2012 at 8:55

Attachments:

GoogleCodeExporter commented 9 years ago
We can't reproduce this compile issue, and it seems like it must be an issue 
with using some files from one version and some files from another.

If you need more help, post on the forums rather than on this issue (which is 
now unrelated) and be sure to explain exactly where all your files are from and 
how you are compiling.

Original comment by smartgwt...@gmail.com on 22 Nov 2012 at 8:15

GoogleCodeExporter commented 9 years ago
I do not want to take advantage of your kindness, 
but within smartgwt.jar (/builds/SmartGWT/3.0p/LGPL/2012-11-23), 
I found that in JSOHelper class, (package com.smartgwt.client.util) 
there is method public static jsDate convertToJavaScriptDate (Date date)

while in smartgwt.jar (/ builds/SmartGWT/3.0p/LGPL/2012-11-19)
the method is public static JavaScriptObject convertToJavaScriptDate(Date date)

I would not want to risk being trivial or superficial but
it would seem that the compiler try to find the method corresponding to the 
prototype in the previous version and within the latest version the method 
signature has changed then gwt compiler fails 
....
Caused by: java.lang.NoSuchMethodError: 
com.smartgwt.client.util.JSOHelper.convertToJavaScriptDate(Ljava/util/Date;)Lcom
/google/gwt/core/client/JavaScriptObject;
....

I completely reinstalled the whole environment
3.51 eclipse Galileo
appengine-java-sdk-1.7.3
com.google.gdt.eclipse.suite.3.5.update.site_3.1.2
but the result does not change

I will follow your advice and post the question in the forum.

thank you for your patience.

Best Regards
Vittorio

Original comment by vlui...@tiscali.it on 23 Nov 2012 at 7:55

GoogleCodeExporter commented 9 years ago
Eureka, I've removed all the data in the various compiler cache and now 
everything works fine, thank you for your courtesy.

Best Regards
Vittorio

Original comment by vlui...@tiscali.it on 24 Nov 2012 at 5:43