Problem webkit2gtk SWT Browser Widget can not open URL to local html file [message #1852226] |
Thu, 05 May 2022 12:19 |
thomas huster Messages: 21 Registered: June 2012 |
Junior Member |
|
|
After the target update to eclipse 2022-03 (4.23) the Browser widget on Linux gtk no longer works with a file:// URI to a html file on the file system. A dialog to save the html file is shown instead of rendering the html file.
As there are also other files in the directory referenced by the html file, setting the html content with the setText() method is not an option.
EDIT:
Just tested this with a product built with an older target platform, which has the same problem. Seems this is related to the installed webkit version.
Currently:
webkit2gtk 2.36.0-2
webkit2gtk-4.1 2.36.0-2
The reason seems to be this bug of webkit. https://bugs.webkit.org/show_bug.cgi?id=230797
As mentioned in the bug report downgrading glib-2.72 to glib-2.70 is a workaround for the problem.
Regards,
Thomas
[Updated on: Thu, 05 May 2022 14:07] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02891 seconds