Giter VIP home page Giter VIP logo

Comments (8)

JoergHW avatar JoergHW commented on June 5, 2024

Downloaded wxWidgets-3.2.4 and build locally:
../configure --with-gtk --disable-tests --enable-webview --enable-webviewwebkit --disable-webviewedge --disable-webviewie --without-nanosvg --enable-debug_gdb --enable-debug

from wxwidgets.

vadz avatar vadz commented on June 5, 2024

I don't see the problem running GTK_THEME=Adwaita:dark ./webview in master: the page is visible, but it also still uses the light mode, i.e. black on white text:

image

This might be due to WebViewGtk version difference, I wonder which one does Fedora 39 use?

from wxwidgets.

JoergHW avatar JoergHW commented on June 5, 2024

@vadz Tried it your way, did not change anything. The details about the render backend are slightly covered, sorry. I have installed:
webkit2gtk4.1-2.44.0-2.fc39.x86_64.rpm
webkit2gtk4.1-devel-2.44.0-2.fc39.x86_64.rpm
webkitgtk6.0-2.44.0-2.fc39.x86_64.rpm

image

from wxwidgets.

vadz avatar vadz commented on June 5, 2024

It could be that WebKitGtk 2.44 has implemented support for dark mode missing in my 2.42 and this breaks this somehow... Sorry, I really don't have time to debug this now.

from wxwidgets.

JoergHW avatar JoergHW commented on June 5, 2024

light mode does not work better:
image

Take your time ...

from wxwidgets.

vadz avatar vadz commented on June 5, 2024

This is really unexpected, it really looks like 2.44 broke compatibility in some way.

We probably need to start by looking at their changelog.

from wxwidgets.

paulcor avatar paulcor commented on June 5, 2024

It works fine for me on Fedora 39 with the exact same webkit2gtk4.1-2.44.0-2.fc39.x86_64. Maybe something to do with that "unable to construct a complete frambuffer" message.

from wxwidgets.

JoergHW avatar JoergHW commented on June 5, 2024

Needed to upgrade to F40 for some reason. Tried the compiled example WITHOUT modification and it works now.
18:30:55: Backend: wxWebViewWebKit Version: webkit2 2.44.1
18:30:55: User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
The package names between F39 and F40 do not show a difference in version numbering:
webkit2gtk4.1-2.44.1-1.fc40.x86_64.rpm
webkit2gtk4.1-2.44.1-1.fc39.x86_64.rpm
Could it be some kind of "global" configuration?

from wxwidgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.