Description editor is broken on Linux
See original GitHub issueSince a while we noticed that description editor on Linux is broken. Our current solution to that is downgrading some system libs (listed below). That temporary fix however will stop working soon as the downgraded packages may become incompatible with the rest of the OS.
This is how a broken description editor looks like on Ubuntu 20.04:
This is the list of packages and versions where the editor is still working:
libjavascriptcoregtk-4.0-18=2.28.1-1
libwebkit2gtk-4.0-37=2.28.1-1
And here is the stack trace:
org.eclipse.swt.SWTException: file:///home/.../apps/capella-5.2.0%20.202111301257/capella/plugins/org.eclipse.nebula.widgets.richtext_1.2.0.201711021145/org/eclipse/nebula/widgets/richtext/resources/template.html:213:50: ReferenceError: Can't find variable: getAllOptions
Script that was evaluated:
function SWTWebkit2TempFunc26(){initEditor();}; SWTWebkit2TempFunc26()
at org.eclipse.swt.browser.WebKit$Webkit2AsyncToSync.runjavascript(WebKit.java:1184)
at org.eclipse.swt.browser.WebKit$Webkit2AsyncToSync.evaluate(WebKit.java:1127)
at org.eclipse.swt.browser.WebKit.evaluate(WebKit.java:1445)
at org.eclipse.swt.browser.WebBrowser.evaluate(WebBrowser.java:406)
at org.eclipse.swt.browser.Browser.evaluate(Browser.java:670)
at org.eclipse.swt.browser.Browser.evaluate(Browser.java:619)
at org.eclipse.nebula.widgets.richtext.RichTextEditor$3.completed(RichTextEditor.java:297)
at org.eclipse.swt.browser.WebKit.lambda$7(WebKit.java:1911)
Session data:
eclipse.buildId=unknown
java.version=14.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
My text editor has the display problem, How to fix it?
It can be some mess (bug) with the custom configuration of the editor. Please try to remove ./.config/gedit from your home folder: rm...
Read more >580867 – Rich text editor is broken in Linux - Bugs - Eclipse
Created attachment 288775 [details] broken editor The rich text editor for comments does not work in Linux. You can only open the editor...
Read more >Fixing 'Shell Script Opening in Text Editor' in Ubuntu Linux
Double clicking on shell scripts opens with text editor instead of being executed? Here's what you can do to fix the issue in...
Read more >command line text editors in Linux (nano,vim) are not working
When I connect to a linux server with SSH and I try to edit a file with a command line editor like nano...
Read more >Text Editor Happenings : r/linux - Reddit
The Gedit maintainer wasn't interested in having that sort of overhead so he requested Gedit to be removed from core apps. As a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just downloaded the latest release for 6.0 and for my environment (Ubuntu 20.04) the description editor doesn’t seem fixed.
@vik378 I did the downgrade and it worked great in Capella. However, after the following suspend of the computer, I was locked out of the graphical interface. This is most likely a total coincidence (have troubles with NVIDIA drivers from time to time), but still… 🤔 To resolve this I had to reinstall gdm3 and I’m back with the newest libraries (so no editor in Capella again).
I’ll try to use your Dockerfile, thanks for providing this & your help 👍