GTK - WLX - wlxwebkit_gtk3 #68
Replies: 6 comments
-
|
like most of my plugins, this one doesnt do anything itself. It simply embed webkit widget into the viewer window, and the mht/pdf processing is handled by webkit itself. not sure about the string detection. added mht in a some recent commit, but since there were issues with it - removed it. as for pdf iirc theres a flag to disable it when building webkit itself |
Beta Was this translation helpful? Give feedback.
-
|
In my other post I mentioned now that because GTK3 was not being developed anymore that that would mean that this blank page issue that occurs in this webkit/plugin would not be able to be fixed. I randomly looked this up and found this page, which I believe is the same webkit being used by this plugin The version offered in Debian 13 based repos is something like 2.50.6? I also found this explaination on a different page So the webkit itself is of course still being developed and these new developments are still supported by GTK3 applications. Meaning the webkit itself has not stopped support for it being used within GTK3 based applications (like how GTK2 was). QUESTIONS 2.) j2969719 Again another situation where we are aware of an issue, yet have to try to predict the future. If anyone has any information about this topic, please let me know. |
Beta Was this translation helpful? Give feedback.
-
|
when webkit cant load something, nothing loads and the page remains blank, regardless of where its called from or what type of file is loaded. eg mht.tar.gz seem to load correctly for me. im not a webkit developer etc and wont fix anything even if theres an issue, and not a policy-thing with specific files. all i can do with my birdbrain is try to preconvert it to html and load it instead which is.. |
Beta Was this translation helpful? Give feedback.
-
|
WebKitGTK supports not all MHT/MHTML variants, see some details here. In a few words: this is not a bug, just some file types have been disabled in the WebKitGTK's source code (long ago).
Just use |
Beta Was this translation helpful? Give feedback.
-
|
I just remembered I forgot to try mht.tar.gz examples @Skif-off Link page has changed. Here is a new test if anyone is interested in trying.... I tried saving some Github pages. In DC QT QPP webengine plugin, Github pages look as they do in web browser. When load Github page in this GTK plugin it looks more like an html page but with some minor visual icons here and there. I can't believe this actively developed GTK3 webkit is this incompatible. Does anyone know, did they give a reason why certain variants are not supported? I can't believe this, I was excited about GTK3 version becoming a reality but stuff like this probably means that I am going to have to continue using QT based version. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
wlxwebkit_gtk3I was able to test out this plugin and have some things to share if anyone is interested.
This post will mainly be about viewing
mhtmlfiles.I made a separate post for this plugin regarding its ability to view
pdffiles.ISSUE 1
Some
mhtmlfiles show up as a blank white pane when using the QPP.Another thing that I noticed about this issue that could be a little confusing is that if you should move your cursor to an
mhtmlfile that DOES WORK, and then move your cursor to anmhtmlthat DOES NOT WORK, the previousmhtmlthat was viewed before, remains visible still, so it produces an inaccurate result of themhtmlfilename that is highlight verse what is being shown in the QPP.In other post of mine Skif-off mentioned he noticed a possible cause of this was
mhtmlfiles that contain the following text towards the topContent-Type: text/html= pages that workContent-Type: multipart/related= pages that do not workI was not able to experience the same consistency as he did.
The pages with and without issues seemed to show the same
Content-TypeUnless I am not viewing/understanding this correctly?
ISSUE 2
I mentioned this in my pdf viewer post about this plugin that there is a slight animation/movement that occurs when using UP/DOWN ARROW keys and more noticeable when using PAGEUP/PAGEDOWN keys.
Might occur in the mhtml viewer as well but not as noticeable as it is in the pdf viewer.
Again if there is any known way to turn this off, I would be interested.
POSSIBLE UPDATE 1
If you add the following MIME types to the plugins
Detect String:|(EXT="MHTML")|(EXT="PDF")this allows this plugin to view mhtml and pdf files.
This plugins
readme.mdfile shows the following line at the topThis plugin allows you to view HTML/XHTML files. It is based on webkit2gtk engine.I would maybe would consider replacing this line
with the following two lines
This plugin allows you to view HTML/XHTML/MHTML/PDF files.It is based on webkit2gtk engine.POSSIBLE UPDATE 2
At first this would not compile.
This plugin mentions it requires this dependency
webkit2gtk-4.0My repo only had the following dependency available
webkit2gtk-4.1The terminal compiling error mentioned that this dependency was not found
webkit2gtk-4.0I open this plugins
Makefileand replaced this linelibs :=
pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0with this line
libs :=
pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.1and then was able to complete the compile.
If possible, please update this plugins
Makefileto maybe make it make it more forgiving if possible? So that it is not linked to just one specific version of dependency.Thank you to anyone who reads this
Beta Was this translation helpful? Give feedback.
All reactions