[Gambas-user] Fwd: qt4 webkit

pflora at libero.it pflora at libero.it
Sun Jan 17 22:55:43 CET 2021


Following the advice I installed qt5 webkit but the result is exactly the same.

The page is rendered only with background color, no components shown on it.

I captured the html buffer and it consists of about 380 kB of just CSS code.

I think this CSS is not fully compatible with the web component in some way.

I don't know how to track the problem and I cannot enclose the html page as it is too big for the mailing list.

Any advice is appreciated,

thank you.


>     Il 17/01/2021 19:26 Bruce Steers <bsteers4 at gmail.com> ha scritto:
> 
> 
>     This would be the right place to ask and i'm not sure i'#m the right guy to answer but I will say this...
> 
>     I had some odd issues loading more complex web pages (like the gambas gitlab page) in different webkits.
> 
>     I found differences using qt5 and the new gtk3 webkit instead.
>     if your systems have qt5 i'd try the qt5.webkit.
> 
>     BruceS
> 
> 
>     On Sun, 17 Jan 2021 at 15:10, pinglix via User <user at lists.gambas-basic.org mailto:user at lists.gambas-basic.org > wrote:
> 
>         > >         Sorry to bother but I am trying to write a kiosk web client in gambas.
> > 
> >         I used a qt4 webkit Web View component and it works when I go to internet.
> > 
> >         I need to show a local page that comes from local node-red server and this does not work, strange things happens when I set the URL property, the page shows only some parts for a moment then disappears again and screen remains white.
> > 
> >         All other browsers shows the page correctly.
> > 
> >         I am not able to track the problem.
> > 
> >         Enclosed please find the project and system info.
> > 
> >         Who can I ask for this problem ?
> > 
> >         Is this the right place ?
> > 
> >         Thank you.
> > 
> >         System info:
> > 
> > 
> >         [System]
> >         Gambas=3.15.90
> >         OperatingSystem=Linux
> >         Kernel=5.0.0-32-generic
> >         Architecture=x86_64
> >         Distribution=Linux Mint 19.3 Tricia
> >         Desktop=XFCE
> >         Theme=windows
> >         Language=it_IT.UTF-8
> >         Memory=1844M
> > 
> > 
> >         [Libraries]
> >         Cairo=libcairo.so.2.11510.0
> >         Curl=libcurl.so.4.5.0
> >         DBus=libdbus-1.so.3.19.4
> >         GDK2=libgdk-x11-2.0.so.0.2400.32
> >         GDK3=libgdk-3.so.0.2200.30
> >         GStreamer=libgstreamer-1.0.so.0.1405.0
> >         GTK+2=libgtk-x11-2.0.so.0.2400.32
> >         GTK+3=libgtk-3.so.0.2200.30
> >         OpenGL=libGL.so.1.0.0
> >         Poppler=libpoppler.so.73.0.0
> >         QT4=libQtCore.so.4.8.7
> >         QT5=libQt5Core.so.5.9.5
> >         SDL=libSDL-1.2.so.0.11.4
> >         SQLite=libsqlite3.so.0.8.6
> > 
> > 
> >         [Environment]
> >         CLUTTER_BACKEND=x11
> >         DBUS_SESSION_BUS_ADDRESS=unix:path=/run/<user>/1000/bus
> >         DESKTOP_SESSION=xfce
> >         DISPLAY=:0.0
> >         GB_GUI=gb.qt4
> >         GDMSESSION=xfce
> >         GDM_LANG=it
> >         GTK_MODULES=gail:atk-bridge
> >         HOME=<home>
> >         LANG=it_IT.UTF-8
> >         LANGUAGE=it_IT.UTF-8
> >         LOGNAME=<user>
> >         PANEL_GDK_CORE_DEVICE_EVENTS=0
> >         PATH=<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> >         PWD=<home>
> >         QT_ACCESSIBILITY=1
> >         QT_LOGGING_RULES=*.debug=false
> >         QT_QPA_PLATFORMTHEME=qt5ct
> >         SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1086,unix/<hostname>:/tmp/.ICE-unix/1086
> >         SHELL=/bin/bash
> >         SHLVL=0
> >         SSH_AGENT_PID=1222
> >         SSH_AUTH_SOCK=/tmp/ssh-ZagfZM3vSQj2/agent.1086
> >         TZ=:/etc/localtime
> >         USER=<user>
> >         XAUTHORITY=<home>/.Xauthority
> >         XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg:/etc/xdg
> >         XDG_CURRENT_DESKTOP=XFCE
> >         XDG_DATA_DIRS=/usr/share/xfce4:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/usr/share
> >         XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
> >         XDG_MENU_PREFIX=xfce-
> >         XDG_RUNTIME_DIR=/run/<user>/1000
> >         XDG_SEAT=seat0
> >         XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> >         XDG_SESSION_DESKTOP=xfce
> >         XDG_SESSION_ID=c1
> >         XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> >         XDG_SESSION_TYPE=x11
> >         XDG_VTNR=7
> > 
> > 
> >         ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > 
> >     > 
>     ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210117/292a1d5f/attachment.htm>


More information about the User mailing list