| Summary: | Regression after (Bug 498392 Create a more general configuration design), on Linux Webkit1,2 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Leo Ufimtsev <lufimtse> |
| Component: | Nebula | Assignee: | Project Inbox <nebula-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Leo Ufimtsev <lufimtse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | dirk.fauth, lufimtse, nebula-inbox, wim.jongman |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=518961 https://bugs.eclipse.org/bugs/show_bug.cgi?id=519340 |
||
| Whiteboard: | |||
|
Description
Leo Ufimtsev
The error "Unsupported major.minor version 52" means you need to execute the example using Java 8. (In reply to Dirk Fauth from comment #1) > The error "Unsupported major.minor version 52" means you need to execute the > example using Java 8. Thank you for pointing this out. This works on Mac/Java8/SWT master. So it seems SWT/Linux/Webkit(1&2) is the only combo where it doesn't work. From what I gather, some Javascript in template.html: 154: function initEditor() { is triggering the exception. I don't know much about Nebula/RichTextEditor. Hmm: 1) Do you have Linux to test this with? 2) Any ideas what's causing this exception? Anyway to narrow this down to the specific javascript that's causing breakage? (I changed Target milestone because I thought I accidentally set the target milestone instead of version when I submitted. But if it's suppose to be 1.4.0, then so be it :-) ) (In reply to Leo Ufimtsev from comment #3) > (I changed Target milestone because I thought I accidentally set the target > milestone instead of version when I submitted. But if it's suppose to be > 1.4.0, then so be it :-) ) Yes we are working against 1.4.0 so this is the target milestone. If we don't fix it we will move it but it should be set always. (In reply to Leo Ufimtsev from comment #2) > (In reply to Dirk Fauth from comment #1) > > The error "Unsupported major.minor version 52" means you need to execute the > > example using Java 8. > > Thank you for pointing this out. This works on Mac/Java8/SWT master. So it > seems SWT/Linux/Webkit(1&2) is the only combo where it doesn't work. Submitted: Bug 519340 – org.eclipse.nebula.widgets.richtext.example doesn't launch on Cocoa due to java 1.7 (In reply to Leo Ufimtsev from comment #2) > Thank you for pointing this out. This works on Mac/Java8/SWT master. So it > seems SWT/Linux/Webkit(1&2) is the only combo where it doesn't work. > > From what I gather, some Javascript in > template.html: 154: function initEditor() { > is triggering the exception. > > I don't know much about Nebula/RichTextEditor. Hmm: > 1) Do you have Linux to test this with? > 2) Any ideas what's causing this exception? Anyway to narrow this down to > the specific javascript that's causing breakage? 1. No I don't have a Linux system to test 2. I have absolutely no idea why it works on Windows and Mac but not on Linux. What is done in the end is that the ckeditor is initialized, and the configuration is retrieved from a Java class. Unfortunately the error is not very speaking. Could be a typo or semantically issues that is not treated on Windows and Mac, could be also an issue with the Java-Javascript binding stuff in SWT Browser and BrowserFunctions. (In reply to Dirk Fauth from comment #6) > 1. No I don't have a Linux system to test > 2. I have absolutely no idea why it works on Windows and Mac but not on > Linux. What is done in the end is that the ckeditor is initialized, and the > configuration is retrieved from a Java class. Unfortunately the error is not > very speaking. Could be a typo or semantically issues that is not treated on > Windows and Mac, could be also an issue with the Java-Javascript binding > stuff in SWT Browser and BrowserFunctions. Hmmm. I'm not aware of anything broken in Swt/Webkit1 that could cause the issue (but who knows..). On Swt/Webkit2 port, there is one thing that still needs doing: Bug 510905 – [GTK3][Webkit2] Implement webkit2 support for browser function (Part 2: Java return a value from callback.) But the old commit before regression (b67556dd99613332018ee8e56fe4434a9eae6733) worked on on Swt/Webkit2. So something in the update (4c8848af261711f5ccefadbb0a6b1a7fbf10efaf) doesn't work well on Webkit1/2. Seems like I'd have to step through the javascript to find out the exact broken spot. It might be some time before I can get to this. If a snippet of this is made available, it would help. Fixed via https://git.eclipse.org/r/#/c/116384/ |