Emanuel Koczwara | 14 Oct 22:45 2014
Picon

Vimeo

Hi,

   Video from vimeo doesn't work on windows and linux. Qt 5.3.2 from 
git. Any ideas? Should it work?

Thanks,
Emanuel
Andre Barth | 14 Oct 15:46 2014

Qt 5.2.1 / 5.3.2 with JIT_ENABLED=0: Assert / Crash in LLIntData.cpp; Windows 7 x64

Hi all,

I tried building QtWebkit with JIT_ENABLED=0 what enables LLINT.

For Qt 5.2.1 & 5.3.2, I'm running into this assert then

bitwise_cast<uint32_t*>(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42

in \qt\qtwebkit\Source\JavaScriptCore\llint\LLIntData.cpp

Here's the memory layout I'm seeing:

&testVector
0x000000000026e8e8 {m_size=42 }
    WTF::VectorBuffer<int,0>: {...}
    m_size: 42
&testVector.m_size
0x000000000026e8f8 {42}
&testVector.m_capacity
0x000000000026e8f0 {42}

And memory: (0x000000000026E8E8  is &testVector)
0x000000000026E8E8  | 06339100 00000000 0000002a cccccccc 0000002a cccccccc cccccccc

Where the assert reads out [0xcccccccc] at index 3.

Can this assert be "ignored" and/or would I have to define another build setting for LLINT? 

I asked that question on the qt-project already:
http://comments.gmane.org/gmane.comp.lib.qt.user/13631 and it was suggested to log a bug.
(Continue reading)

Emanuel Koczwara | 3 Oct 11:49 2014
Picon

Silverlight

Hi,

   Silverlight doesn't work with Qt 4.8.6 and Qt 5.3.2 on linux (debian) 
and windows (7). It just doesn't work, or can I somehow force it to 
work? The same situation with videos from vimeo.

Thanks,
Emanuel
Allan Sandfeld Jensen | 25 Sep 15:26 2014

QtWebKit 2.3.4 released

Hi all

It has been more than a year since I tagged QtWebKit 2.3.3. I have recently 
tagged 2.3.4 and you can find the tarball graciously hosted by KDE at 
http://download.kde.org/stable/qtwebkit-2.3/2.3.4/src/

As always there are no new features, just bug-fixes and support for newer 
compilers, third party libraries, and more platforms. It can now also link 
build against gstreamer 1.0 instead of 0.10.

Best regards
`Allan Jensen
Jonathan Alley | 11 Sep 23:30 2014

Safe to ignore assert?

Hello everybody,

 

We are repeatedly running into an assert while clicking in a web page shown using QtWebKit, we currently using Qt 4.8.5. After changing the ASSERT macro to not call the CRASH macro to prevent our application from crashing while in debug mode there don’t appear to be any issues but is it safe to ignore this assert?

 

Assert on double click:

ASSERT(prev != *this);
WebCore::VisiblePosition::previous(WebCore::EditingBoundaryCrossingRule rule)  Line 87 + 0x46 bytes                C++

WebCore::positionAvoidingFirstPositionInTable(const WebCore::VisiblePosition & c)  Line 339 + 0xe bytes           C++

WebCore::startPositionForLine(const WebCore::VisiblePosition & c)  Line 384 + 0xd bytes            C++

WebCore::startOfLine(const WebCore::VisiblePosition & c)  Line 389 + 0xd bytes              C++

WebCore::inSameLine(const WebCore::VisiblePosition & a, const WebCore::VisiblePosition & b)  Line 465 + 0x1c bytes  C++

WebCore::VisiblePosition::init(const WebCore::Position & position, WebCore::EAffinity affinity)  Line 59 + 0x4c bytes     C++

WebCore::VisiblePosition::VisiblePosition(const WebCore::Position & pos, WebCore::EAffinity affinity)  Line 50 C++

WebCore::endPositionForLine(const WebCore::VisiblePosition & c)  Line 441 + 0xe bytes              C++

WebCore::endOfLine(const WebCore::VisiblePosition & c)  Line 446 + 0xd bytes                C++

WebCore::isEndOfLine(const WebCore::VisiblePosition & p)  Line 475 + 0x1c bytes           C++

WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(WebCore::TextGranularity granularity)  Line 290 + 0x1c bytes            C++

WebCore::VisibleSelection::validate(WebCore::TextGranularity granularity)  Line 413     C++

WebCore::VisibleSelection::expandUsingGranularity(WebCore::TextGranularity granularity)  Line 191    C++

WebCore::EventHandler::selectClosestWordFromMouseEvent(const WebCore::MouseEventWithHitTestResults & result)  Line 286                C++

WebCore::EventHandler::handleMousePressEventDoubleClick(const WebCore::MouseEventWithHitTestResults & event)  Line 336                C++

WebCore::EventHandler::handleMousePressEvent(const WebCore::MouseEventWithHitTestResults & event)  Line 492 + 0xc bytes             C++

WebCore::EventHandler::handleMousePressEvent(const WebCore::PlatformMouseEvent & mouseEvent)  Line 1465 + 0xf bytes     C++

QWebPagePrivate::mouseDoubleClickEvent<QMouseEvent>(QMouseEvent * ev)  Line 737 + 0x13 bytes             C++

QWebPage::event(QEvent * ev)  Line 3058          C++

QWebView::mouseDoubleClickEvent(QMouseEvent * ev)  Line 1016      C++

 

Assert on clicking on text:

ASSERT(prev != *this);

WebCore::VisiblePosition::previous(WebCore::EditingBoundaryCrossingRule rule)  Line 87 + 0x46 bytes                C++

WebCore::positionAvoidingFirstPositionInTable(const WebCore::VisiblePosition & c)  Line 339 + 0xe bytes           C++

WebCore::startPositionForLine(const WebCore::VisiblePosition & c)  Line 384 + 0xd bytes            C++

WebCore::startOfLine(const WebCore::VisiblePosition & c)  Line 389 + 0xd bytes              C++

WebCore::inSameLine(const WebCore::VisiblePosition & a, const WebCore::VisiblePosition & b)  Line 465 + 0x1c bytes  C++

WebCore::VisiblePosition::init(const WebCore::Position & position, WebCore::EAffinity affinity)  Line 59 + 0x4c bytes     C++

WebCore::VisiblePosition::VisiblePosition(const WebCore::Position & pos, WebCore::EAffinity affinity)  Line 50 C++

WebCore::RenderObject::createVisiblePosition(int offset, WebCore::EAffinity affinity)  Line 2572 + 0x4d bytes  C++

WebCore::RenderText::positionForPoint(const WebCore::IntPoint & point)  Line 544 + 0x1c bytes            C++

WebCore::EventHandler::handleMousePressEventSingleClick(const WebCore::MouseEventWithHitTestResults & event)  Line 391 + 0x38 bytes     C++

WebCore::EventHandler::handleMousePressEvent(const WebCore::MouseEventWithHitTestResults & event)  Line 496 + 0xc bytes             C++

WebCore::EventHandler::handleMousePressEvent(const WebCore::PlatformMouseEvent & mouseEvent)  Line 1465 + 0xf bytes     C++

QWebPagePrivate::mousePressEvent<QMouseEvent>(QMouseEvent * ev)  Line 714 + 0x13 bytes          C++

QWebPage::event(QEvent * ev)  Line 3055          C++

QWebView::mousePressEvent(QMouseEvent * ev)  Line 1005  C++

 

Thanks you any help you can provide,

 

Jonathan

_______________________________________________
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt
Emanuel Koczwara | 11 Sep 05:11 2014
Picon

Need help with optional features

Hi,

   I'm building Qt 5.3 (from git) under windows 7 with msvc2010. I wan 
to enable some addidional features. The problem is: every time I modify 
features.pri (when I enable a feature) I get compilation error.

   I'm trying to solve this couple of days now and it's a little 
frustrating. First, I've enabled many of these features in command line 
(build-webkit perl script parameters) with hope that it will increase 
support for html5. Compilation failed, too long command at some point. 
Then I've found features.pri. So I've enabled many of them there. 
Compilation failed with an error. I've found that error, disabled 
responsible feature, build again. Another error. I've found that error, 
disabled responsible feature, build again. Another error. I've found 
that error, disabled responsible feature, build again... and i'm running 
win 7 on virtual machine, every compilation is about 1 hour (or more). 
At some point I realised that this is hopeless and I've changed my 
strategy. I've returned to default settings and enabled only one 
feature. Compilation failed. I've enabled other feature. Compilation 
failed. Well... Hm...

The question is: why are some features disabled? Are they incomplete? 
Are they only for webkit devs? End user shoudn't modify this file? I'm 
totally lost.

Thanks,
Emanuel
Nancy Feng (defeng | 10 Sep 23:00 2014
Picon

where does the updateEvent being posted

I am using qtwebkit on a embedded device, I am wondering where does the QtEvent "UpdateRequest" (77) are posted.

I have a test webpage which only contains a video tag(media source is valid, no auto play). After load the page, I do not see video starts to play which is expected. But I still see "UpdateRequest" are being handled and trigger repaint.

I have already hard coded "m_player->didLoadingProgress()" to be false, so it does not call RenderVideo::updateFromElement for re-layout. It puzzled me that where does the "UpdateRequest" come from? 

I am new to webkit, so please anyone could explain a little bit? Or point me out to any wiki or part of the code?

Thanks,
Nancy
_______________________________________________
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt
Massimo Callegari | 5 Sep 13:01 2014
Picon

Custom keycodes not accepted

Hi everyone,
I have a problem with QtWebKit 5.3.1 not forwarding custom keycodes to the Javascript layer. Basically the "onkeypress" event is not fired.

I am developing my own IR remote control driver inside the eglfs plugin. I submit the keycodes to the upper layers like this:

QWindowSystemInterface::handleKeyEvent(0, QEvent::KeyPress, keyCode, Qt::NoModifier);
QWindowSystemInterface::handleKeyEvent(0, QEvent::KeyRelease, keyCode, Qt::NoModifier);

As long as I send Qt keycodes (like Qt::Key_0, Qt::Key_Up, etc..) I receive the Javascript event. When I send custom keycodes like 61506, 61507, etc, they get marked as not accepted. I guess by the QWebView class.
In my previous system I was using QtWebKit 2.3.3 + Qt 4.8.6 + DirectFB and it was working fine with the same keycodes.

In my simple browser application I redefined the keyPressEvent method like this:

void MainWindow::keyPressEvent(QKeyEvent *ev)
{
    qDebug() << "key pressed:" << ev->key() << "accepted:" << ev->isAccepted();
    ev->accept();
    m_view->event(ev);
    if (ev->isAccepted())
        qDebug()  << "Event accepted";
    else
        qDebug()  << "Event NOT accepted";
    QWidget::keyPressEvent(ev);
}

m_view is a pointer to QWebView.

I receive all the keycodes and at the beginning of the function the events are still marked as accepted. 
But even if I try to force to accept them, when they enter the QWebView they are always not accepted, thus not forwarded to the Javascript layer.

Is there a particular reason for this or is there a way to workaround it ?

Thanks in advance,
Massimo

_______________________________________________
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt
Murali M | 13 Aug 10:44 2014
Picon

Need suggestion for Memory corruption in dlopen(platform.so) after jailing


On Wed, Aug 13, 2014 at 11:34 AM, Murali M <murali248641 <at> gmail.com> wrote:

Any body tried qt application under jailing circumstance. 

Need suggestions for below issue(I am using qt4.8 for TV platforms).

We are launching the qtApplication in a process. Now process is jailed(using chroot). 

Memory corruption occurred in the time of dlopen(platform.so) after jailing.


Example:

process main() { mount "proc, sys, dev in /var/tt(chroot directory)" chroot("/var/tt"); qtthread_create(); } qtthread_create() { create_thread_for_qt_app using pthread apis(qtMainThread); stack size is 256K; } qtMainThread() { Printing stack size for qtMainThread(current thread) its displayed currently(256K). QApplication class creation(QApplication app). Printing stack size for qtMainThread(current thread) its displayed wrongly(junk value). app.exec(); }


QApplication call trying load the platform.so using dlopen inside qt library. In that case stack size displayed wrongly.



_______________________________________________
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt
Murali M | 13 Aug 08:04 2014
Picon

Benjamin Poulain <benjamin <at> webkit.org>


Any body tried qt application under jailing circumstance. 

Need suggestions for below issue(I am using qt4.8 for TV platforms).

We are launching the qtApplication in a process. Now process is jailed(using chroot). 

Memory corruption occurred in the time of dlopen(platform.so) after jailing.


Example:

process main() { mount "proc, sys, dev in /var/tt(chroot directory)" chroot("/var/tt"); qtthread_create(); } qtthread_create() { create_thread_for_qt_app using pthread apis(qtMainThread); stack size is 256K; } qtMainThread() { Printing stack size for qtMainThread(current thread) its displayed currently(256K). QApplication class creation(QApplication app). Printing stack size for qtMainThread(current thread) its displayed wrongly(junk value). app.exec(); }


QApplication call trying load the platform.so using dlopen inside qt library. In that case stack size displayed wrongly.


_______________________________________________
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt
Max Stepin | 12 Aug 20:10 2014
Picon

APNG support?

Hello QtWebKit.

I'm looking for a WebKit port that would "adopt" my apng support code:
https://bugs.webkit.org/show_bug.cgi?id=17022

The code is under ENABLE(APNG) so to make it into WebKit,
at least one port would need to agree to use it.

Let me know what you think, thanks.


_______________________________________________
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt

Gmane