| Summary: | Sapphire HTML panel fails on default install of Ubuntu 11.04 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Greg Amerson <gregory.amerson> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | konstantin |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
|
Description
Greg Amerson
I have a lot of personal experience debugging the Mozilla embedded browser component on Linux. It is a nightmare at best. So that is not a problem that Sapphire can solve, we just have to know that the SWT Browser component on Linux fails about 50% of the time. In my test case its a brand new out-of-the box Ubuntu 11.04 (latest one) install. So its a terrible situation. However, I would like to see if Sapphire could try to degrade gracefully. Basically it can do some test ahead of time to check if it is going to completely fail and if so, don't even try to disable the HTML render panel. Perhaps it could fallback to just textarea or just have a label explaining that the particular component is no available. I'm wondering if there is a library out there that will take a HTML dom and extract the plain text, that could be displayed as a graceful fallback. I implemented the simple approach of showing a static "could not initialize embedded browser" message in place of the browser widget. We can explore more complex solutions in the future, if necessary. Please verify as I do not have ready access to a system to repro this problem on. Verified on linux with build#382 Closing. |