gtk3.webview problem
Posted
Regular

gbWilly said
Seems like all NON iMacs play well with Gambas webview, just not the iMacs.
I have no clue what might be causing it as on your last system there is no xapp-gtk3-module like on the Toshiba (or my system), but it seems to work. So that is apparently not related to your Webview problem. I'm clueless.
One thing, just out of curiosity, what happens if you use qt5 webview on the iMacs? Do you still get a black screen?
I did a quick internet search and found libxapp-gtk3-module. I installed that on the iMac and did another sys info from Gambas. I don't see any difference. Maybe not the right thing. You might be right about old Apples. I have several old iMacs, mac minis and a couple macbooks. They do seem to have their quirks when Linux is installed and are often a pain in the neck. But they're so shiny and pretty
Yes, like I mentioned in my OP, QT does the same black screen for webview.
I'll keep working on this and report back anything I might discover. Maybe what I find might be useful for your GambOS project for guys like me that love old Apple stuff.
Code (gambas)
- Gambas=3.20.4 ab0099a (master)
- OperatingSystem=Linux
- Distribution=Debian GNU/Linux 12 (bookworm)
- Kernel=6.1.0-35-amd64
- Architecture=x86_64
- Cores=2
- Memory=3912M
- Language=en_US.UTF-8
- Platform=x11
- Desktop=LXQT
- DesktopResolution=96
- DesktopScale=7
- WidgetTheme=adwaita
- DarkTheme=False
- [Programs]
- dpkg=Debian 'dpkg' package management program version 1.21.22 (amd64).
- gcc=gcc (Debian 12.2.0-14+deb12u1) 12.2.0
- git=git version 2.39.5
- msgmerge=msgmerge (GNU gettext-tools) 0.21
- rpmbuild=RPM version 4.18.0
- [Libraries]
- Cairo=libcairo.so.2.11600.0
- Curl=libcurl.so.4.8.0
- DBus=libdbus-1.so.3.32.4
- GDK2=libgdk-x11-2.0.so.0.2400.33
- GDK3=libgdk-3.so.0.2406.32
- GStreamer=libgstreamer-1.0.so.0.2200.0
- GTK+2=libgtk-x11-2.0.so.0.2400.33
- GTK+3=libgtk-3.so.0.2406.32
- OpenGL=libGL.so.1.7.0
- Poppler=libpoppler.so.126.0.0
- QT5=libQt5Core.so.5.15.8
- QT6=libQt6Core.so.6.4.2
- RSvg=librsvg-2.so.2.48.0
- SDL=libSDL2-2.0.so.0.2600.5
- SQLite3=libsqlite3.so.0.8.6
- [Environment]
- BROWSER=firefox
- DESKTOP_SESSION=lxqt
- DISPLAY=:0
- GB_GUI=gb.gtk3
- GDMSESSION=lxqt
- GTK_CSD=0
- GTK_MODULES=gail:atk-bridge
- GTK_OVERLAY_SCROLLING=0
- HOME=<home>
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
- LOGNAME=<user>
- LXQT_SESSION_CONFIG=session
- PWD=<home>
- QT_ACCESSIBILITY=1
- QT_PLATFORM_PLUGIN=lxqt
- QT_QPA_PLATFORMTHEME=lxqt
- SSH_AGENT_PID=6074
- SSH_AUTH_SOCK=/tmp/ssh-ub0GkmhQHQU2/agent.6001
- TERM=qterminal
- TZ=:/etc/localtime
- XAUTHORITY=<home>/.Xauthority
- XDG_CACHE_HOME=<home>/.cache
- XDG_CONFIG_DIRS=/etc:/etc/xdg:/usr/share
- XDG_CONFIG_HOME=<home>/.config
- XDG_CURRENT_DESKTOP=LXQt
- XDG_DATA_DIRS=<home>/.local/share:/usr/local/share:/usr/share
- XDG_DATA_HOME=<home>/.local/share
- XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/<user>
- XDG_MENU_PREFIX=lxqt-
- XDG_SEAT=seat0
- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
- XDG_SESSION_CLASS=user
- XDG_SESSION_DESKTOP=lxqt
- XDG_SESSION_ID=2
- XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
- XDG_SESSION_TYPE=x11
- XDG_VTNR=7
Posted
Regular

Posted
Regular

