113 questions
-4
votes
0
answers
39
views
Wrong styles applied to a Tauri App frontend under Archlinux
I'm learning how to develop desktop apps with tauri (v2) and cannot wrap my head around a styling/css problem I have.
I built a custom version of the drawing application Draw.io locally and I embed it ...
1
vote
0
answers
64
views
How can I print webpage to pdf using webkitgtk
I am using webitgtk6
#include <webkit/webkit.h>
Here are printing result functions
static void print_finished(WebKitPrintOperation *operation, gpointer user_data)
{
g_print("Done\n&...
0
votes
0
answers
103
views
Is there a good way to run selenium tests on a Linux machine against a WebKit browser?
I asked this question on SQA a few days ago but got no response. I know this is more open-ended, so I appreciate some leeway.
A majority of our users are on mobile safari, but we run our automation ...
0
votes
1
answer
58
views
webkit_web_view_get_favicon always returns null and notify::favicon never fires
I'm trying two different ways to get the favicon of the current website (which is https://google.com) that's loaded in my webview:
1:
webkit_web_view_get_favicon(webview) where webview is ...
0
votes
1
answer
82
views
Encoding issues within WebKitGtk WebView
I have a C GTK project in which i'm trying to use WebKitGtk. Unfortanatly I have come acrros an issue with one my external JS script, it gives me this error: "SyntaxError: Invalid character '\...
1
vote
1
answer
1k
views
Problematic frame: # C [libwebkit2gtk-4.0.so.37+0xd4f568]
STS-4.21.1 just started crashing when on-hover window is triggered; the crash is at:
# C [libwebkit2gtk-4.0.so.37+0xd4f568]
STS-4.22.0 is also affected:
# C [libwebkit2gtk-4.1.so.0+0xd600d8]
Fault
...
0
votes
0
answers
92
views
How to hide outline around input range in WebKitGTK and WPE WebKit?
I have tested the following code, but it doesn't seem to be effective.
input[type="range"],
::-webkit-slider-runnable-track {
border: none;
outline: none;
}
I am aware that the CSS ...
1
vote
1
answer
144
views
Some WebKit2GTK WebContext functions missing from opensuse webkit2gtk4-devel c-headers
My installed version webkit2gtk4-devel 2.40.0 doesn't have all the functions, which are stated from the WebKitGTK documentation found here.
The currently missing functions, which I have come across ...
0
votes
1
answer
123
views
[C/C++]WebKitGtk get scrollbar position
I'm trying to get the scrollbar position in a WebKitWebView.
I've read enough documentation to know that there's no intuitive way.
It needs to be packaged into one executable, so a WebKitExtension won'...
1
vote
2
answers
875
views
WebKitGtk doesn't load local files
I've tried loading a local html file using webkit_web_view_load_uri() with a file:// URL. However, the webview would display a blank page. To circumvent this, I tried using webkit_web_view_load_html() ...
1
vote
0
answers
257
views
detect when window size changed
I am making a web browser with gtk-rs. I am trying to do a check for fullscreen. I can get the screen size and compare that to the window size, if they are the same it is in fullscreen and I can hide ...
0
votes
1
answer
698
views
Trouble Playing Youtube Videos with libwebkitgtk-4
Whenever I try to browse to a youtube video using the libwebkit2gtk library in Ubuntu 18 LTS, I'm met with a "Your browser can't play this video". I see that other browsers that use this ...
1
vote
0
answers
303
views
WebKit GTK fails to compile on Apple Silicon
I tried to build WebKit GTK on my ARM Mac, but the linking process fails:
Undefined symbols for architecture arm64:
"_u_charDirection_67", referenced from:
WTF::StringImpl::...
0
votes
1
answer
968
views
Incomplete WEBKITGTK build
I am running buildroot on a fedora32 machine.
I enebale the webkitgtk package. Downloading and configuring of the source runs with no errors
However, when during the build process, make throws an ...
2
votes
1
answer
901
views
How to fix refused to display url in a frame because it set x frame options to deny in webkitgtk python
Im building a simple web browser with Python, Gtk, and WebKitGtk. When trying to load youtube, i receive this error message:
console message: about:blank @0: Refused to display 'https://accounts....
1
vote
0
answers
523
views
Cross-Compilling Webkit2gtk from linux to windows
Hello Good morning / afternoon / night,
I have started the development of an Application which needs an WebView, I discovered webkitgtk a while ago and I believe it's the best way to go since It ...
1
vote
0
answers
55
views
WebKitWebFrame not found
I'm working on a web application using WebKitGtk2 and I need to use the “window-object-cleared” signal with WebKitWebFrame. When I compile it I got an error:
main.cc:11:1: error: ‘WebKitFrame’ does ...
1
vote
0
answers
745
views
Debug Webkitgtk on Linux
I build a Webkitgtk by Tools/Scripts/build-webkit --gtk --debug
Is there a way I can debug it in GDB on linux with an HTML file?
I don't know how to run a WebKitWebProcess that opens an HTML file.
...
2
votes
1
answer
977
views
Reduce g++ RAM usage
I haven't really found a solid answer to this question other than "get more ram". Is there a way to reduce the memory used by g++ during the compile process? I am (for reasons) trying to compile ...
1
vote
1
answer
199
views
How to access a JSCValue Object's properties
With the following code:
#include <webkit2/webkit-web-extension>
/* Skipping through a lot of code */
{
JSCValue* result = jsc_context_evalutate(jsCtx, "document.getElementsByTagName('body')",...
2
votes
1
answer
612
views
Returning Native Objects Using Javascriptcore Glib API
I am learning webExtensions and I had written a sample web extension for webkit where I used javascriptcore DOM/C API.. I had referred Binding native objects with JavascriptCore C Api and https://...
0
votes
0
answers
52
views
How do I get the image title attribute for the image under the cursor in WebKit2GTK
This seems like a really dumb question, but I can't figure out what to Google. I want the xkcd hovertext, which is the title attribute of the img tag. WebKitHitTestResult has get_link_uri, ...
0
votes
1
answer
338
views
Getting Seg Fault when I try to dynamically load a custom library (.so) which is compiled with webkit2gtk library
I have created a shared library which has a function displaywebview that launches a GTK window and loads the URL into it using webkit2gtk.
Now I am writing a caller program which loads this library ...
4
votes
2
answers
3k
views
How to install WebkitGTK in MacOS?
brew install webkitgtk
Not finding package, when installing from macports it doesn't finding by gtk-rs when compiling my project on rust with gtk-rs and webkit2gtk-rs
1
vote
1
answer
2k
views
Webkitgtk webview inside a gtk grid layout does not display correctly
I'm attempting to build a really simple browser using gtk+ and webkitgtk. This necessitates what a typical browser would need: a uri bar, a back button, home button, and actual webpage display area. ...