Page 2 of 3
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Sat Nov 26, 2022 2:52 pm
by mk-soft
Update v1.06.3
- Bugfix: Forgot some 'ProcedureC' for callback
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Thu Jan 05, 2023 11:08 am
by pamen
Hi mk-soft!
this is and excellent replacement, I do have though one issue:
Linux (Ubuntu 20.04) ASM backend.
When loading web pages with active javascript content I get only navigation errors on javascript.void('ProcedureName') - so nothing really works.
Javascript is enabled in this case (if it is not the page would not load, but it does)
How to reproduce:
download simplest version of ckeditor 4
hardcode in WebGadgetExSample to load the index.html from the sample folder.
All loads just fine, buttons are actively colored on change of cursor position, but any click on any function causes javascript navigation error and does not execute.
The same exactly page works in standard PB6 LTS web gadget.
My problem is that you coded great javascript access, which is indispensable to interact with the page, so standard webgadget is not useful, even if it works fine.
Am I just missing some WebkitEx setting?
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Thu Jan 05, 2023 9:32 pm
by mk-soft
Without the html java code I cannot understand what the problem is.
This example works ...
https://www.w3docs.com/snippets/html/ho ... -html.html
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Fri Jan 06, 2023 7:10 am
by pamen
Sample is in
https://seafile.mandalian.net/f/646a774 ... 80ca/?dl=1
Link expires in 2 days.
To see the problem:
change the initial URL (file:///home(...)) on load of the WebGadget to correct directory on your Linux OS.
Run, click on any button in the editor.
Thank you / vielen Dank mk-soft
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Fri Jan 06, 2023 9:55 pm
by mk-soft
I had a look at it.
The WebGadget uses the libwebkit2gtk WebKitWebView.
I haven't found out how to implement a file:/// uri with base_uri. I guess WebGadget doesn't support it at the moment. If I load your folder on my WebServer and then open it in WebGadget, this works.
I don't know how browsers like Firefox do it.
Please post a new request in the Linux forum on how to solve this. Maybe someone knows something.
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Sat May 13, 2023 6:05 am
by skinkairewalker
I tested this link in the webview, as much as the browser supports webgl, the browser bugs on try load this link:
https://soqueto.com/game3/
is there any way to solve it?
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Sat May 13, 2023 10:04 am
by mk-soft
Here it runs under Minz Linux LMDE 5.
Maybe something else needs to be installed:
Developer Libraries For Games
-----------------------------
sudo apt-get install libgl1-mesa-dev libgl1-mesa-glx
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Sat May 13, 2023 8:40 pm
by skinkairewalker
it didn't work... there must be something missing.
when I try to load this link, it is necessary to restart the application because it simply stops loading any pages
*note:I'm using parallels desktop to virtualize ubuntu on MacBook Air M1.
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Sat May 13, 2023 9:44 pm
by mk-soft
I am using Parallels v18 on Mac Mini 2018 (Intel).
Which Ubuntu (Arm) is used ?
On Raspberry it runs but reacts too slow to the keyboard
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Mon May 15, 2023 12:06 am
by skinkairewalker
mk-soft wrote: Sat May 13, 2023 9:44 pm
Which Ubuntu (Arm) is used ?
22.04
Re: WebGadget Extensions (PB v6.00 GTK3)
Posted: Sat Jan 27, 2024 1:45 pm
by mk-soft
Update v1.06.4
- Added WebKit_SetAcceleration(Gadget, Policy)
Since the webkit2 hardware acceleration does not work under Raspberry BookWorm,
you can disable it with the policy #WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER
Re: WebGadget Extensions (PB v6.xx GTK3)
Posted: Wed Jan 31, 2024 9:02 pm
by mk-soft
Update v1.06.6
- Added WebViewGadget
- Optimize Java Result
Now also works with the new WebViewGadget from PB v6.10

Re: WebGadget Extensions (PB v6.xx GTK3)
Posted: Mon Feb 26, 2024 2:22 pm
by skinkairewalker
Is it possible to use a microphone?
screenshot :
https://prnt.sc/TY1bX4vp0Nn3
Re: WebGadget Extensions (PB v6.xx GTK3)
Posted: Mon Feb 26, 2024 8:09 pm
by mk-soft
I have found something, but I have to create the right callback for it first ...
Takes a little time.
Re: WebGadget Extensions (PB v6.xx GTK3)
Posted: Sat Mar 02, 2024 7:41 pm
by mk-soft
Update v1.06.7
- Added Settings Get/SetProperty
- Added SetPermissionCallback
- Update Example
With SetPermissionCallback is now possible to use microphone and more.
See new example
