-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State of build of webkit with QT 6.5.3 on both Linux and Windux (MINGW) #35
Comments
Thanks for all your work on this! I can compile the mingw q5 version through mxe without JIT, which is not very usable. Can you push your changes you did to make it compile with JIT enabled? I'm curious how that version will behave. |
No problem, i just badly need webkit myself :) without it moving our apps to Qt6 is impossible. I just push'ed all my changes. please look up in my fork. Branch qt6-gha. Really interested in your build, especially regarding font rendering and freeze on RunLoop. |
Regarding scrolling, that currently doesn't work on QtWebKit on any platform, unfortunately. It's specifically a mousewheel problem, as arrow scrolling works ok. IIRC it was something relating to smooth scrolling? Seemed fixable but a nontrivial amount of work. |
Doesn't work on QNX or Linux with Qt 6.6.1 and latest WebCore either, for what it's worth. |
@mnutt Do you have any links for the scrolling/mousewheel problem? Discussions or bugreports? |
It's a real pain to debug due to the huge libraries - every symbol lookup, every single-step takes forever. So far I can tell that the wheel event is noticed by
|
Hi everybody, It's nice to see that you guys also have interest in this abandonware 😆 Thanks to support from @annulen from qtwebkit repo i managed to fix issue "4)" Now i have to take a few days break from webkit to do other responsibilities at work P.S. Also there is huge new issue found recently (multiplatform): memory leak. |
Unfortunately the WebKit slack channel is limited to 90 days of chat history so I don't have the exact conversation 😢 The gist was that some upstream implementation changed to the point where our wheelEvents aren't even firing scrolling events anymore. IIRC it was maybe something relating to Perhaps attaching a debugger to
|
It gets to the point of starting animated scrolling. (Apologies for the scattered comments, I'm debugging this during short breaks from Real Work (TM)) |
Mouse wheel works if I disable the animation. Tested with a very crude change:
Unless someone wants to dig into the animation code, the solution is likely yo create a delegate that returns false for |
I'm good with disabling the animation for now. 👍 |
Temporary fix:
|
Thank you @elahav for scrolling fix :) will try it some time later. Which of your diffs should i use, both? Some update from me:
Everything is up in my fork if someone needs it! :) |
Only the second. You can pick up this commit: (I have Emacs remove trailing spaces automatically, which may not be ideal when working on shared projects) We should probably converge on a single repository. The only reason I created a fork from WebKit is that I believe that this repo does not trail the upstream main branch. If that's correct, it makes it harder to update, or eventually push the changes upstream. |
Thank you, just added this one to my build, and scrolling is there! :) perfect. Sure, we can collaborate on a single repo, but here you lead the way - i'm not a big expert of git and all that stuff |
So, i made it! Webkit with mingw is kinda-working and semi-usable. This is not an issue report but place for discussion:
Issues present in current builds:
1) Scrolling with mouse wheel does not work on both Linux and Windows (mingw)
will dive in later, probably related to some of my fixes i did incorrectly in platform events.
2) if accelerated rendering is enabled in QtTestBrowser menu - webkit crashes (Linux and Windows)
not really interested in fixing, as i won't use accelerated rendering anyway
3) Some web-pages that use custom fonts (probably) - text is not displayed (windows mingw only problem)
4) Webkit hangs during page loads with single warning message (Windows mingw only):
i pinpointed that it happens in WTF/wtf/qt/RunLoopQt.cpp function void RunLoop::run()
on line "QCoreApplication::exec(); possible workaround is to set mainEventLoopIsRunning = true
so it never does that part:
but this seems to be not "real" fix, as now there is no freeze, pages load all good, but after some time i got SIGSEGV:
5) UPDATE: Huge memory leak discovered (both Linux and Windows)
so yea, that's all resume for now.
The text was updated successfully, but these errors were encountered: