Application does not work on Ubuntu 22.04
Following this issue: https://github.com/elixir-desktop/desktop-example-app/issues/14
I installed a fresh version of Ubuntu in a VM:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
I am using the following versions:
elixir v1.13-otp-24 /home/fl4m3/.tool-versions
erlang 24.3.4 /home/fl4m3/.tool-versions
nodejs 16.17.0 /home/fl4m3/.tool-versions
sqlite 3.39.2 /home/fl4m3/.tool-versions
I also installed wxWidgets 3.2.0 from Github (compiled for my version): https://github.com/wxWidgets/wxWidgets
More specifically, I installed the base version following this guide: https://github.com/wxWidgets/wxWidgets/tree/master/docs/base
After that I followed the normal instructions:
mix deps.get
cd assets
npm install
cd ..
mix assets.deploy
./run
The first time I launch the app it crashes:

Using the browser seems to work, but I also get some errors:
[notice] Casting {:ok,
[
{:dbus_message,
{:dbus_header, 108, 3, 0, 1, 96, 24,
[
{4, "org.freedesktop.DBus.Error.UnknownProperty"},
{5, 2590},
{6, ":1.30"},
{8, "s"}
]},
"Property IconAccessibleDesc not found in interface org.kde.StatusNotifierItem at given path"}
], ""}
That webkit crash message I haven't seen before. For Ubuntu 22.04 I would expect that the built-in (apt) wxWidgets is recent enough. Did you try building with that?
Regarding the noise, this is unfortunately coming from the dbus library, and I'm not sure how to disable it best. Will have a look, but this really shouldn't cause any issues
[notice] Casting {:ok,
[
{:dbus_message,
{:dbus_header, 108, 3, 0, 1, 96, 24,
[
{4, "org.freedesktop.DBus.Error.UnknownProperty"},
{5, 2590},
{6, ":1.30"},
{8, "s"}
]},
"Property IconAccessibleDesc not found in interface org.kde.StatusNotifierItem at given path"}
], ""}
I installed wxWidget via the tar ball and compiled it for my Ubuntu release. You can check the specific guide I followed: https://github.com/wxWidgets/wxWidgets/tree/master/docs/base
I was not able to find any apt version for wxWidgets for Ubuntu 22.04. The only guide I found was for wxWidgets 2.8 (which is heavily outdated) and it does not work on 22.04 as the packages no longer exist: https://wiki.wxwidgets.org/Installing_and_configuring_under_Ubuntu
So I finally got Ubuntu 22 installed and was able to reproduce a blank page. Googling for this issue I found this workaround that I've added now to the ./run bash file:
# Ubuntu bug workaround (see e.g. https://github.com/reflex-frp/reflex-platform/issues/735)
export WEBKIT_DISABLE_COMPOSITING_MODE=1
Let me know if this fixes the issue for you as well
I can't test this right now, as I deleted my VM and am out of space, but I am happy this issue got visibility and that a solution was found. I will close this ticket, and thank you for the help as alone I was not able to find a solution.