Hi, i love your components TMSFNCWebBrowser and TMSFNCMemo, but with TMSFNCMemo i think there is a problem initializing WebKit under ubuntu 22.04 and ubuntu 24.04. So the application start, the area o TMSFNCMemo is rendered on the form but i can't work because is empty and readonly. When i close the application i got a problem in PAServer when webkit will be released from mem that seems webkit was not initialized. So in my env i have libwebkit2gtk-4.0.so in the system.
I don't work so much on unit FMX.TMSFNCWebBrowser.Unix but i wanna try to load lib dinamically to understand where is the problem.
Thank you
Ivan
Hi,
If TTMSFNCWebBrowser
is initializing but TTMSFNCMemo
does not, then the issue is not with WebKitGTK but with something else.
Starting from a fresh installation we experienced the following:
- The
TTMSFNCWebBrowser
is blank, but the initialization happens and the cursor changes correctly when hovering over clickable items. We found a bug report about this here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072845#5
The suggested workaround is to set theWEBKIT_DISABLE_DMABUF_RENDERER
environment variable. We tested this and after setting the environment variable, the browser rendered correctly.
(Update: The bug actually seems to be related to NVIDIA drivers: 261874 – REGRESSION(2.42): [GTK] GTK 3 rendering broken with 2.42 on NVIDIA graphics) - After running the
TTMSFNCWebBrowser
successfully, we also testedTTMSFNCMemo
. Here the memo also remains blank, with seemingly no interaction, but right-clicking actually works, so it's just the memo that is not initializing but WebKitGTK is working. Is this the issue you are having?