rj71 said
I have a 2nd Mac Mini that is a little newer and also running the movies/streaming app with the webview. Booting up now I'll report back with more info.
I was starting to wonder if it's happening on only Apple machines…nope! This 2nd Mac mini has no black screen….webview works just fine.
This mac mini is a little newer…late 2014.
4 core i5
4 gig RAM
i did upgrade to gambas 3.20.4
I have no idea other than it's happening on Apple's with core duo processors. Maybe it's some other piece of hardware…I dunno. I really want to use the first gen mac mini…it's just been collecting dust for years before this I started this project. Maybe I need to look for some kind of work around for webview…*shrugs*
Posted
Administrator

rj71 said
I'll keep working on this and report back anything I might discover. Maybe what I find might be useful for your GambOS project for guys like me that love old Apple stuff.
That would be awesome if I could get GambOS running on my old Apple //e!
Posted
Regular

Posted
Regular

sholzy said
rj71 said
I'll keep working on this and report back anything I might discover. Maybe what I find might be useful for your GambOS project for guys like me that love old Apple stuff.
That would be awesome if I could get GambOS running on my old Apple //e!
I have 2 really old G5 Power Macs….the ones with big gorgeous aluminum case. One is still sitting back in the server room, the other got disected for a frankenstein project that I mated with a very old IBM Thinkpad
Posted
Administrator



I was wondering if gtk3.webview/qt5.webview isn't working, would qt5.webkit maybe work for showing web content?
The component will not be on Debian 13 as underlying libraries are no longer in Debian testing.
I made same application but now with qt5 webkit.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Administrator



That is because all is working as should, except for the visibiltyrj71 said
I just now noticed this…the url loaded as the links appear to be clickable when I move the mouse over it. Strange.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

gbWilly said
Neither gtk3 nor qt5 seem to be the problem, as both don't work.
I was wondering if gtk3.webview/qt5.webview isn't working, would qt5.webkit maybe work for showing web content?
The component will not be on Debian 13 as underlying libraries are no longer in Debian testing.
I made same application but now with qt5 webkit.
webkit.png
Wanna try it?
It works on the imac! But that won't be available in Debian 13??
Posted
Administrator



Well, better register as a contributor and get that iso downloaded and installed in an old Apple and see what happens and report on it in Contributor cornersholzy said
That would be awesome if I could get GambOS running on my old Apple //e!
It might be that parts of Gambas are not 100% working (like webview) but it seems like most other stuff does, so you can give it some sort of second life.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Administrator



webview is available for both gtk3 and qtrj71 said
It works! But that won't be available in Debian 13??
webkit is a qt only thing that has been around since qt4 and I used to do a lot with it.
It offers a lot more than webview, just compare them on wiki.
qt.webkit depends on libqt5webkit5.
As you can see here (https://packages.debian.org/bookworm/libqt5webkit5) it hasn't made it into testing, so it is impossible to even package it on Debian 13.
And if you look at the binaries list of current official debian gambas 3.20.1 in testing (https://tracker.debian.org/pkg/gambas3), at left side below, you will see NO qt5 but only qt6 and NO qt6.webkit, just qt6.webview component
Edit: There is also the gb.form.htmlview (https://gambaswiki.org/wiki/comp/gb.form.htmlview).
Never used it, but it says:
If it is just for showing content, that should do.This class provides a lightweight HTML/CSS viewer
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Administrator

gbWilly said
Well, better register as a contributor and get that iso downloaded and installed in an old Apple and see what happens and report on it in Contributor cornersholzy said
That would be awesome if I could get GambOS running on my old Apple //e!
![]()
It might be that parts of Gambas are not 100% working (like webview) but it seems like most other stuff does, so you can give it some sort of second life.
Unless you can create can create that .iso to fit on 1,600 5.25" install floppies, it's a no-go!
Posted
Regular

gbWilly said
webview is available for both gtk3 and qtrj71 said
It works! But that won't be available in Debian 13??
webkit is a qt only thing that has been around since qt4 and I used to do a lot with it.
It offers a lot more than webview, just compare them on wiki.
qt.webkit depends on libqt5webkit5.
As you can see here (https://packages.debian.org/bookworm/libqt5webkit5) it hasn't made it into testing, so it is impossible to even package it on Debian 13.
And if you look at the binaries list of current official debian gambas 3.20.1 in testing (https://tracker.debian.org/pkg/gambas3), at left side below, you will see NO qt5 but only qt6 and NO qt6.webkit, just qt6.webview component
Edit: There is also the gb.form.htmlview (https://gambaswiki.org/wiki/comp/gb.form.htmlview).
Never used it, but it says:If it is just for showing content, that should do.This class provides a lightweight HTML/CSS viewer
All I need is juist showing content of a URL so this would be ok. Looks like it's the same as webview: HtmlView1.URL = "url here"
I added a form to your project and add the component but I'm just getting a white screen. I'm just trying to see a forecast on openweather since they are now charging for using the api.
Posted
Administrator



I have never used it before, so made a little test project.All I need is juist showing content of a URL so this would be ok. Looks like it's the same as webview: HtmlView1.URL = "url here"
I added a form to your project and add the component but I'm just getting a white screen.
The outcome is even worst on my system…
Project attached.
I'll test tomorrow on a vm with Gambas 3.20.3. I can't atm as I've 2 arm VM's running building the new Gambas 3.20.4. binaries.
That will take quite a while and I don't want to open an extra VM when this is ongoing, as this is enough load, 2 arm's running on amd64.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

gbWilly said
I have never used it before, so made a little test project.All I need is juist showing content of a URL so this would be ok. Looks like it's the same as webview: HtmlView1.URL = "url here"
I added a form to your project and add the component but I'm just getting a white screen.
The outcome is even worst on my system…
HtmlViewTest.png
Running Gambas 3.18.4. It seems to have a bug in form.htmlview
Project attached.
I'll test tomorrow on a vm with Gambas 3.20.3. I can't atm as I've 2 arm VM's running building the new Gambas 3.20.4. binaries.
That will take quite a while and I don't want to open an extra VM when this is ongoing, as this is enough load, 2 arm's running on amd64.
Same white screen where the HtmlView is and this is on the iMac which is now 3.20.4. Doesn't even look like the page loads. Tomorrow or in the next few days, I will just wipe the older first gen mac mini and do a fresh install of Debian 12 and then immediately use the opensuse repo to install gambas 3.20.4 and then see what happens with the webview. At this point, I'm really not expecting it to work though.
Posted
Administrator



I think it's a bug. Maybe someone else could give gb.form.htmlview a try on a running Gambas 3.20.4 or master version from OSBrj71 said
Same white screen where the HtmlView is and this is on the iMac which is now 3.20.4.
You can use last posted source archive from a few posts back.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

I can try it on the Dell optiplex tomorrow. I'm done for the day.gbWilly said
I think it's a bug. Maybe someone else could give gb.form.htmlview a try on a running Gambas 3.20.4 or master version from OSBrj71 said
Same white screen where the HtmlView is and this is on the iMac which is now 3.20.4.
You can use last posted source archive from a few posts back.
Posted
Regular

rj71 said
I can try it on the Dell optiplex tomorrow. I'm done for the day.gbWilly said
I think it's a bug. Maybe someone else could give gb.form.htmlview a try on a running Gambas 3.20.4 or master version from OSBrj71 said
Same white screen where the HtmlView is and this is on the iMac which is now 3.20.4.
You can use last posted source archive from a few posts back.
The 4 core i3 Dell Optiplex: white screen for the HtmlView. That Optiplex is running Gambas 3.20.4 from the opensuse repo.
Posted
Administrator



I've tried it in a VM with debian 12 mate and gambas master from 25th of April. Same here, it seems form.htmlview is not doing it's job well.rj71 said
The 4 core i3 Dell Optiplex: white screen for the HtmlView. That Optiplex is running Gambas 3.20.4 from the opensuse repo.
Can anyone check this on another distro maybe?
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

gbWilly said
I've tried it in a VM with debian 12 mate and gambas master from 25th of April. Same here, it seems form.htmlview is not doing it's job well.rj71 said
The 4 core i3 Dell Optiplex: white screen for the HtmlView. That Optiplex is running Gambas 3.20.4 from the opensuse repo.
Can anyone check this on another distro maybe?
One of my old macbooks (2014 ish) Ubuntu 22/Gambas 3.19.5 - white screen where htmlview should be. Htmlview does appear to be broken unless we're using it the wrong way….?
Posted
Regular

Posted
Administrator



What can go wrong?rj71 said
Htmlview does appear to be broken unless we're using it the wrong way….?
gambas wiki htmlview.url
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Administrator



It certainly seems like that.rj71 said
While I have the 2014 macbook on, I tested gtk3 webview. Works fine, no black screen and I can see the web page. It's sure seems to be something about the older Apple's circa 2008 to 2010 ish.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

gbWilly said
What can go wrong?rj71 said
Htmlview does appear to be broken unless we're using it the wrong way….?
Posted
Regular

1 guest and 0 members have just viewed this.






