I'm using TMS WEB Core VCS 2.7.2184 to build Miletus apps for Linux, and a new Miletus project won't run on current Ubuntu. I'd like to ask whether an update targeting the current WebKitGTK stack is planned.
Environment
- Host: Ubuntu 26.04.1 LTS (Resolute Raccoon) x86_64
- App: a new default Miletus Linux project (Debug build)
What I found
- The binary loads libwebkit2gtk-4.0.so and libsoup-2.4.so at runtime. Ubuntu 24.04 and later ship only WebKitGTK 4.1 (libwebkit2gtk-4.1-dev), which uses libsoup3. The 4.0 / libsoup2 packages are no longer available, so the app starts, the WebKit and libsoup handles come back nil, and it crashes with an access violation at address 0.
- Symlinking libwebkit2gtk-4.0.so to the 4.1 library doesn't work around it. All the WebKit symbols Miletus uses exist in 4.1, but Miletus also loads libsoup-2.4 directly, and libsoup2 and libsoup3 can't be loaded into the same process.
- Libraries are loaded by unversioned names (libgtk-3.so, libglib-2.0.so, libgdk_pixbuf-2.0.so, libicuuc.so, etc.). These exist only when the -dev packages are installed, so end users need development packages just to run the app. Loading the versioned sonames (e.g. libgtk-3.so.0, libwebkit2gtk-4.1.so.0) would avoid that.
- Under a Wayland session, the app fails with "Can't create a GtkStyleContext without a display connection" unless it's launched with GDK_BACKEND=x11.
- Minor: the app icon fails to load (gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed), even though MiletusLinux.png is present next to the binary.
Current workaround
The app runs correctly inside an Ubuntu 22.04 container (distrobox) with libwebkit2gtk-4.0-37 and libsoup2.4-1 installed. That's fine for development, but not something I can ask end users to do.
Request
- Could Miletus be updated to use webkit2gtk-4.1 + libsoup3, ideally trying 4.1 first and falling back to 4.0 for older distributions?
- Could runtime loading use versioned sonames so -dev packages aren't required?
- Is there a timeline, or a beta build I could test? I'm happy to test on current Ubuntu and report back.